
    
                         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  \R                  " S
SSS9\R                   " S S\R                   5      5       5       rg)z?`gcloud domains registrations get-transfer-parameters` command.    )absolute_import)division)unicode_literals)registrations)base)resource_args)util)logTzhThis command is deprecated. See https://cloud.google.com/domains/docs/deprecations/feature-deprecations.zkThis command has been removed. See https://cloud.google.com/domains/docs/deprecations/feature-deprecations.)
is_removedwarningerrorc                   .    \ rS rSrSr\S 5       rS rSrg)GetTransferParameters   aZ  Get transfer parameters of a specific domain.

Get parameters needed to transfer an existing domain from a different
registrar. The parameters include the current registrar, name servers,
transfer lock state, price, and supported privacy modes.

## EXAMPLES

To check if ``example.com'' is available for transfer, run:

  $ {command} example.com
c                 x    [         R                  " U 5        [        R                  " SSS9R	                  U 5        g )Ndomainz&Domain to get transfer parameters for.)help)r   AddLocationResourceArgr   ArgumentAddToParser)parsers    <lib/surface/domains/registrations/get_transfer_parameters.pyArgsGetTransferParameters.Args6   s.    ((0MM5 k&    c                    [         R                  " U5      n[         R                  " U5      nUR                  R                  R                  5       n[        R                  " UR                  5      nXQR                  :w  a9  [        R                  R                  SR                  UR                  U5      5        UR                  XE5      $ )z(Run the get transfer parameters command.z8Domain name '{}' has been normalized to equivalent '{}'.)r   GetApiVersionFromArgsRegistrationsClientCONCEPTSlocationParser	   NormalizeDomainNamer   r
   statusPrintformatRetrieveTransferParameters)selfargsapi_versionclientlocation_refr   s         r   RunGetTransferParameters.Run>   s    55d;K..{;F==))//1L%%dkk2F	jj
H
O
Okk6#$ ,,\BBr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r,   __static_attributes__r.   r   r   r   r      s!      Cr   r   N)r3   
__future__r   r   r   googlecloudsdk.api_lib.domainsr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.domainsr   r	   googlecloudsdk.corer
   	DeprecateDefaultUniverseOnlyDescribeCommandr   r.   r   r   <module>r>      so    F &  ' 8 ( < 3 # 	T	T
 $CD00 $C 
$Cr   