
                             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	d
Z ej                  ej                  j                         G d dej                               Zy)z.'vmware private-connections describe' command.    )absolute_import)division)unicode_literals)PrivateConnectionsClient)base)flagsz
          Describe a Private Connection by its resource name. It contains details of the private connection, such as service_network, vmware_engine_network, routing_mode and state.
        a  
          To get the information about a private connection resource called `my-private-connection` in project `my-project` and region `us-west1`, run:

            $ {command} my-private-connection --location=us-west1 --project=my-project

          Or:

            $ {command} my-private-connection

          In the second example, the project and location are taken from gcloud properties core/project and compute/region, respectively.
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)Describez+Describe a Google Cloud Private Connection.c                 2    t        j                  | d       y)z Register flags for this command.T)
positionalN)r   AddPrivateConnectionToParser)parsers    2lib/surface/vmware/private_connections/describe.pyArgszDescribe.Args3   s     
&&v$?    c                     |j                   j                  j                         }t               }|j	                  |      S )N)CONCEPTSprivate_connectionParser   Get)selfargsr   clients       r   RunzDescribe.Run8   s3    99??A%'F::())r   N)	__name__
__module____qualname____doc__DETAILED_HELPdetailed_helpstaticmethodr   r    r   r   r   r   -   s#    3-@ @*r   r   N)r    
__future__r   r   r   0googlecloudsdk.api_lib.vmware.privateconnectionsr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.vmwarer   r!   ReleaseTracksReleaseTrackGADescribeCommandr   r$   r   r   <module>r-      sg    5 &  ' U ( 3	
	( D%%(()*t## * **r   