
                         0   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	r\R                  " \R                  R                   \R                  R"                  \R                  R$                  5       " S
 S\R&                  5      5       rg)z-Command to wait for an operation to complete.    )absolute_import)division)unicode_literals)
operations)base)parser_arguments)flagszs
To wait for an operation in location ``us-west1'' to complete, run:

$ {command} OPERATION_ID --location=us-west1
c                   R    \ rS rSrSrS\0r\S\R                  4S j5       r
S rSrg)	Wait!   z!Poll an operation for completion.EXAMPLESparserc                 2    [         R                  " U S5        g)z!Registers flags for this command.zto wait for completionN)vmware_flagsAddOperationResourceArg)r   s    /lib/surface/container/vmware/operations/wait.pyArgs	Wait.Args(   s     ((1IJ    c                     [         R                  " 5       nUR                  R                  R	                  5       nUR                  US9$ )zRuns the wait command.)operation_ref)r   OperationsClientCONCEPTSoperation_idParser   )selfargsoperation_clientr   s       r   RunWait.Run-   s=    !224MM..446M  } ==r    N)__name__
__module____qualname____firstlineno____doc__	_EXAMPLESdetailed_helpstaticmethodr   ArgumentInterceptorr   r   __static_attributes__r!   r   r   r   r   !   s9     *y)-K#77 K K>r   r   N)r&   
__future__r   r   r   *googlecloudsdk.api_lib.container.gkeonpremr   googlecloudsdk.callioper   r   +googlecloudsdk.command_lib.container.vmwarer	   r   r'   ReleaseTracksReleaseTrackALPHABETAGACommandr   r!   r   r   <module>r6      s{    4 &  ' A ( 4 M	 T..33T5F5F5I5I>4<< >>r   