ó
    €Ï9  ã                   óÈ   • 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S	K	Jr  SS
KJr  SSKJr  \R"                   " S S\R$                  5      5       rg)z>`gcloud domains registrations initiate-push-transfer` command.é    )Úabsolute_import)Údivision)Úunicode_literals)Úregistrations)Úbase)Úflags)Úresource_args)Úutil)Úlog)Ú
console_ioc                   ó.   • \ rS rSrSr\S 5       rS rSrg)ÚInitiatePushTransferé   aœ  Initiates the push transfer process.

Initiates the `Push Transfer` process to transfer the domain to another
registrar. The process might complete instantly or might require confirmation
or additional work. Check the emails sent to the email address of the
registrant. The process is aborted after a timeout if it's not completed.

This method is only supported for domains that have the
`REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties`. The
domain must also be unlocked before it can be transferred to a different
registrar.

## EXAMPLES

To initiate a push transfer for ``example.co.uk'', run:

  $ {command} example.co.uk --tag=NEW_REGISTRY_TAG
c                 óŠ   • [         R                  " U S5        [        R                  " U 5        [        R                  " U 5        g )Nzto transfer)r	   ÚAddRegistrationResourceArgr   ÚAddTagFlagToParserÚAddAsyncFlagToParser)Úparsers    Ú;lib/surface/domains/registrations/initiate_push_transfer.pyÚArgsÚInitiatePushTransfer.Args3   s.   € ä×,Ò,¨V°]ÔCÜ	×Ò˜VÔ$Ü	×Ò˜vÕ&ó    c                 ó&  • [         R                  " U5      n[         R                  " U5      n[        R                  " UR
                  5      Ul        UR                  R
                  R                  5       n[        R                  " SR                  UR                  5      SSS9  UR                  XAR                  5      n[        R                  " X%UR                  5      n[         R"                  " UR%                  5       SUR                  5        U$ )NzEYou are about to start the push transfer process of registration '{}'T)Úthrow_if_unattendedÚcancel_on_noÚregistration)r   ÚGetApiVersionFromArgsÚRegistrationsClientr
   ÚNormalizeResourceNamer   ÚCONCEPTSÚParser   ÚPromptContinueÚformatÚregistrationsIdr   ÚtagÚWaitForOperationÚasync_r   ÚUpdatedResourceÚName)ÚselfÚargsÚapi_versionÚclientÚregistration_refÚresponses         r   ÚRunÚInitiatePushTransfer.Run9   sÒ   € Ü×5Ò5°dÓ;€KÜ×.Ò.¨{Ó;€FÜ×2Ò2°4×3DÑ3DÓE€DÔØ—}‘}×1Ñ1×7Ñ7Ó9Ðä×Òð
ß &¡Ø×-Ñ-ó!/à Øòð ×*Ñ*Ð+;¿X¹XÓF€Hä×$Ò$ [¸D¿K¹KÓH€HÜ×ÒÐ(×-Ñ-Ó/°ÀÇÁÔMØ€Or   © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ústaticmethodr   r0   Ú__static_attributes__r2   r   r   r   r      s    † ñð& ñ'ó ð'õ
r   r   N)r7   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.domainsr   Úgooglecloudsdk.callioper   Ú"googlecloudsdk.command_lib.domainsr   r	   r
   Úgooglecloudsdk.corer   Úgooglecloudsdk.core.consoler   ÚDefaultUniverseOnlyÚUpdateCommandr   r2   r   r   Ú<module>rB      sP   ðñ Eå &Ý Ý 'å 8Ý (Ý 4Ý <Ý 3Ý #Ý 2ð ×Ñô+˜4×-Ñ-ó +ó ñ+r   