
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ej                   G d d	ej                               Zy
)z8Command to pause a currently running transfer operation.    )absolute_import)division)unicode_literals)apis)base)	name_utilc                   0    e Zd ZdZdddZed        Zd Zy)Pausez-Pause a currently running transfer operation.z:      Pause a currently running transfer operation.
      zL      To pause an operation, run:

        $ {command} OPERATION-NAME
      )DESCRIPTIONEXAMPLESc                 *    | j                  dd       y )Nnamez=The name of the paused transfer operation you want to cancel.)help)add_argument)parsers    (lib/surface/transfer/operations/pause.pyArgsz
Pause.Args+   s    
L  N    c                     t        j                  dd      }t        j                  dd      }t        j                  |j
                        }|j                  j                  |j                  |             y )Ntransferv1)r   )	r   GetClientInstanceGetMessagesModuler   add_operation_prefixr   transferOperationsr
   -StoragetransferTransferOperationsPauseRequest)selfargsclientmessagesformatted_names        r   Runz	Pause.Run1   sd    ##J5F%%j$7H33DII>N
##>> 	? 	!"r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r"    r   r   r
   r
      s1    5

- N N
"r   r
   N)r&   
__future__r   r   r   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.transferr   UniverseCompatibleCommandr
   r)   r   r   <module>r0      sA    ? &  ' , ( 9 "DLL " "r   