
                         ~    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r
 " S	 S
\	R                  5      rg)z+service-management operations wait command.    )absolute_import)division)unicode_literals)peering)services_util)basezThe name of operation to waitc                   .    \ rS rSrSr\S 5       rS rSrg)Wait   zWaits for an operation to complete  for a given operation name.

This command will block until an operation has been marked as complete.

## EXAMPLES
To wait on an operation named `operations/abc`
to complete, run:

  $ {command} --name=operations/abc
c                 0    U R                  SSS[        S9  g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go
      on the command line after this command. Positional arguments are
      allowed.
z--nameOPERATION_NAMET)metavarrequiredhelpN)add_argument
_NAME_HELP)parsers    4lib/surface/services/vpc_peerings/operations/wait.pyArgs	Wait.Args)   s"     *T
  L    c                     [         R                  " UR                  [        R                  5      n[         R
                  " U5        g)zRun 'services operations wait'.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
      with.

Returns:
  Nothing.
N)r   WaitOperationnamer   GetOperationPrintOperation)selfargsops      r   RunWait.Run5   s.     
	$	$TYY0D0D	EB  $r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r    __static_attributes__r"   r   r   r
   r
      s"    	 	L 	L%r   r
   N)r'   
__future__r   r   r   googlecloudsdk.api_lib.servicesr   r   googlecloudsdk.callioper   r   Commandr
   r"   r   r   <module>r.      s1    2 &  ' 3 9 (,
$%4<< $%r   