
                             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 ddlmZ  ej                         Z G d	 d
e
j"                        Zy)z*Command to describe External VPN gateways.    )absolute_import)division)unicode_literals)base_classes)external_vpn_gateways_utils)base)flagsc                   .    e Zd ZdZddiZed        Zd Zy)Describea.  Describe a Compute Engine external VPN gateway.

  *{command}* is used to display all data associated with a Compute Engine
  external VPN gateway in a project.

  An external VPN gateway provides the information to Google Cloud
  about your on-premises side or another Cloud provider's VPN gateway.
  EXAMPLESzb          To describe an external VPN gateway, run:

              $ {command} my-external-gatewayc                 2    t         j                  | d       y )Ndescribe)operation_type)_EXTERNAL_VPN_GATEWAY_ARGAddArgument)parsers    5lib/surface/compute/external_vpn_gateways/describe.pyArgszDescribe.Args1   s    ))&)L    c                    t        j                  | j                               }t        j                  |      }t
        j                  ||j                  t        j                  |j                              }|j                  |      S )z7Issues the request to describe an External VPN gateway.)scope_lister)r   ComputeApiHolderReleaseTrackr   ExternalVpnGatewayHelperr   ResolveAsResource	resourcescompute_flagsGetDefaultScopeListerclientr   )selfargsholderhelperrefs        r   RunzDescribe.Run5   sp    **4+<+<+>?F(AA&IF
#
5
5"88G 6 IC ??3r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r%    r   r   r   r      s3     1- M M r   r   N)r)   
__future__r   r   r   googlecloudsdk.api_lib.computer   4googlecloudsdk.api_lib.compute.external_vpn_gatewaysr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer	   r   8googlecloudsdk.command_lib.compute.external_vpn_gatewaysExternalVpnGatewayArgumentr   DescribeCommandr   r,   r   r   <module>r5      sG    1 &  ' 7 \ ( E J =E<<>  t##  r   