# Google Cloud Domains V1 Client - Class ContactPrivacy (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.5.5 0.4.2 0.3.1 0.2.11 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](https://icann.org/) 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](https://support.google.com/domains/answer/3251242).

Generated from protobuf enum `REDACTED_CONTACT_DATA = 3;`