Types for Google Cloud Domains v1beta1 API¶
- class google.cloud.domains_v1beta1.types.AuthorizationCode(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines an authorization code.
- class google.cloud.domains_v1beta1.types.ConfigureContactSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ConfigureContactSettings
method.- registration¶
Required. The name of the
Registration
whose contact settings are being updated, in the formatprojects/*/locations/*/registrations/*
.- Type
- contact_settings¶
Fields of the
ContactSettings
to update.
- update_mask¶
Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the
update_mask
is"registrant_contact"
.
- contact_notices¶
The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in
contact_settings
.- Type
MutableSequence[google.cloud.domains_v1beta1.types.ContactNotice]
- class google.cloud.domains_v1beta1.types.ConfigureDnsSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ConfigureDnsSettings
method.- registration¶
Required. The name of the
Registration
whose DNS settings are being updated, in the formatprojects/*/locations/*/registrations/*
.- Type
- dns_settings¶
Fields of the
DnsSettings
to update.
- update_mask¶
Required. The field mask describing which fields to update as a comma-separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the
update_mask
is"custom_dns.name_servers"
.When changing the DNS provider from one type to another, pass the new provider’s field name as part of the field mask. For example, when changing from a Google Domains DNS configuration to a Custom DNS configuration, the
update_mask
is"custom_dns"
. //
- class google.cloud.domains_v1beta1.types.ConfigureManagementSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ConfigureManagementSettings
method.- registration¶
Required. The name of the
Registration
whose management settings are being updated, in the formatprojects/*/locations/*/registrations/*
.- Type
- management_settings¶
Fields of the
ManagementSettings
to update.
- update_mask¶
Required. The field mask describing which fields to update as a comma-separated list. For example, if only the transfer lock is being updated, the
update_mask
is"transfer_lock_state"
.
- class google.cloud.domains_v1beta1.types.ContactNotice(value)[source]¶
Bases:
proto.enums.Enum
Notices related to contact information.
- Values:
- CONTACT_NOTICE_UNSPECIFIED (0):
The notice is undefined.
- PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT (1):
Required when setting the
privacy
field ofContactSettings
toPUBLIC_CONTACT_DATA
, which exposes contact data publicly.
- class google.cloud.domains_v1beta1.types.ContactPrivacy(value)[source]¶
Bases:
proto.enums.Enum
Defines a set of possible contact privacy settings for a
Registration
.ICANN maintains the WHOIS database, a publicly accessible mapping from domain name to contact information, and requires that each domain name have an entry. Choose from these options to control how much information in your
ContactSettings
is published.- Values:
- CONTACT_PRIVACY_UNSPECIFIED (0):
The contact privacy settings are undefined.
- PUBLIC_CONTACT_DATA (1):
All the data from
ContactSettings
is publicly available. When setting this option, you must also provide aPUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT
in thecontact_notices
field of the request.- PRIVATE_CONTACT_DATA (2):
None of the data from
ContactSettings
is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant’s email address. Cloud Domains provides this privacy proxy service at no additional cost.- REDACTED_CONTACT_DATA (3):
Some data from
ContactSettings
is publicly available. The actual information redacted depends on the domain. For details, see the registration privacy article.
- class google.cloud.domains_v1beta1.types.ContactSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines the contact information associated with a
Registration
.ICANN requires all domain names to have associated contact information. The
registrant_contact
is considered the domain’s legal owner, and often the other contacts are identical.- privacy¶
Required. Privacy setting for the contacts associated with the
Registration
.
- registrant_contact¶
Required. The registrant contact for the
Registration
.Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain.
Warning: For new ``Registration``s, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.
- admin_contact¶
Required. The administrative contact for the
Registration
.
- technical_contact¶
Required. The technical contact for the
Registration
.
- class Contact(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Details required for a contact associated with a
Registration
.- postal_address¶
Required. Postal address of the contact.
- Type
google.type.postal_address_pb2.PostalAddress
- phone_number¶
Required. Phone number of the contact in international format. For example,
"+1-800-555-0123"
.- Type
- class google.cloud.domains_v1beta1.types.DeleteRegistrationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
DeleteRegistration
method.
- class google.cloud.domains_v1beta1.types.DnsSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines the DNS configuration of a
Registration
, including name servers, DNSSEC, and glue records.This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.
- custom_dns¶
An arbitrary DNS provider identified by its name servers.
This field is a member of oneof
dns_provider
.
- google_domains_dns¶
The free DNS zone provided by Google Domains.
This field is a member of oneof
dns_provider
.
- glue_records¶
The list of glue records for this
Registration
. Commonly empty.- Type
MutableSequence[google.cloud.domains_v1beta1.types.DnsSettings.GlueRecord]
- class CustomDns(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Configuration for an arbitrary DNS provider.
- name_servers¶
Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.
- Type
MutableSequence[str]
- ds_records¶
The list of DS records for this domain, which are used to enable DNSSEC. The domain’s DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
- Type
MutableSequence[google.cloud.domains_v1beta1.types.DnsSettings.DsRecord]
- class DsRecord(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain’s DNS zone.
- algorithm¶
The algorithm used to generate the referenced DNSKEY.
- digest_type¶
The hash function used to generate the digest of the referenced DNSKEY.
- class Algorithm(value)[source]¶
Bases:
proto.enums.Enum
List of algorithms used to create a DNSKEY. Certain algorithms are not supported for particular domains.
- Values:
- ALGORITHM_UNSPECIFIED (0):
The algorithm is unspecified.
- RSAMD5 (1):
RSA/MD5. Cannot be used for new deployments.
- DH (2):
Diffie-Hellman. Cannot be used for new deployments.
- DSA (3):
DSA/SHA1. Not recommended for new deployments.
- ECC (4):
ECC. Not recommended for new deployments.
- RSASHA1 (5):
RSA/SHA-1. Not recommended for new deployments.
- DSANSEC3SHA1 (6):
DSA-NSEC3-SHA1. Not recommended for new deployments.
- RSASHA1NSEC3SHA1 (7):
RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
- RSASHA256 (8):
RSA/SHA-256.
- RSASHA512 (10):
RSA/SHA-512.
- ECCGOST (12):
GOST R 34.10-2001.
- ECDSAP256SHA256 (13):
ECDSA Curve P-256 with SHA-256.
- ECDSAP384SHA384 (14):
ECDSA Curve P-384 with SHA-384.
- ED25519 (15):
Ed25519.
- ED448 (16):
Ed448.
- INDIRECT (252):
Reserved for Indirect Keys. Cannot be used for new deployments.
- PRIVATEDNS (253):
Private algorithm. Cannot be used for new deployments.
- PRIVATEOID (254):
Private algorithm OID. Cannot be used for new deployments.
- class DigestType(value)[source]¶
Bases:
proto.enums.Enum
List of hash functions that may have been used to generate a digest of a DNSKEY.
- Values:
- DIGEST_TYPE_UNSPECIFIED (0):
The DigestType is unspecified.
- SHA1 (1):
SHA-1. Not recommended for new deployments.
- SHA256 (2):
SHA-256.
- GOST3411 (3):
GOST R 34.11-94.
- SHA384 (4):
SHA-384.
- class DsState(value)[source]¶
Bases:
proto.enums.Enum
The publication state of DS records for a
Registration
.- Values:
- DS_STATE_UNSPECIFIED (0):
DS state is unspecified.
- DS_RECORDS_UNPUBLISHED (1):
DNSSEC is disabled for this domain. No DS records for this domain are published in the parent DNS zone.
- DS_RECORDS_PUBLISHED (2):
DNSSEC is enabled for this domain. Appropriate DS records for this domain are published in the parent DNS zone. This option is valid only if the DNS zone referenced in the
Registration
’sdns_provider
field is already DNSSEC-signed.
- class GlueRecord(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain. For example, when
ns.example.com
is a name server forexample.com
, the hostns.example.com
must have a glue record to break the circular DNS reference.
- class GoogleDomainsDns(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Configuration for using the free DNS zone provided by Google Domains as a
Registration
’sdns_provider
. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to Google Domains.- name_servers¶
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
- Type
MutableSequence[str]
- ds_state¶
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
- ds_records¶
Output only. The list of DS records published for this domain. The list is automatically populated when
ds_state
isDS_RECORDS_PUBLISHED
, otherwise it remains empty.- Type
MutableSequence[google.cloud.domains_v1beta1.types.DnsSettings.DsRecord]
- class google.cloud.domains_v1beta1.types.DomainNotice(value)[source]¶
Bases:
proto.enums.Enum
Notices about special properties of certain domains.
- Values:
- DOMAIN_NOTICE_UNSPECIFIED (0):
The notice is undefined.
- HSTS_PRELOADED (1):
Indicates that the domain is preloaded on the HTTP Strict Transport Security list in browsers. Serving a website on such domain requires an SSL certificate. For details, see how to get an SSL certificate.
- class google.cloud.domains_v1beta1.types.ExportRegistrationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ExportRegistration
method.
- class google.cloud.domains_v1beta1.types.GetRegistrationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
GetRegistration
method.
- class google.cloud.domains_v1beta1.types.ListRegistrationsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ListRegistrations
method.- parent¶
Required. The project and location from which to list
Registration
s, specified in the formatprojects/*/locations/*
.- Type
- page_token¶
When set to the
next_page_token
from a prior response, provides the next page of results.- Type
- filter¶
Filter expression to restrict the
Registration
s returned.The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches.
For example, to filter to a specific domain name, use an expression like
domainName="example.com"
. You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression likednsSettings.customDns:*
.You can also create compound filters by combining expressions with the
AND
andOR
operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like(state=SUSPENDED) OR (issue:*)
.- Type
- class google.cloud.domains_v1beta1.types.ListRegistrationsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
ListRegistrations
method.- registrations¶
A list of
Registration
s.- Type
MutableSequence[google.cloud.domains_v1beta1.types.Registration]
- class google.cloud.domains_v1beta1.types.ManagementSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines renewal, billing, and transfer settings for a
Registration
.- renewal_method¶
Output only. The renewal method for this
Registration
.
- transfer_lock_state¶
Controls whether the domain can be transferred to another registrar.
- class RenewalMethod(value)[source]¶
Bases:
proto.enums.Enum
Defines how the
Registration
is renewed.- Values:
- RENEWAL_METHOD_UNSPECIFIED (0):
The renewal method is undefined.
- AUTOMATIC_RENEWAL (1):
The domain is automatically renewed each year .
To disable automatic renewals, delete the resource by calling
DeleteRegistration
or export it by callingExportRegistration
.- MANUAL_RENEWAL (2):
The domain must be explicitly renewed each year before its
expire_time
. This option is only available when theRegistration
is in stateEXPORTED
.To manage the domain’s current billing and renewal settings, go to Google Domains.
- class google.cloud.domains_v1beta1.types.OperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Represents the metadata of the long-running operation. Output only.
- create_time¶
The time the operation was created.
- end_time¶
The time the operation finished running.
- class google.cloud.domains_v1beta1.types.RegisterDomainRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
RegisterDomain
method.- parent¶
Required. The parent resource of the
Registration
. Must be in the formatprojects/*/locations/*
.- Type
- registration¶
Required. The complete
Registration
resource to be created.
- domain_notices¶
The list of domain notices that you acknowledge. Call
RetrieveRegisterParameters
to see the notices that need acknowledgement.- Type
MutableSequence[google.cloud.domains_v1beta1.types.DomainNotice]
- contact_notices¶
The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in
registration.contact_settings
.- Type
MutableSequence[google.cloud.domains_v1beta1.types.ContactNotice]
- yearly_price¶
Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.
- Type
google.type.money_pb2.Money
- validate_only¶
When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation
- Type
- class google.cloud.domains_v1beta1.types.RegisterParameters(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Parameters required to register a new domain.
- availability¶
Indicates whether the domain is available for registration. This value is accurate when obtained by calling
RetrieveRegisterParameters
, but is approximate when obtained by callingSearchDomains
.
- supported_privacy¶
Contact privacy options that the domain supports.
- Type
MutableSequence[google.cloud.domains_v1beta1.types.ContactPrivacy]
- domain_notices¶
Notices about special properties of the domain.
- Type
MutableSequence[google.cloud.domains_v1beta1.types.DomainNotice]
- yearly_price¶
Price to register or renew the domain for one year.
- Type
google.type.money_pb2.Money
- class Availability(value)[source]¶
Bases:
proto.enums.Enum
Possible availability states of a domain name.
- Values:
- AVAILABILITY_UNSPECIFIED (0):
The availability is unspecified.
- AVAILABLE (1):
The domain is available for registration.
- UNAVAILABLE (2):
The domain is not available for registration. Generally this means it is already registered to another party.
- UNSUPPORTED (3):
The domain is not currently supported by Cloud Domains, but may be available elsewhere.
- UNKNOWN (4):
Cloud Domains is unable to determine domain availability, generally due to system maintenance at the domain name registry.
- class google.cloud.domains_v1beta1.types.Registration(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The
Registration
resource facilitates managing and configuring domain name registrations.There are several ways to create a new
Registration
resource:To create a new
Registration
resource, find a suitable domain name by calling theSearchDomains
method with a query to see available domain name options. After choosing a name, callRetrieveRegisterParameters
to ensure availability and obtain information like pricing, which is needed to build a call toRegisterDomain
.Another way to create a new
Registration
is to transfer an existing domain from another registrar. First, go to the current registrar to unlock the domain for transfer and retrieve the domain’s transfer authorization code. Then callRetrieveTransferParameters
to confirm that the domain is unlocked and to get values needed to build a call toTransferDomain
.- name¶
Output only. Name of the
Registration
resource, in the formatprojects/*/locations/*/registrations/<domain_name>
.- Type
- domain_name¶
Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
- Type
- create_time¶
Output only. The creation timestamp of the
Registration
resource.
- expire_time¶
Output only. The expiration timestamp of the
Registration
.
- state¶
Output only. The state of the
Registration
- issues¶
Output only. The set of issues with the
Registration
that require attention.- Type
MutableSequence[google.cloud.domains_v1beta1.types.Registration.Issue]
- management_settings¶
Settings for management of the
Registration
, including renewal, billing, and transfer. You cannot update these with theUpdateRegistration
method. To update these settings, use theConfigureManagementSettings
method.
- dns_settings¶
Settings controlling the DNS configuration of the
Registration
. You cannot update these with theUpdateRegistration
method. To update these settings, use theConfigureDnsSettings
method.
- contact_settings¶
Required. Settings for contact information linked to the
Registration
. You cannot update these with theUpdateRegistration
method. To update these settings, use theConfigureContactSettings
method.
- pending_contact_settings¶
Output only. Pending contact settings for the
Registration
. Updates to thecontact_settings
field that change itsregistrant_contact
orprivacy
fields require email confirmation by theregistrant_contact
before taking effect. This field is set only if there are pending updates to thecontact_settings
that have not been confirmed. To confirm the changes, theregistrant_contact
must follow the instructions in the email they receive.
- supported_privacy¶
Output only. Set of options for the
contact_settings.privacy
field that thisRegistration
supports.- Type
MutableSequence[google.cloud.domains_v1beta1.types.ContactPrivacy]
- class Issue(value)[source]¶
Bases:
proto.enums.Enum
Possible issues with a
Registration
that require attention.- Values:
- ISSUE_UNSPECIFIED (0):
The issue is undefined.
- CONTACT_SUPPORT (1):
Contact the Cloud Support team to resolve a problem with this domain.
- UNVERIFIED_EMAIL (2):
ICANN requires verification of the email address in the
Registration
’scontact_settings.registrant_contact
field. To verify the email address, follow the instructions in the email theregistrant_contact
receives following registration. If you do not complete email verification within 15 days of registration, the domain is suspended. To resend the verification email, call ConfigureContactSettings and provide the currentregistrant_contact.email
.
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class State(value)[source]¶
Bases:
proto.enums.Enum
Possible states of a
Registration
.- Values:
- STATE_UNSPECIFIED (0):
The state is undefined.
- REGISTRATION_PENDING (1):
The domain is being registered.
- REGISTRATION_FAILED (2):
The domain registration failed. You can delete resources in this state to allow registration to be retried.
- TRANSFER_PENDING (3):
The domain is being transferred from another registrar to Cloud Domains.
- TRANSFER_FAILED (4):
The attempt to transfer the domain from another registrar to Cloud Domains failed. You can delete resources in this state and retry the transfer.
- ACTIVE (6):
The domain is registered and operational. The domain renews automatically as long as it remains in this state.
- SUSPENDED (7):
The domain is suspended and inoperative. For more details, see the
issues
field.- EXPORTED (8):
The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in Google Domains. You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains.
- class google.cloud.domains_v1beta1.types.ResetAuthorizationCodeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ResetAuthorizationCode
method.
- class google.cloud.domains_v1beta1.types.RetrieveAuthorizationCodeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
RetrieveAuthorizationCode
method.
- class google.cloud.domains_v1beta1.types.RetrieveRegisterParametersRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
RetrieveRegisterParameters
method.- domain_name¶
Required. The domain name. Unicode domain names must be expressed in Punycode format.
- Type
- class google.cloud.domains_v1beta1.types.RetrieveRegisterParametersResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
RetrieveRegisterParameters
method.- register_parameters¶
Parameters to use when calling the
RegisterDomain
method.
- class google.cloud.domains_v1beta1.types.RetrieveTransferParametersRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
RetrieveTransferParameters
method.- domain_name¶
Required. The domain name. Unicode domain names must be expressed in Punycode format.
- Type
- class google.cloud.domains_v1beta1.types.RetrieveTransferParametersResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
RetrieveTransferParameters
method.- transfer_parameters¶
Parameters to use when calling the
TransferDomain
method.
- class google.cloud.domains_v1beta1.types.SearchDomainsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
SearchDomains
method.
- class google.cloud.domains_v1beta1.types.SearchDomainsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
SearchDomains
method.- register_parameters¶
Results of the domain name search.
- Type
MutableSequence[google.cloud.domains_v1beta1.types.RegisterParameters]
- class google.cloud.domains_v1beta1.types.TransferDomainRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
TransferDomain
method.- parent¶
Required. The parent resource of the
Registration
. Must be in the formatprojects/*/locations/*
.- Type
- registration¶
Required. The complete
Registration
resource to be created.You can leave
registration.dns_settings
unset to import the domain’s current DNS configuration from its current registrar. Use this option only if you are sure that the domain’s current DNS service does not cease upon transfer, as is often the case for DNS services provided for free by the registrar.
- contact_notices¶
The list of contact notices that you acknowledge. The notices needed here depend on the values specified in
registration.contact_settings
.- Type
MutableSequence[google.cloud.domains_v1beta1.types.ContactNotice]
- yearly_price¶
Required. Acknowledgement of the price to transfer or renew the domain for one year. Call
RetrieveTransferParameters
to obtain the price, which you must acknowledge.- Type
google.type.money_pb2.Money
- authorization_code¶
The domain’s transfer authorization code. You can obtain this from the domain’s current registrar.
- class google.cloud.domains_v1beta1.types.TransferLockState(value)[source]¶
Bases:
proto.enums.Enum
Possible states of a
Registration
’s transfer lock.- Values:
- TRANSFER_LOCK_STATE_UNSPECIFIED (0):
The state is unspecified.
- UNLOCKED (1):
The domain is unlocked and can be transferred to another registrar.
- LOCKED (2):
The domain is locked and cannot be transferred to another registrar.
- class google.cloud.domains_v1beta1.types.TransferParameters(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Parameters required to transfer a domain from another registrar.
- name_servers¶
The name servers that currently store the configuration of the domain.
- Type
MutableSequence[str]
- transfer_lock_state¶
Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show
UNLOCKED
. To unlock a domain, go to its current registrar.
- supported_privacy¶
Contact privacy options that the domain supports.
- Type
MutableSequence[google.cloud.domains_v1beta1.types.ContactPrivacy]
- yearly_price¶
Price to transfer or renew the domain for one year.
- Type
google.type.money_pb2.Money
- class google.cloud.domains_v1beta1.types.UpdateRegistrationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
UpdateRegistration
method.- registration¶
Fields of the
Registration
to update.
- update_mask¶
Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the
update_mask
is"labels"
.