File: //lib/google-cloud-sdk/lib/surface/apigee/environments/__pycache__/describe.cpython-312.pyc
�
��� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddl mZ ej ej j ej j � G d � d
ej � � Zy)zGCommand to describe an environment in the relevant Apigee organization.� )�absolute_import)�division)�unicode_literals)�apigee)�base)�defaults)�
resource_argsc �0 � e Zd ZdZddd�Zed� � Zd� Zy)�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 | dddt j � g�� y )Nzorganization.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 )zRun the list command.)�CONCEPTS�environment�Parse�AsDictr �EnvironmentsClientr )�self�args�identifierss r �RunzDescribe.Run<