
    6	                         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
S.r\R                  " \R                  R                   5       " S S\R"                  5      5       rg)z3Command to delete the specified channel connection.    )absolute_import)division)unicode_literals)channel_connections)base)flags)
console_ioz{description}z        To delete the channel connection ``my-channel-connection'' in location ``us-central1'', run:

          $ {command} my-channel-connection --location=us-central1
        )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)Delete&   z&Delete an Eventarc channel connection.c                 p    [         R                  " US5        [        R                  R	                  U5        g )NzChannel connection to delete.)r   AddChannelConnectionResourceArgr   
ASYNC_FLAGAddToParser)clsparsers     2lib/surface/eventarc/channel_connections/delete.pyArgsDelete.Args,   s(    	))&*IKOO'    c                    [         R                  " 5       nUR                  R                  R	                  5       nUR                  5       R                  5       n[        R                  " SR                  UR                  5       US9SSS9  UR                  U5      nUR                  (       a  U$ UR                  USU5      $ )NzSThe following channel connection will be deleted.
[{name}] in location [{location}])namelocationT)messagethrow_if_unattendedcancel_on_noDeleting)r   ChannelConnectionClientV1CONCEPTSchannel_connectionParseParentNamer	   PromptContinueformatr   async_WaitFor)selfargsclientchannel_connection_reflocation_name	operations         r   Run
Delete.Run2   s     ::<F!]]==CCE*11388:M55;V0557+ 6< 6- ! 45I{{>>)Z1GHHr    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpclassmethodr   r0   __static_attributes__r2   r   r   r   r   &   s"    . -( (
Ir   r   N)r7   
__future__r   r   r   googlecloudsdk.api_lib.eventarcr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.eventarcr   googlecloudsdk.core.consoler	   r8   ReleaseTracksReleaseTrackGADeleteCommandr   r2   r   r   <module>rE      sk    : &  ' ? ( 5 2 				 D%%(()IT I *Ir   