ó
    €ÏŸ  ã                   ó¤   • 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  \	R                   " S	 S
\	R                  5      5       rg)z)Command to wait for operation completion.é    )Úabsolute_import)Údivision)Úunicode_literals)Ú
operations)Úregistrations)Úbase)Úresource_argsc                   ó.   • \ rS rSrSr\S 5       rS rSrg)ÚWaité   zÂWait for asynchronous operation to complete.

Wait for a specified Cloud Domains operation to complete.

## EXAMPLES

To wait for an operation ``operation-id'', run:

  $ {command} operation-id
c                 ó2   • [         R                  " U S5        g )Nzto wait for)r	   ÚAddOperationResourceArg)Úparsers    Ú4lib/surface/domains/registrations/operations/wait.pyÚArgsÚ	Wait.Args(   s   € ä×)Ò)¨&°-Õ@ó    c                 ó  • [         R                  " U5      n[        R                  R	                  U5      nUR
                  R                  R                  5       nUR                  USR                  UR                  5       5      5      $ )NzWaiting for '{}' to complete)r   ÚGetApiVersionFromArgsr   ÚClientÚFromApiVersionÚCONCEPTSÚ	operationÚParseÚWaitForOperationÚformatÚName)ÚselfÚargsÚapi_versionÚclientÚoperation_refs        r   ÚRunÚWait.Run,   so   € Ü×5Ò5°dÓ;€KÜ×Ñ×-Ñ-¨kÓ:€FØ—M‘M×+Ñ+×1Ñ1Ó3€MØ×"Ñ"ØØ(×/Ñ/°×0BÑ0BÓ0DÓEóGð Gr   © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ústaticmethodr   r#   Ú__static_attributes__r%   r   r   r   r      s#   † ñ	ð ñAó ðAõGr   r   N)r*   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.domainsr   r   Úgooglecloudsdk.callioper   Ú"googlecloudsdk.command_lib.domainsr	   ÚDefaultUniverseOnlyÚSilentCommandr   r%   r   r   Ú<module>r3      sI   ðñ 0å &Ý Ý 'å 5Ý 8Ý (Ý <ð ×ÑôGˆ4×Ñó Gó ñGr   