
                         ,   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"                  ej                  j$                         G d	 d
ej&                               Zy)z,Command for describing a network attachment.    )absolute_import)division)unicode_literals)base_classes)base)scope)flagsc                   2    e Zd ZdZddiZdZed        Zd Zy)Describez5Describes a Google Compute Engine network attachment.EXAMPLESzx          To describe a network attachment, run:

              $ {command} NETWORK_ATTACHMENT_NAME --region=us-central1Nc                 p    t        j                         | _        | j                  j                  |d       y )Ndescribe)operation_type)r	   NetworkAttachmentArgumentARGAddArgument)clsparsers     3lib/surface/compute/network_attachments/describe.pyArgszDescribe.Args*   s)    --/CGGGz:    c                    t        j                  | j                               }|j                  }| j                  j                  ||j                  t        j                  j                        } |j                  j                  di |j                         }|j                  |j                  j                  d|fg      d   S )N)default_scopeGetr    )r   ComputeApiHolderReleaseTrackclientr   ResolveAsResource	resourcescompute_scope	ScopeEnumREGIONmessages#ComputeNetworkAttachmentsGetRequestAsDictMakeRequestsapitools_clientnetworkAttachments)selfargsholderr   network_attachment_refrequests         r   RunzDescribe.Run/   s    **4+<+<+>?F]]F!XX77fm.E.E.L.L 8 NAfooAA +
 
'
'
)+G !7!7!J!J!&!1  2 3346 6r   )	__name__
__module____qualname____doc__detailed_helpr   classmethodr   r/   r   r   r   r   r      s7     >  J- 	#; ;
6r   r   N)r3   
__future__r   r   r   googlecloudsdk.api_lib.computer   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer   r!   6googlecloudsdk.command_lib.compute.network_attachmentsr	   ReleaseTracksr   ALPHABETAGADescribeCommandr   r   r   r   <module>r@      sx    3 &  ' 7 ( E H T..33T5F5F5I5I6t## 66r   