Reference documentation and code samples for the Google Cloud Domains V1 Client class 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.
Protobuf type google.cloud.domains.v1.ContactPrivacy
Namespace
Google \ Cloud \ Domains \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
CONTACT_PRIVACY_UNSPECIFIED
Value: 0
The contact privacy settings are undefined.
Generated from protobuf enum CONTACT_PRIVACY_UNSPECIFIED = 0;
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.
Generated from protobuf enum PUBLIC_CONTACT_DATA = 1;
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.
Generated from protobuf enum PRIVATE_CONTACT_DATA = 2;
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.
Generated from protobuf enum REDACTED_CONTACT_DATA = 3;
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Domains V1 Client - Class ContactPrivacy (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-domains/latest/V1.ContactPrivacy)\n- [1.0.3](/php/docs/reference/cloud-domains/1.0.3/V1.ContactPrivacy)\n- [0.5.5](/php/docs/reference/cloud-domains/0.5.5/V1.ContactPrivacy)\n- [0.4.2](/php/docs/reference/cloud-domains/0.4.2/V1.ContactPrivacy)\n- [0.3.1](/php/docs/reference/cloud-domains/0.3.1/V1.ContactPrivacy)\n- [0.2.11](/php/docs/reference/cloud-domains/0.2.11/V1.ContactPrivacy) \nReference documentation and code samples for the Google Cloud Domains V1 Client class ContactPrivacy.\n\nDefines a set of possible contact privacy settings for a `Registration`.\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\nProtobuf type `google.cloud.domains.v1.ContactPrivacy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Domains \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CONTACT_PRIVACY_UNSPECIFIED\n\n Value: 0\n\nThe contact privacy settings are undefined.\n\nGenerated from protobuf enum `CONTACT_PRIVACY_UNSPECIFIED = 0;`\n\n### PUBLIC_CONTACT_DATA\n\n Value: 1\n\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\nGenerated from protobuf enum `PUBLIC_CONTACT_DATA = 1;`\n\n### PRIVATE_CONTACT_DATA\n\n Value: 2\n\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\nGenerated from protobuf enum `PRIVATE_CONTACT_DATA = 2;`\n\n### REDACTED_CONTACT_DATA\n\n Value: 3\n\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).\n\nGenerated from protobuf enum `REDACTED_CONTACT_DATA = 3;`"]]