@@ -68,6 +68,26 @@ class ContactPrivacy(proto.Enum):
6868 and requires that each domain name have an entry. Choose from these
6969 options to control how much information in your ``ContactSettings``
7070 is published.
71+
72+ Values:
73+ CONTACT_PRIVACY_UNSPECIFIED (0):
74+ The contact privacy settings are undefined.
75+ PUBLIC_CONTACT_DATA (1):
76+ All the data from ``ContactSettings`` is publicly available.
77+ When setting this option, you must also provide a
78+ ``PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT`` in the
79+ ``contact_notices`` field of the request.
80+ PRIVATE_CONTACT_DATA (2):
81+ None of the data from ``ContactSettings`` is publicly
82+ available. Instead, proxy contact data is published for your
83+ domain. Email sent to the proxy email address is forwarded
84+ to the registrant's email address. Cloud Domains provides
85+ this privacy proxy service at no additional cost.
86+ REDACTED_CONTACT_DATA (3):
87+ Some data from ``ContactSettings`` is publicly available.
88+ The actual information redacted depends on the domain. For
89+ details, see `the registration privacy
90+ article <https://support.google.com/domains/answer/3251242>`__.
7191 """
7292 CONTACT_PRIVACY_UNSPECIFIED = 0
7393 PUBLIC_CONTACT_DATA = 1
@@ -76,19 +96,50 @@ class ContactPrivacy(proto.Enum):
7696
7797
7898class DomainNotice (proto .Enum ):
79- r"""Notices about special properties of certain domains."""
99+ r"""Notices about special properties of certain domains.
100+
101+ Values:
102+ DOMAIN_NOTICE_UNSPECIFIED (0):
103+ The notice is undefined.
104+ HSTS_PRELOADED (1):
105+ Indicates that the domain is preloaded on the HTTP Strict
106+ Transport Security list in browsers. Serving a website on
107+ such domain requires an SSL certificate. For details, see
108+ `how to get an SSL
109+ certificate <https://support.google.com/domains/answer/7638036>`__.
110+ """
80111 DOMAIN_NOTICE_UNSPECIFIED = 0
81112 HSTS_PRELOADED = 1
82113
83114
84115class ContactNotice (proto .Enum ):
85- r"""Notices related to contact information."""
116+ r"""Notices related to contact information.
117+
118+ Values:
119+ CONTACT_NOTICE_UNSPECIFIED (0):
120+ The notice is undefined.
121+ PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT (1):
122+ Required when setting the ``privacy`` field of
123+ ``ContactSettings`` to ``PUBLIC_CONTACT_DATA``, which
124+ exposes contact data publicly.
125+ """
86126 CONTACT_NOTICE_UNSPECIFIED = 0
87127 PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT = 1
88128
89129
90130class TransferLockState (proto .Enum ):
91- r"""Possible states of a ``Registration``'s transfer lock."""
131+ r"""Possible states of a ``Registration``'s transfer lock.
132+
133+ Values:
134+ TRANSFER_LOCK_STATE_UNSPECIFIED (0):
135+ The state is unspecified.
136+ UNLOCKED (1):
137+ The domain is unlocked and can be transferred
138+ to another registrar.
139+ LOCKED (2):
140+ The domain is locked and cannot be
141+ transferred to another registrar.
142+ """
92143 TRANSFER_LOCK_STATE_UNSPECIFIED = 0
93144 UNLOCKED = 1
94145 LOCKED = 2
@@ -169,7 +220,40 @@ class Registration(proto.Message):
169220 """
170221
171222 class State (proto .Enum ):
172- r"""Possible states of a ``Registration``."""
223+ r"""Possible states of a ``Registration``.
224+
225+ Values:
226+ STATE_UNSPECIFIED (0):
227+ The state is undefined.
228+ REGISTRATION_PENDING (1):
229+ The domain is being registered.
230+ REGISTRATION_FAILED (2):
231+ The domain registration failed. You can
232+ delete resources in this state to allow
233+ registration to be retried.
234+ TRANSFER_PENDING (3):
235+ The domain is being transferred from another
236+ registrar to Cloud Domains.
237+ TRANSFER_FAILED (4):
238+ The attempt to transfer the domain from
239+ another registrar to Cloud Domains failed. You
240+ can delete resources in this state and retry the
241+ transfer.
242+ ACTIVE (6):
243+ The domain is registered and operational. The
244+ domain renews automatically as long as it
245+ remains in this state.
246+ SUSPENDED (7):
247+ The domain is suspended and inoperative. For more details,
248+ see the ``issues`` field.
249+ EXPORTED (8):
250+ The domain is no longer managed with Cloud Domains. It may
251+ have been transferred to another registrar or exported for
252+ management in `Google Domains <https://domains.google/>`__.
253+ You can no longer update it with this API, and information
254+ shown about it may be stale. Domains in this state are not
255+ automatically renewed by Cloud Domains.
256+ """
173257 STATE_UNSPECIFIED = 0
174258 REGISTRATION_PENDING = 1
175259 REGISTRATION_FAILED = 2
@@ -180,7 +264,25 @@ class State(proto.Enum):
180264 EXPORTED = 8
181265
182266 class Issue (proto .Enum ):
183- r"""Possible issues with a ``Registration`` that require attention."""
267+ r"""Possible issues with a ``Registration`` that require attention.
268+
269+ Values:
270+ ISSUE_UNSPECIFIED (0):
271+ The issue is undefined.
272+ CONTACT_SUPPORT (1):
273+ Contact the Cloud Support team to resolve a
274+ problem with this domain.
275+ UNVERIFIED_EMAIL (2):
276+ `ICANN <https://icann.org/>`__ requires verification of the
277+ email address in the ``Registration``'s
278+ ``contact_settings.registrant_contact`` field. To verify the
279+ email address, follow the instructions in the email the
280+ ``registrant_contact`` receives following registration. If
281+ you do not complete email verification within 15 days of
282+ registration, the domain is suspended. To resend the
283+ verification email, call ConfigureContactSettings and
284+ provide the current ``registrant_contact.email``.
285+ """
184286 ISSUE_UNSPECIFIED = 0
185287 CONTACT_SUPPORT = 1
186288 UNVERIFIED_EMAIL = 2
@@ -258,7 +360,25 @@ class ManagementSettings(proto.Message):
258360 """
259361
260362 class RenewalMethod (proto .Enum ):
261- r"""Defines how the ``Registration`` is renewed."""
363+ r"""Defines how the ``Registration`` is renewed.
364+
365+ Values:
366+ RENEWAL_METHOD_UNSPECIFIED (0):
367+ The renewal method is undefined.
368+ AUTOMATIC_RENEWAL (1):
369+ The domain is automatically renewed each year .
370+
371+ To disable automatic renewals, delete the resource by
372+ calling ``DeleteRegistration`` or export it by calling
373+ ``ExportRegistration``.
374+ MANUAL_RENEWAL (2):
375+ The domain must be explicitly renewed each year before its
376+ ``expire_time``. This option is only available when the
377+ ``Registration`` is in state ``EXPORTED``.
378+
379+ To manage the domain's current billing and renewal settings,
380+ go to `Google Domains <https://domains.google/>`__.
381+ """
262382 RENEWAL_METHOD_UNSPECIFIED = 0
263383 AUTOMATIC_RENEWAL = 1
264384 MANUAL_RENEWAL = 2
@@ -303,7 +423,22 @@ class DnsSettings(proto.Message):
303423 """
304424
305425 class DsState (proto .Enum ):
306- r"""The publication state of DS records for a ``Registration``."""
426+ r"""The publication state of DS records for a ``Registration``.
427+
428+ Values:
429+ DS_STATE_UNSPECIFIED (0):
430+ DS state is unspecified.
431+ DS_RECORDS_UNPUBLISHED (1):
432+ DNSSEC is disabled for this domain. No DS
433+ records for this domain are published in the
434+ parent DNS zone.
435+ DS_RECORDS_PUBLISHED (2):
436+ DNSSEC is enabled for this domain. Appropriate DS records
437+ for this domain are published in the parent DNS zone. This
438+ option is valid only if the DNS zone referenced in the
439+ ``Registration``'s ``dns_provider`` field is already
440+ DNSSEC-signed.
441+ """
307442 DS_STATE_UNSPECIFIED = 0
308443 DS_RECORDS_UNPUBLISHED = 1
309444 DS_RECORDS_PUBLISHED = 2
@@ -397,6 +532,52 @@ class DsRecord(proto.Message):
397532 class Algorithm (proto .Enum ):
398533 r"""List of algorithms used to create a DNSKEY. Certain
399534 algorithms are not supported for particular domains.
535+
536+ Values:
537+ ALGORITHM_UNSPECIFIED (0):
538+ The algorithm is unspecified.
539+ RSAMD5 (1):
540+ RSA/MD5. Cannot be used for new deployments.
541+ DH (2):
542+ Diffie-Hellman. Cannot be used for new
543+ deployments.
544+ DSA (3):
545+ DSA/SHA1. Not recommended for new
546+ deployments.
547+ ECC (4):
548+ ECC. Not recommended for new deployments.
549+ RSASHA1 (5):
550+ RSA/SHA-1. Not recommended for new
551+ deployments.
552+ DSANSEC3SHA1 (6):
553+ DSA-NSEC3-SHA1. Not recommended for new
554+ deployments.
555+ RSASHA1NSEC3SHA1 (7):
556+ RSA/SHA1-NSEC3-SHA1. Not recommended for new
557+ deployments.
558+ RSASHA256 (8):
559+ RSA/SHA-256.
560+ RSASHA512 (10):
561+ RSA/SHA-512.
562+ ECCGOST (12):
563+ GOST R 34.10-2001.
564+ ECDSAP256SHA256 (13):
565+ ECDSA Curve P-256 with SHA-256.
566+ ECDSAP384SHA384 (14):
567+ ECDSA Curve P-384 with SHA-384.
568+ ED25519 (15):
569+ Ed25519.
570+ ED448 (16):
571+ Ed448.
572+ INDIRECT (252):
573+ Reserved for Indirect Keys. Cannot be used
574+ for new deployments.
575+ PRIVATEDNS (253):
576+ Private algorithm. Cannot be used for new
577+ deployments.
578+ PRIVATEOID (254):
579+ Private algorithm OID. Cannot be used for new
580+ deployments.
400581 """
401582 ALGORITHM_UNSPECIFIED = 0
402583 RSAMD5 = 1
@@ -420,6 +601,18 @@ class Algorithm(proto.Enum):
420601 class DigestType (proto .Enum ):
421602 r"""List of hash functions that may have been used to generate a
422603 digest of a DNSKEY.
604+
605+ Values:
606+ DIGEST_TYPE_UNSPECIFIED (0):
607+ The DigestType is unspecified.
608+ SHA1 (1):
609+ SHA-1. Not recommended for new deployments.
610+ SHA256 (2):
611+ SHA-256.
612+ GOST3411 (3):
613+ GOST R 34.11-94.
614+ SHA384 (4):
615+ SHA-384.
423616 """
424617 DIGEST_TYPE_UNSPECIFIED = 0
425618 SHA1 = 1
@@ -1156,7 +1349,25 @@ class RegisterParameters(proto.Message):
11561349 """
11571350
11581351 class Availability (proto .Enum ):
1159- r"""Possible availability states of a domain name."""
1352+ r"""Possible availability states of a domain name.
1353+
1354+ Values:
1355+ AVAILABILITY_UNSPECIFIED (0):
1356+ The availability is unspecified.
1357+ AVAILABLE (1):
1358+ The domain is available for registration.
1359+ UNAVAILABLE (2):
1360+ The domain is not available for registration.
1361+ Generally this means it is already registered to
1362+ another party.
1363+ UNSUPPORTED (3):
1364+ The domain is not currently supported by
1365+ Cloud Domains, but may be available elsewhere.
1366+ UNKNOWN (4):
1367+ Cloud Domains is unable to determine domain
1368+ availability, generally due to system
1369+ maintenance at the domain name registry.
1370+ """
11601371 AVAILABILITY_UNSPECIFIED = 0
11611372 AVAILABLE = 1
11621373 UNAVAILABLE = 2
0 commit comments