
                         l    S r SSKJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      rg)z3Supporting libraries for the config-helper command.    )configc                       \ rS rSrSrS rSrg)ConfigHelperResult   a  The result of the gcloud config config-helper command that gets serialzied.

Attributes:
  credential: Credential, The OAuth2 credential information.
  configuration: Configuration, Local Cloud SDK configuration information.
  sentinels: Sentinels, Paths to various sentinel files.
c                     [        U5      U l        [        X#5      U l        [	        [
        R                  " 5       R                  5      U l        g N)	
Credential
credentialConfigurationconfiguration	Sentinelsr   Pathsconfig_sentinel_file	sentinels)selfr
   active_configuration
propertiess       6lib/googlecloudsdk/command_lib/config/config_helper.py__init__ConfigHelperResult.__init__   s4     ,DO&';HDv||~BBCDN    )r   r
   r   N__name__
__module____qualname____firstlineno____doc__r   __static_attributes__ r   r   r   r      s    Dr   r   c                   "    \ rS rSrSrSrS rSrg)r	   %   zHolder for credential data.

Attributes:
  access_token: str, The current OAuth2 access token.
  token_expiry: str, The expiry time in UTC as an RFC3339 formatted string.
  id_token: str, The current OAuth2 identity token, if present.
z%Y-%m-%dT%H:%M:%SZc                    UR                   U l        [        USS 5      nU(       a  UR                  [        R
                  5      OS U l        [        USS 5      nU(       a  UR                  SS 5      nO[        USS 5      nX@l        g )Nexpirytoken_responseid_tokenid_tokenb64)	tokenaccess_tokengetattrstrftimer	   _EXPIRY_FORMATtoken_expirygetr%   )r   credr#   r$   r%   s        r   r   Credential.__init__/   su    

DT8T*F 7=
112$ 	 T#3T:N##J5h}d3hMr   )r(   r%   r,   N)r   r   r   r   r   r+   r   r   r   r   r   r	   r	   %   s     (.r   r	   c                       \ rS rSrSrS rSrg)r   C   zHolder for configuration data.

Attributes:
  active_configuration: str, The name of the active configuration.
  properties: {str: {str: str}}, A dict of section names to properties and
    values.
c                     Xl         X l        g r   r   r   )r   r   r   s      r   r   Configuration.__init__L   s     4 Or   r3   Nr   r   r   r   r   r   C   s    !r   r   c                       \ rS rSrSrS rSrg)r   Q   zHolder for sentinel file locations.

Attributes:
  config_sentinel: str, The path to the sentinel that indicates changes were
    made to properties or the active configuration.
c                     Xl         g r   config_sentinel)r   r9   s     r   r   Sentinels.__init__Y   s    *r   r8   Nr   r   r   r   r   r   Q   s    +r   r   N)r   googlecloudsdk.corer   objectr   r	   r   r   r   r   r   <module>r=      sA     : 'D D <!F !	+ 	+r   