# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::ContactSettings (v1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Domains V1 API class Google::Cloud::Domains::V1::ContactSettings.

Defines the contact information associated with a `Registration`.


<br />

[ICANN](https://icann.org/) 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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #admin_contact

    def admin_contact() -> ::Google::Cloud::Domains::V1::ContactSettings::Contact

**Returns**

- ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-Contact)) --- Required. The administrative contact for the `Registration`.

### #admin_contact=

    def admin_contact=(value) -> ::Google::Cloud::Domains::V1::ContactSettings::Contact

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-Contact)) --- Required. The administrative contact for the `Registration`.
**Returns**

- ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-Contact)) --- Required. The administrative contact for the `Registration`.

### #privacy

    def privacy() -> ::Google::Cloud::Domains::V1::ContactPrivacy

**Returns**

- ([::Google::Cloud::Domains::V1::ContactPrivacy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactPrivacy)) --- Required. Privacy setting for the contacts associated with the `Registration`.

### #privacy=

    def privacy=(value) -> ::Google::Cloud::Domains::V1::ContactPrivacy

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::ContactPrivacy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactPrivacy)) --- Required. Privacy setting for the contacts associated with the `Registration`.
**Returns**

- ([::Google::Cloud::Domains::V1::ContactPrivacy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactPrivacy)) --- Required. Privacy setting for the contacts associated with the `Registration`.

### #registrant_contact

    def registrant_contact() -> ::Google::Cloud::Domains::V1::ContactSettings::Contact

**Returns**

- ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-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.*

### #registrant_contact=

    def registrant_contact=(value) -> ::Google::Cloud::Domains::V1::ContactSettings::Contact

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-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.*
**Returns**

- ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-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.*

### #technical_contact

    def technical_contact() -> ::Google::Cloud::Domains::V1::ContactSettings::Contact

**Returns**

- ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-Contact)) --- Required. The technical contact for the `Registration`.

### #technical_contact=

    def technical_contact=(value) -> ::Google::Cloud::Domains::V1::ContactSettings::Contact

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-Contact)) --- Required. The technical contact for the `Registration`.
**Returns**

- ([::Google::Cloud::Domains::V1::ContactSettings::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-ContactSettings-Contact)) --- Required. The technical contact for the `Registration`.