
                            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 ddl	m
Z
 ddl	mZ  ej                  ej                  j                  ej                  j                         G d	 d
ej                                Zy)zGCommand to describe an environment in the relevant Apigee organization.    )absolute_import)division)unicode_literals)apigee)base)defaults)resource_argsc                   0    e Zd ZdZdddZed        Zd Zy)Describez*Describe an Apigee deployment environment.zJ  {description}

  `{command}` shows metadata about an Apigee environment.a'    To describe an environment called ``my-env'' for the active Cloud Platform
  project, run:

      $ {command} my-env

  To describe an environment called ``my-env'', in an organization called
  ``my-org'', as a JSON object, run:

      $ {command} my-env --organization=my-org --format=json
  )DESCRIPTIONEXAMPLESc                 ^    t        j                  | dddt        j                         g       y )Nzorganization.environmentziApigee environment to be described. To get a list of available environments, run `{parent_command} list`.T)requiredfallthroughs)r	   AddSingleResourceArgumentr   !GCPProductOrganizationFallthrough)parsers    +lib/surface/apigee/environments/describe.pyArgszDescribe.Args2   s.    ++"	5@@BCE    c                     |j                   j                  j                         j                         }t        j
                  j                  |      S )zRun the list command.)CONCEPTSenvironmentParseAsDictr   EnvironmentsClientr   )selfargsidentifierss      r   RunzDescribe.Run<   s:    --++113::<K$$--k::r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r     r   r   r   r      s1    2=

-( E E;r   r   N)r$   
__future__r   r   r   googlecloudsdk.api_libr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.apigeer   r	   ReleaseTracksReleaseTrackALPHABETADescribeCommandr   r'   r   r   <module>r1      si    N &  ' ) ( 6 ; D%%++T->->-C-CD$;t## $; E$;r   