
                         ^   S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SSKJ	r	  SSK
Jr  S	S
S.r\	R                  \	R                  " \	R                  R                   \	R                  R"                  \	R                  R$                  5       " S S\	R&                  5      5       5       r\\l        g)z*Delete endpoint group association command.    )absolute_import)division)unicode_literalsN)api)base) endpoint_group_association_flagsz
          Delete an intercept endpoint group association. Check the progress of deletion
          by using `gcloud network-security intercept-endpoint-group-associations list`.

          For more examples, refer to the EXAMPLES section below.

        aQ  
            To delete an intercept endpoint group association called `my-association`, in project ID `my-project`, run:

            $ {command} my-association --project=my-project --location=global

            OR

            $ {command} projects/my-project/locations/global/interceptEndpointGroupAssociations/my-association

        )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Delete0   z/Delete an Intercept Endpoint Group Association.c                     [         R                  " U R                  5       U5        [         R                  " US5        [        R
                  R                  U5        [        R
                  R                  US5        g )N20mT)r   #AddEndpointGroupAssociationResourceReleaseTrack
AddMaxWaitr   
ASYNC_FLAGAddToParser
SetDefault)clsparsers     Llib/surface/network_security/intercept_endpoint_group_associations/delete.pyArgsDelete.Args7   s[    $HHF %// 	OO'OOvt,    c                    [         R                  " U R                  5       5      nUR                  R                  R                  5       nUR                  n[        R                  " UR                  S9nUR                  UR                  5       S9nU(       a  UR                  S5      (       d  SUl        U$ UR                  UR                  U5      SR                  UR                  5       5      SUS9$ )N)seconds)nameformatdefaultzCwaiting for intercept endpoint group association [{}] to be deletedF)operation_refmessage
has_resultmax_wait)r   Clientr   CONCEPTS$intercept_endpoint_group_associationParseasync_datetime	timedeltar$   DeleteEndpointGroupAssociationRelativeNameIsSpecifiedr   WaitForOperationGetOperationRef)selfargsclientassociationis_asyncr$   	operations          r   Run
Delete.RunB   s    ZZ))+,F--DDJJLK{{H!!$--8H55%%' 6 I  h''"",,Y7vk6689 #  r    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r7   __static_attributes__r9   r   r   r   r   0   s    
 8- -r   r   )r>   
__future__r   r   r   r*   Mgooglecloudsdk.api_lib.network_security.intercept_endpoint_group_associationsr   googlecloudsdk.callioper   5googlecloudsdk.command_lib.network_security.interceptr   DETAILED_HELPDefaultUniverseOnlyReleaseTracksr   ALPHABETAGADeleteCommandr   detailed_helpr9   r   r   <module>rM      s    1 &  '  ] ( b	* T..33T5F5F5I5I(T ( (V % r   