
                             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
  \R                  " \R                  R                  5      \R                   " S S	\R                  5      5       5       rg
)z(Command to cancel an insights operation.    )absolute_import)division)unicode_literals)insights_api)base)logc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Cancel   zCancel an insights operation.z      Cancel an insights operation. Since operations are asynchronous, this
      request is best effort and may fail in cases such as when the operation
      is already complete.
      z      To cancel the operation "12345" in "us-central1" for the project
      "my-project", run:

        $ {command} projects/my-project/locations/us-central1/operations/12345
      )DESCRIPTIONEXAMPLESc                 $    U R                  SSS9  g )Noperation_namez_The operation name in the format "projects/PROJECT/locations/LOCATION/operations/OPERATION_ID".)help)add_argument)parsers    1lib/surface/storage/insights/operations/cancel.pyArgsCancel.Args-   s    
N      c                     [         R                  " 5       R                  UR                  5        [        R
                  R                  SR                  UR                  5      5        g )NzSent cancel request for {})r   InsightsApicancel_operationr   r   statusPrintformat)selfargss     r   Run
Cancel.Run7   sC    //0C0CDJJ1889L9LMNr    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r   __static_attributes__r!   r   r   r
   r
      s2     &


-  Or   r
   N)r&   
__future__r   r   r   googlecloudsdk.api_lib.storager   googlecloudsdk.callioper   googlecloudsdk.corer   ReleaseTracksReleaseTrackALPHADefaultUniverseOnlyCommandr
   r!   r   r   <module>r3      sc    / &  ' 7 ( # D%%++,OT\\ O  -Or   