Ë
    €ÏŸ  ã                   ó¤   — 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	 ddl
mZ e	j                   G d	„ d
e	j                  «      «       Zy)z)Command to wait for operation completion.é    )Úabsolute_import)Údivision)Úunicode_literals)Ú
operations)Úregistrations)Úbase)Úresource_argsc                   ó&   — e Zd ZdZed„ «       Zd„ Zy)ÚWaitzÌ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                 ó0   — t        j                  | d«       y )Nzto wait for)r	   ÚAddOperationResourceArg)Úparsers    ú4lib/surface/domains/registrations/operations/wait.pyÚArgsz	Wait.Args(   s   € ä×)Ñ)¨&°-Õ@ó    c                 ó  — t        j                  |«      }t        j                  j	                  |«      }|j
                  j                  j                  «       }|j                  |dj                  |j                  «       «      «      S )NzWaiting for '{}' to complete)r   ÚGetApiVersionFromArgsr   ÚClientÚFromApiVersionÚCONCEPTSÚ	operationÚParseÚWaitForOperationÚformatÚName)ÚselfÚargsÚapi_versionÚclientÚoperation_refs        r   ÚRunz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__Ú__doc__Ústaticmethodr   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>r.      sI   ðñ 0å &Ý Ý 'å 5Ý 8Ý (Ý <ð ×ÑôGˆ4×Ñó Gó ñGr   