
    }                     2   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	  \R                  " \R                  R                  \R                  R                  \R                  R                  5      \R                   " S S\R                   5      5       5       rg	)
z/`gcloud api-gateway operations cancel` command.    )
operations)base)operations_util)resource_args)
console_ioc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Cancel   z%Cancel a Cloud API Gateway operation.z{description}a9            To cancel a Cloud API Gateway operation named ``NAME'' in the ``us-central1''
          region, run:

            $ {command} NAME --location=us-central1

          To cancel a Cloud API Gateway operation with a resource name of ``RESOURCE'',
          run:

            $ {command} RESOURCE

          )DESCRIPTIONEXAMPLESc                 2    [         R                  " U S5        g )Ncancel)r   AddOperationResourceArgs)parsers    ,lib/surface/api_gateway/operations/cancel.pyArgsCancel.Args2   s    **68<    c                 ,   [         R                  " 5       nUR                  R                  R	                  5       n[
        R                  " SR                  UR                  5       5      SSS9  UR                  U5        [        R                  " US5        g )Nz%The operation [{}] will be cancelled.T)messagethrow_if_unattendedcancel_on_noz Operation cancellation requested)r   OperationsClientCONCEPTS	operationParser   PromptContinueformatRelativeNamer	   r   $PrintOperationResultWithWaitEpilogue)selfargsclientoperation_refs       r   Run
Cancel.Run6   sx    ((*FMM++113M7>>&&(* 	 MM- 88*,r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r%   __static_attributes__r'   r   r   r	   r	      s1     . 	-$ = =,r   r	   N)r,   "googlecloudsdk.api_lib.api_gatewayr   googlecloudsdk.callioper   &googlecloudsdk.command_lib.api_gatewayr   r   googlecloudsdk.core.consoler   ReleaseTracksReleaseTrackALPHABETAGADefaultUniverseOnlyCommandr	   r'   r   r   <module>r;      s~     6 : ( B @ 2 D%%++T->->-C-C%%((*',T\\ ', *',r   