
                         V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z0Generated client library for domains version v1.    )absolute_import)base_api)domains_v1_messagesc                     ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     SU 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      rSrU =r$ )	DomainsV1
   z8Generated client library for service domains version v1.zhttps://domains.googleapis.com/z$https://domains.mtls.googleapis.com/domainsz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                   > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        g)zCreate a new domains handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__"ProjectsLocationsOperationsServiceprojects_locations_operations%ProjectsLocationsRegistrationsService projects_locations_registrationsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Ilib/googlecloudsdk/generated_clients/apis/domains/v1/domains_v1_client.pyr   DomainsV1.__init__   s     
C	)T#'%)3 7+ $ - *.)P)PQU)VD&,0,V,VW[,\D)";;DAD((.DM    c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ ),DomainsV1.ProjectsLocationsOperationsService/   z=Service class for the projects_locations_operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr#   clientr%   s     r&   r   5DomainsV1.ProjectsLocationsOperationsService.__init__4   s"    I88$HPdr(   c                 D    U R                  S5      nU R                  X1US9$ )ac  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Args:
  request: (DomainsProjectsLocationsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Getglobal_paramsGetMethodConfig
_RunMethodr#   requestr5   configs       r&   r3   0DomainsV1.ProjectsLocationsOperationsService.Get9   /     ##E*f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}GETz)domains.projects.locations.operations.getname
v1/{+name} ,DomainsProjectsLocationsOperationsGetRequest	OperationF	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r(   r&   <lambda>5DomainsV1.ProjectsLocationsOperationsService.<lambda>F   s4     6 6^=xH"H&!r(   c                 D    U R                  S5      nU R                  X1US9$ )a]  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (DomainsProjectsLocationsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
Listr4   r6   r9   s       r&   rW   1DomainsV1.ProjectsLocationsOperationsService.ListT   /     ##F+f__
  8 8r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz;v1/projects/{projectsId}/locations/{locationsId}/operationsr?   z*domains.projects.locations.operations.listr@   )filterpageSize	pageTokenreturnPartialSuccesszv1/{+name}/operationsrB   -DomainsProjectsLocationsOperationsListRequestListOperationsResponseFrE   rQ   rS   r(   r&   rT   rU   a   s4    !7!7O>xHP-I3"r(   r.   r-   __name__
__module____qualname____firstlineno____doc___NAMEr   r3   method_configrW   __static_attributes____classcell__r%   s   @r&   r   r*   /   s1    G+E
8C8Dr(   r   c                     ^  \ rS rSrSrSrU 4S jrS6S jrS \l        S6S jr	S \	l        S6S	 jr
S
 \
l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS \l        S6S jrS  \l        S6S! jrS" \l        S6S# jrS$ \l        S6S% jrS& \l        S6S' jrS( \l        S6S) jrS* \l        S6S+ jrS, \l        S6S- jrS. \l        S6S/ jrS0 \l        S6S1 jrS2 \l        S6S3 jrS4 \l        S5r U =r!$ )7/DomainsV1.ProjectsLocationsRegistrationsServiceo   z@Service class for the projects_locations_registrations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   8DomainsV1.ProjectsLocationsRegistrationsService.__init__t   s"    I;;TKFSdr(   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates a `Registration`'s contact settings. Some changes require confirmation by the domain's registrant contact . Caution: Please consider carefully any changes to contact privacy settings when changing from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA.` There may be a delay in reflecting updates you make to registrant contact information such that any changes you make to contact privacy (including from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA`) will be applied without delay but changes to registrant contact information may take a limited time to be publicized. This means that changes to contact privacy from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA` may make the previous registrant contact data public until the modified registrant contact details are published.

Args:
  request: (DomainsProjectsLocationsRegistrationsConfigureContactSettingsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
ConfigureContactSettingsr4   r6   r9   s       r&   rs   HDomainsV1.ProjectsLocationsRegistrationsService.ConfigureContactSettingsy   s0     ##$>?f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nziv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureContactSettingsPOSTzAdomains.projects.locations.registrations.configureContactSettingsregistrationz+v1/{+registration}:configureContactSettingsconfigureContactSettingsRequestDDomainsProjectsLocationsRegistrationsConfigureContactSettingsRequestrD   FrE   rQ   rS   r(   r&   rT   8DomainsV1.ProjectsLocationsRegistrationsService.<lambda>   s6    X5K5K}U&'#$C7`&6r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates a `Registration`'s DNS settings.

Args:
  request: (DomainsProjectsLocationsRegistrationsConfigureDnsSettingsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
ConfigureDnsSettingsr4   r6   r9   s       r&   r|   DDomainsV1.ProjectsLocationsRegistrationsService.ConfigureDnsSettings   0     ##$:;f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzev1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureDnsSettingsrv   z=domains.projects.locations.registrations.configureDnsSettingsrw   z'v1/{+registration}:configureDnsSettingsconfigureDnsSettingsRequest@DomainsProjectsLocationsRegistrationsConfigureDnsSettingsRequestrD   FrE   rQ   rS   r(   r&   rT   rz      6    1G1GyQ&'#$?3\&2r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates a `Registration`'s management settings.

Args:
  request: (DomainsProjectsLocationsRegistrationsConfigureManagementSettingsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
ConfigureManagementSettingsr4   r6   r9   s       r&   r   KDomainsV1.ProjectsLocationsRegistrationsService.ConfigureManagementSettings   s0     ##$ABf__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzlv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureManagementSettingsrv   zDdomains.projects.locations.registrations.configureManagementSettingsrw   z.v1/{+registration}:configureManagementSettings"configureManagementSettingsRequestGDomainsProjectsLocationsRegistrationsConfigureManagementSettingsRequestrD   FrE   rQ   rS   r(   r&   rT   rz      s9    8N8N AX&'#$F:c&9r(   c                 D    U R                  S5      nU R                  X1US9$ )aT  Deletes a `Registration` resource. This method works on any `Registration` resource using [Subscription or Commitment billing](/domains/pricing#billing-models), provided that the resource was created at least 1 day in the past. When an active registration is successfully deleted, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains. After January 2024 you will only be able to delete `Registration` resources when `state` is one of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) for more details.

Args:
  request: (DomainsProjectsLocationsRegistrationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Deleter4   r6   r9   s       r&   r   6DomainsV1.ProjectsLocationsRegistrationsService.Delete   /     ##H-f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NPv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}DELETEz/domains.projects.locations.registrations.deleter@   rA   rB   2DomainsProjectsLocationsRegistrationsDeleteRequestrD   FrE   rQ   rS   r(   r&   rT   rz      s4    8#9#9dCxH"N&$r(   c                 D    U R                  S5      nU R                  X1US9$ )a,  Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Exports a `Registration` resource, such that it is no longer managed by Cloud Domains. When an active domain is successfully exported, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains.

Args:
  request: (DomainsProjectsLocationsRegistrationsExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Exportr4   r6   r9   s       r&   r   6DomainsV1.ProjectsLocationsRegistrationsService.Export   r   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzWv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:exportrv   z/domains.projects.locations.registrations.exportr@   zv1/{+name}:exportexportRegistrationRequest2DomainsProjectsLocationsRegistrationsExportRequestrD   FrE   rQ   rS   r(   r&   rT   rz      s4    8#9#9kCxH)1N&$r(   c                 D    U R                  S5      nU R                  X1US9$ )zGets the details of a `Registration` resource.

Args:
  request: (DomainsProjectsLocationsRegistrationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Registration) The response message.
r3   r4   r6   r9   s       r&   r3   3DomainsV1.ProjectsLocationsRegistrationsService.Get   r=   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   r?   z,domains.projects.locations.registrations.getr@   rA   rB   /DomainsProjectsLocationsRegistrationsGetRequestRegistrationFrE   rQ   rS   r(   r&   rT   rz     s4     6 6d@xH"K)!r(   c                 D    U R                  S5      nU R                  X1US9$ )aN  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (DomainsProjectsLocationsRegistrationsGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
GetIamPolicyr4   r6   r9   s       r&   r   <DomainsV1.ProjectsLocationsRegistrationsService.GetIamPolicy  /     ##N3f__
  8 8r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nz]v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:getIamPolicyr?   z5domains.projects.locations.registrations.getIamPolicyresourceoptions_requestedPolicyVersionzv1/{+resource}:getIamPolicyrB   8DomainsProjectsLocationsRegistrationsGetIamPolicyRequestPolicyFrE   rQ   rS   r(   r&   rT   rz   (  s7    )?)?qI"|L673T#*r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain.

Args:
  request: (DomainsProjectsLocationsRegistrationsImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Importr4   r6   r9   s       r&   r   6DomainsV1.ProjectsLocationsRegistrationsService.Import6  r   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzEv1/projects/{projectsId}/locations/{locationsId}/registrations:importrv   z/domains.projects.locations.registrations.importparentz!v1/{+parent}/registrations:importimportDomainRequest2DomainsProjectsLocationsRegistrationsImportRequestrD   FrE   rQ   rS   r(   r&   rT   rz   C  s4    8#9#9YC zJ9+N&$r(   c                 D    U R                  S5      nU R                  X1US9$ )aq  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. For more information, see [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar).

Args:
  request: (DomainsProjectsLocationsRegistrationsInitiatePushTransferRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
InitiatePushTransferr4   r6   r9   s       r&   r   DDomainsV1.ProjectsLocationsRegistrationsService.InitiatePushTransferQ  r~   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzev1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:initiatePushTransferrv   z=domains.projects.locations.registrations.initiatePushTransferrw   z'v1/{+registration}:initiatePushTransferinitiatePushTransferRequest@DomainsProjectsLocationsRegistrationsInitiatePushTransferRequestrD   FrE   rQ   rS   r(   r&   rT   rz   ^  r   r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the `Registration` resources in a project.

Args:
  request: (DomainsProjectsLocationsRegistrationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListRegistrationsResponse) The response message.
rW   r4   r6   r9   s       r&   rW   4DomainsV1.ProjectsLocationsRegistrationsService.Listl  rY   r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz>v1/projects/{projectsId}/locations/{locationsId}/registrationsr?   z-domains.projects.locations.registrations.listr   )r[   r\   r]   zv1/{+parent}/registrationsrB   0DomainsProjectsLocationsRegistrationsListRequestListRegistrationsResponseFrE   rQ   rS   r(   r&   rT   rz   y  s4    !7!7RA zJ82L6"r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates select fields of a `Registration` resource, notably `labels`. To update other fields, use the appropriate custom update method: * To update management settings, see `ConfigureManagementSettings` * To update DNS configuration, see `ConfigureDnsSettings` * To update contact information, see `ConfigureContactSettings`.

Args:
  request: (DomainsProjectsLocationsRegistrationsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Patchr4   r6   r9   s       r&   r   5DomainsV1.ProjectsLocationsRegistrationsService.Patch  s/     ##G,f__
  8 8r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr   PATCHz.domains.projects.locations.registrations.patchr@   
updateMaskrA   rw   1DomainsProjectsLocationsRegistrationsPatchRequestrD   FrE   rQ   rS   r(   r&   rT   rz     s6    ("8"8dBxH"^"$M&#r(   c                 D    U R                  S5      nU R                  X1US9$ )a6  Registers a new domain name and creates a corresponding `Registration` resource. Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method. A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration.

Args:
  request: (DomainsProjectsLocationsRegistrationsRegisterRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Registerr4   r6   r9   s       r&   r   8DomainsV1.ProjectsLocationsRegistrationsService.Register  /     ##J/f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzGv1/projects/{projectsId}/locations/{locationsId}/registrations:registerrv   z1domains.projects.locations.registrations.registerr   z#v1/{+parent}/registrations:registerregisterDomainRequest4DomainsProjectsLocationsRegistrationsRegisterRequestrD   FrE   rQ   rS   r(   r&   rT   rz     4    X%;%;[E zJ;-P&&r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Renews a recently expired domain. This method can only be called on domains that expired in the previous 30 days. After the renewal, the new expiration time of the domain is one year after the old expiration time and you are charged a `yearly_price` for the renewal.

Args:
  request: (DomainsProjectsLocationsRegistrationsRenewDomainRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
RenewDomainr4   r6   r9   s       r&   r   ;DomainsV1.ProjectsLocationsRegistrationsService.RenewDomain  s/     ##M2f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz\v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:renewDomainrv   z4domains.projects.locations.registrations.renewDomainrw   zv1/{+registration}:renewDomainrenewDomainRequest7DomainsProjectsLocationsRegistrationsRenewDomainRequestrD   FrE   rQ   rS   r(   r&   rT   rz     s6    (>(>pH&'#$6*S&)r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Resets the authorization code of the `Registration` to a new random string. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.

Args:
  request: (DomainsProjectsLocationsRegistrationsResetAuthorizationCodeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (AuthorizationCode) The response message.
ResetAuthorizationCoder4   r6   r9   s       r&   r   FDomainsV1.ProjectsLocationsRegistrationsService.ResetAuthorizationCode  s0     ##$<=f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzgv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:resetAuthorizationCoderv   z?domains.projects.locations.registrations.resetAuthorizationCoderw   z)v1/{+registration}:resetAuthorizationCoderesetAuthorizationCodeRequestBDomainsProjectsLocationsRegistrationsResetAuthorizationCodeRequestAuthorizationCodeFrE   rQ   rS   r(   r&   rT   rz     s6    83I3I{S&'#$A5^.4r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.

Args:
  request: (DomainsProjectsLocationsRegistrationsRetrieveAuthorizationCodeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (AuthorizationCode) The response message.
RetrieveAuthorizationCoder4   r6   r9   s       r&   r   IDomainsV1.ProjectsLocationsRegistrationsService.RetrieveAuthorizationCode  0     ##$?@f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzjv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveAuthorizationCoder?   zBdomains.projects.locations.registrations.retrieveAuthorizationCoderw   z,v1/{+registration}:retrieveAuthorizationCoderB   EDomainsProjectsLocationsRegistrationsRetrieveAuthorizationCodeRequestr   FrE   rQ   rS   r(   r&   rT   rz      s6    h6L6L~V&'#$Da.7r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`.

Args:
  request: (DomainsProjectsLocationsRegistrationsRetrieveGoogleDomainsDnsRecordsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RetrieveGoogleDomainsDnsRecordsResponse) The response message.
RetrieveGoogleDomainsDnsRecordsr4   r6   r9   s       r&   r   ODomainsV1.ProjectsLocationsRegistrationsService.RetrieveGoogleDomainsDnsRecords  s0     ##$EFf__
  8 8r(   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nzpv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveGoogleDomainsDnsRecordsr?   zHdomains.projects.locations.registrations.retrieveGoogleDomainsDnsRecordsrw   r\   r]   z2v1/{+registration}:retrieveGoogleDomainsDnsRecordsrB   KDomainsProjectsLocationsRegistrationsRetrieveGoogleDomainsDnsRecordsRequest'RetrieveGoogleDomainsDnsRecordsResponseFrE   rQ   rS   r(   r&   rT   rz     s>    H<R<R E\&'#$ +.JgD=r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone.

Args:
  request: (DomainsProjectsLocationsRegistrationsRetrieveGoogleDomainsForwardingConfigRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RetrieveGoogleDomainsForwardingConfigResponse) The response message.
%RetrieveGoogleDomainsForwardingConfigr4   r6   r9   s       r&   r   UDomainsV1.ProjectsLocationsRegistrationsService.RetrieveGoogleDomainsForwardingConfig)  s0     ##$KLf__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzvv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveGoogleDomainsForwardingConfigr?   zNdomains.projects.locations.registrations.retrieveGoogleDomainsForwardingConfigrw   z8v1/{+registration}:retrieveGoogleDomainsForwardingConfigrB   QDomainsProjectsLocationsRegistrationsRetrieveGoogleDomainsForwardingConfigRequest-RetrieveGoogleDomainsForwardingConfigResponseFrE   rQ   rS   r(   r&   rT   rz   6  s:    (BXBX Kb&'#$PmJCr(   c                 D    U R                  S5      nU R                  X1US9$ )a  Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.

Args:
  request: (DomainsProjectsLocationsRegistrationsRetrieveImportableDomainsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RetrieveImportableDomainsResponse) The response message.
RetrieveImportableDomainsr4   r6   r9   s       r&   r   IDomainsV1.ProjectsLocationsRegistrationsService.RetrieveImportableDomainsD  r   r(   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NzXv1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomainsr?   zBdomains.projects.locations.registrations.retrieveImportableDomainslocationr\   r]   z6v1/{+location}/registrations:retrieveImportableDomainsrB   EDomainsProjectsLocationsRegistrationsRetrieveImportableDomainsRequest!RetrieveImportableDomainsResponseFrE   rQ   rS   r(   r&   rT   rz   Q  s9    h6L6LlV"|L +.Na>7r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets parameters needed to register a new domain name, including price and up-to-date availability. Use the returned values to call `RegisterDomain`.

Args:
  request: (DomainsProjectsLocationsRegistrationsRetrieveRegisterParametersRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RetrieveRegisterParametersResponse) The response message.
RetrieveRegisterParametersr4   r6   r9   s       r&   r   JDomainsV1.ProjectsLocationsRegistrationsService.RetrieveRegisterParameters_  0     ##$@Af__
  8 8r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzYv1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveRegisterParametersr?   zCdomains.projects.locations.registrations.retrieveRegisterParametersr   
domainNamez7v1/{+location}/registrations:retrieveRegisterParametersrB   FDomainsProjectsLocationsRegistrationsRetrieveRegisterParametersRequest"RetrieveRegisterParametersResponseFrE   rQ   rS   r(   r&   rT   rz   l  6    x7M7MmW"|L"^Ob?8r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`.

Args:
  request: (DomainsProjectsLocationsRegistrationsRetrieveTransferParametersRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RetrieveTransferParametersResponse) The response message.
RetrieveTransferParametersr4   r6   r9   s       r&   r   JDomainsV1.ProjectsLocationsRegistrationsService.RetrieveTransferParametersz  r   r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzYv1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveTransferParametersr?   zCdomains.projects.locations.registrations.retrieveTransferParametersr   r   z7v1/{+location}/registrations:retrieveTransferParametersrB   FDomainsProjectsLocationsRegistrationsRetrieveTransferParametersRequest"RetrieveTransferParametersResponseFrE   rQ   rS   r(   r&   rT   rz     r   r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Searches for available domain names similar to the provided query. Availability results from this method are approximate; call `RetrieveRegisterParameters` on a domain before registering to confirm availability.

Args:
  request: (DomainsProjectsLocationsRegistrationsSearchDomainsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (SearchDomainsResponse) The response message.
SearchDomainsr4   r6   r9   s       r&   r   =DomainsV1.ProjectsLocationsRegistrationsService.SearchDomains  s/     ##O4f__
  8 8r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzLv1/projects/{projectsId}/locations/{locationsId}/registrations:searchDomainsr?   z6domains.projects.locations.registrations.searchDomainsr   queryz*v1/{+location}/registrations:searchDomainsrB   9DomainsProjectsLocationsRegistrationsSearchDomainsRequestSearchDomainsResponseFrE   rQ   rS   r(   r&   rT   rz     s6    (*@*@`J"|LYBU2+r(   c                 D    U R                  S5      nU R                  X1US9$ )at  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (DomainsProjectsLocationsRegistrationsSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
SetIamPolicyr4   r6   r9   s       r&   r  <DomainsV1.ProjectsLocationsRegistrationsService.SetIamPolicy  r   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz]v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:setIamPolicyrv   z5domains.projects.locations.registrations.setIamPolicyr   zv1/{+resource}:setIamPolicysetIamPolicyRequest8DomainsProjectsLocationsRegistrationsSetIamPolicyRequestr   FrE   rQ   rS   r(   r&   rT   rz     s4    )?)?qI"|L3+T#*r(   c                 D    U R                  S5      nU R                  X1US9$ )aH  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (DomainsProjectsLocationsRegistrationsTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
TestIamPermissionsr4   r6   r9   s       r&   r	  BDomainsV1.ProjectsLocationsRegistrationsService.TestIamPermissions  s0     ##$89f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzcv1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:testIamPermissionsrv   z;domains.projects.locations.registrations.testIamPermissionsr   z!v1/{+resource}:testIamPermissionstestIamPermissionsRequest>DomainsProjectsLocationsRegistrationsTestIamPermissionsRequestTestIamPermissionsResponseFrE   rQ   rS   r(   r&   rT   rz     s4    x/E/EwO"|L91Z70r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Before calling this method, go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to this method. A successful call creates a `Registration` resource in state `TRANSFER_PENDING`. It can take several days to complete the transfer process. The registrant can often speed up this process by approving the transfer through the current registrar, either by clicking a link in an email from the registrar or by visiting the registrar's website. A few minutes after transfer approval, the resource transitions to state `ACTIVE`, indicating that the transfer was successful. If the transfer is rejected or the request expires without being approved, the resource can end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete the resource and retry the transfer.

Args:
  request: (DomainsProjectsLocationsRegistrationsTransferRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Transferr4   r6   r9   s       r&   r  8DomainsV1.ProjectsLocationsRegistrationsService.Transfer  r   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzGv1/projects/{projectsId}/locations/{locationsId}/registrations:transferrv   z1domains.projects.locations.registrations.transferr   z#v1/{+parent}/registrations:transfertransferDomainRequest4DomainsProjectsLocationsRegistrationsTransferRequestrD   FrE   rQ   rS   r(   r&   rT   rz     r   r(   ra   r-   )"rc   rd   re   rf   rg   rh   r   rs   ri   r|   r   r   r   r3   r   r   r   rW   r   r   r   r   r   r   r   r   r   r   r   r  r	  r  rj   rk   rl   s   @r&   r   rn   o   s   J.E
8.*8*&81-8F8F8C8"L8F8*&8D8E8H8!K8,(8/+85#18;)78/+80,80,8#M8"L8($8Hr(   r   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )"DomainsV1.ProjectsLocationsServicei  z2Service class for the projects_locations resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   +DomainsV1.ProjectsLocationsService.__init__  s"    I..>vFdr(   c                 D    U R                  S5      nU R                  X1US9$ )zGets information about a location.

Args:
  request: (DomainsProjectsLocationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Location) The response message.
r3   r4   r6   r9   s       r&   r3   &DomainsV1.ProjectsLocationsService.Get  r=   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz0v1/projects/{projectsId}/locations/{locationsId}r?   zdomains.projects.locations.getr@   rA   rB   "DomainsProjectsLocationsGetRequestLocationFrE   rQ   rS   r(   r&   rT   +DomainsV1.ProjectsLocationsService.<lambda>  s4     6 6D2xH">%!r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists information about the supported locations for this service.

Args:
  request: (DomainsProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListLocationsResponse) The response message.
rW   r4   r6   r9   s       r&   rW   'DomainsV1.ProjectsLocationsService.List&  rY   r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz"v1/projects/{projectsId}/locationsr?   zdomains.projects.locations.listr@   )extraLocationTypesr[   r\   r]   zv1/{+name}/locationsrB   #DomainsProjectsLocationsListRequestListLocationsResponseFrE   rQ   rS   r(   r&   rT   r  3  s4    !7!763xHN,?2"r(   ra   r-   rb   rl   s   @r&   r   r    s1    < E
8C8Dr(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )DomainsV1.ProjectsServiceiA  z(Service class for the projects resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r!   r   r.   r/   s     r&   r   "DomainsV1.ProjectsService.__init__F  s"    I%%t5f=dr(   ra   )	rc   rd   re   rf   rg   rh   r   rj   rk   rl   s   @r&   r!   r&  A  s    2E r(   r!   )r"   r    r   r   )rB   NTNNFFNNNN)rc   rd   re   rf   rg   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r!   rj   rk   rl   s   @r&   r   r   
   s    @/.(8-(=>'(*"."+",()-6:/4<@?C	/(>8+B+B >@P
h.E.E P
d>!8!8 >@//  r(   r   N)
rg   
__future__r   apitools.base.pyr   0googlecloudsdk.generated_clients.apis.domains.v1r   r)  BaseApiClientr   rS   r(   r&   <module>r:     s'    6 ' % \&& r(   