
    &                     n    d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ  G d dej                        Z	y	)
z:Wraps a k8s Secret message, making fields more convenient.    )absolute_import)division)print_function)unicode_literals)
k8s_objectc                   8    e Zd ZdZdZd Zed        Zed        Zy)SecretzA kubernetes Secret resource.Nc                     t        j                  | j                  j                  j                  | j
                  j                  j                  j                  dd      S Nkeyvalue)	key_fieldvalue_field)	r   KeyValueListAsDictionaryWrapper_m
stringDataadditionalProperties	_messagesr	   StringDataValueAdditionalPropertyselfs    (lib/googlecloudsdk/api_lib/run/secret.pystring_datazSecret.string_data   sG    55//--@@	     c                     t        j                  | j                  j                  j                  | j
                  j                  j                  j                  dd      S r   )	r   r   r   datar   r   r	   	DataValuer   r   s    r   r   zSecret.data(   sE    55))''::	 r   )	__name__
__module____qualname____doc__API_CATEGORYKINDpropertyr   r    r   r   r	   r	      s5    %,	$   r   r	   N)
r"   
__future__r   r   r   r   googlecloudsdk.api_lib.runr   KubernetesObjectr	   r&   r   r   <module>r*      s,    A &  % ' 1Z(( r   