
                         r    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r
 " S S	\R                  5      rg
)z9Command to wait for a long-running operation to complete.    )client)base)parser_arguments)parser_extensions)flagszn
To wait for an operation in location `us-west1` to complete, run:

$ {command} OPERATION --location=us-west1
c                   n    \ rS rSrSrS\0r\S\R                  4S j5       r
S\R                  4S jrSrg	)
Wait   z-Poll a long-running operation for completion.EXAMPLESparserc                 P    [         R                  " U 5      nUR                  5         g)z!Registers flags for this command.N)fleet_flags
FleetFlagsAddOperationResourceArg)r   r   s     .lib/surface/container/fleet/operations/wait.pyArgs	Wait.Args$   s      ""6*E	!!#    argsc                     [         R                  " XR                  5       S9n[        R                  " U R                  5       S9nUR                  UR                  5       S9$ )zRuns the wait command.)release_track)operation_ref)r   FleetFlagParserReleaseTrackr   OperationClientr	   OperationRef)selfr   flag_parseroperation_clients       r   RunWait.Run*   s\    ----/K --'')   {/G/G/I JJr    N)__name__
__module____qualname____firstlineno____doc__	_EXAMPLESdetailed_helpstaticmethodr   ArgumentInterceptorr   r   	Namespacer    __static_attributes__r"   r   r   r	   r	      sD    5y)-$#77 $ $
	K'11 	Kr   r	   N)r'   &googlecloudsdk.api_lib.container.fleetr   googlecloudsdk.callioper   r   r   *googlecloudsdk.command_lib.container.fleetr   r   r(   Commandr	   r"   r   r   <module>r2      s5    @ : ( 4 5 K	K4<< Kr   