Reference documentation and code samples for the Cloud Domains V1beta1 API module Google::Cloud::Domains::V1beta1::ContactPrivacy.
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.
Constants
CONTACT_PRIVACY_UNSPECIFIED
value: 0 The contact privacy settings are undefined.
PUBLIC_CONTACT_DATA
value: 1 All the data from ContactSettings is publicly available. When setting
this option, you must also provide a
PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT in the contact_notices field of the
request.
PRIVATE_CONTACT_DATA
value: 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
value: 3 Some data from ContactSettings is publicly available. The actual
information redacted depends on the domain. For details, see the
registration privacy
article.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Domains V1beta1 API - Module Google::Cloud::Domains::V1beta1::ContactPrivacy (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.11.1](/ruby/docs/reference/google-cloud-domains-v1beta1/0.11.1/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.10.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.10.0/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.9.1](/ruby/docs/reference/google-cloud-domains-v1beta1/0.9.1/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.8.2](/ruby/docs/reference/google-cloud-domains-v1beta1/0.8.2/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.7.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.7.0/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.6.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.6.0/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.5.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.5.0/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.4.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.4.0/Google-Cloud-Domains-V1beta1-ContactPrivacy)\n- [0.3.2](/ruby/docs/reference/google-cloud-domains-v1beta1/0.3.2/Google-Cloud-Domains-V1beta1-ContactPrivacy) \nReference documentation and code samples for the Cloud Domains V1beta1 API module Google::Cloud::Domains::V1beta1::ContactPrivacy.\n\nDefines a set of possible contact privacy settings for a `Registration`.\n\n\n\u003cbr /\u003e\n\n[ICANN](https://icann.org/) maintains the WHOIS database, a publicly\naccessible mapping from domain name to contact information, and requires that\neach domain name have an entry. Choose from these options to control how much\ninformation in your `ContactSettings` is published.\n\nConstants\n---------\n\n### CONTACT_PRIVACY_UNSPECIFIED\n\n**value:** 0 \nThe contact privacy settings are undefined.\n\n### PUBLIC_CONTACT_DATA\n\n**value:** 1 \nAll the data from `ContactSettings` is publicly available. When setting\nthis option, you must also provide a\n`PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the\nrequest.\n\n### PRIVATE_CONTACT_DATA\n\n**value:** 2 \nNone of the data from `ContactSettings` is publicly available. Instead,\nproxy contact data is published for your domain. Email sent to the proxy\nemail address is forwarded to the registrant's email address. Cloud Domains\nprovides this privacy proxy service at no additional cost.\n\n### REDACTED_CONTACT_DATA\n\n**value:** 3 \nSome data from `ContactSettings` is publicly available. The actual\ninformation redacted depends on the domain. For details, see [the\nregistration privacy\narticle](https://support.google.com/domains/answer/3251242)."]]