
    -	                     8   S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJ	r	  SSK
Jr  SS	KJr  \	R                  " \	R                   R"                  \	R                   R$                  \	R                   R&                  5       " S
 S\	R(                  5      5       rg)z)Command for deleting network attachments.    )absolute_import)division)unicode_literals)base_classes)utils)base)scope)flagsc                   :    \ rS rSrSrSS0rSr\S 5       rS r	Sr
g)	Delete   z=Delete one or more Google Compute Engine network attachments.EXAMPLESzv          To delete a network attachment, run:

              $ {command} NETWORK_ATTACHMENT_NAME --region=us-central1Nc                     [         R                  " SSS9U l        U R                  R                  USS9  UR                  R                  [         R                  5        g )NT)requiredpluraldelete)operation_type)r
   NetworkAttachmentArgumentARGAddArgumentdisplay_infoAddCacheUpdaterNetworkAttachmentsCompleter)clsparsers     1lib/surface/compute/network_attachments/delete.pyArgsDelete.Args+   sG    --tDICGGGx8
''(I(IJ    c                    [         R                  " U R                  5       5      nUR                  nU R                  R                  XR                  [        R                  R                  S9n[        R                  " U5        / nU HS  nUR                  UR                  R                  SUR                  R                   " S0 UR#                  5       D645        MU     UR%                  U5      $ )N)default_scoper    )r   ComputeApiHolderReleaseTrackclientr   ResolveAsResource	resourcescompute_scope	ScopeEnumREGIONr   PromptForDeletionappendapitools_clientnetworkAttachmentsmessages&ComputeNetworkAttachmentsDeleteRequestAsDictMakeRequests)selfargsholderr%   network_attachment_refsrequestsnetwork_attachment_refs          r   Run
Delete.Run1   s    **4+<+<+>?F]]F"hh88m.E.E.L.L 9 N	34H"9oov--@@(MM >3::<>? @ #:
 x((r   r"   )__name__
__module____qualname____firstlineno____doc__detailed_helpr   classmethodr   r9   __static_attributes__r"   r   r   r   r      s:     F  J- 	#K K
)r   r   N)r?   
__future__r   r   r   googlecloudsdk.api_lib.computer   r   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer	   r(   6googlecloudsdk.command_lib.compute.network_attachmentsr
   ReleaseTracksr$   ALPHABETAGADeleteCommandr   r"   r   r   <module>rM      sy    0 &  ' 7 0 ( E H T..33T5F5F5I5I )T  ) )r   