
    b                         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
  G d d	ej                        Zy
)z+Command for describing target vpn gateways.    )absolute_import)division)unicode_literals)base_classes)base)flagsc                   *    e Zd ZdZdZed        Zd Zy)DescribezDescribe a Compute Engine Cloud VPN Classic Target VPN Gateway.

  *{command}* displays all data associated with a Compute Engine
  Cloud VPN Target VPN Gateway in a project.
  Nc                     t        j                         t        _        t        j                  j	                  | d       y)z&Adds arguments to the supplied parser.describe)operation_typeN)r   TargetVpnGatewayArgumentr
   TARGET_VPN_GATEWAY_ARGAddArgument)parsers    3lib/surface/compute/target_vpn_gateways/describe.pyArgszDescribe.Args$   s3     ',&D&D&FH###//z 0 +    c                    t        j                  | j                               }|j                  }| j                  j                  ||j                  t        j                  |            } |j                  j                  di |j                         }|j                  |j                  j                  d|fg      d   S )zAIssues the request necessary for describing a target VPN gateway.)scope_listerGetr    )r   ComputeApiHolderReleaseTrackclientr   ResolveAsResource	resourcescompute_flagsGetDefaultScopeListermessages"ComputeTargetVpnGatewaysGetRequestAsDictMakeRequestsapitools_clienttargetVpnGateways)selfargsholderr   target_vpn_gateway_refrequests         r   RunzDescribe.Run+   s    **4+<+<+>?F]]F!88JJ"88@ K B
 Afoo@@ +
 
'
'
)+G !7!7!I!I!&!1  2 3346 6r   )__name__
__module____qualname____doc__r   staticmethodr   r+   r   r   r   r
   r
      s&      + +6r   r
   N)r/   
__future__r   r   r   googlecloudsdk.api_lib.computer   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer   r   6googlecloudsdk.command_lib.compute.target_vpn_gatewaysDescribeCommandr
   r   r   r   <module>r7      s1    2 &  ' 7 ( E H6t## 6r   