# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::ContactSettings::Contact (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::Contact.

Details required for a contact associated with a `Registration`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #email

    def email() -> ::String

**Returns**

- (::String) --- Required. Email address of the contact.

### #email=

    def email=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Email address of the contact.
**Returns**

- (::String) --- Required. Email address of the contact.

### #fax_number

    def fax_number() -> ::String

**Returns**

- (::String) --- Fax number of the contact in international format. For example, `"+1-800-555-0123"`.

### #fax_number=

    def fax_number=(value) -> ::String

**Parameter**

- **value** (::String) --- Fax number of the contact in international format. For example, `"+1-800-555-0123"`.
**Returns**

- (::String) --- Fax number of the contact in international format. For example, `"+1-800-555-0123"`.

### #phone_number

    def phone_number() -> ::String

**Returns**

- (::String) --- Required. Phone number of the contact in international format. For example, `"+1-800-555-0123"`.

### #phone_number=

    def phone_number=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Phone number of the contact in international format. For example, `"+1-800-555-0123"`.
**Returns**

- (::String) --- Required. Phone number of the contact in international format. For example, `"+1-800-555-0123"`.

### #postal_address

    def postal_address() -> ::Google::Type::PostalAddress

**Returns**

- ([::Google::Type::PostalAddress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Type-PostalAddress)) --- Required. Postal address of the contact.

### #postal_address=

    def postal_address=(value) -> ::Google::Type::PostalAddress

**Parameter**

- **value** ([::Google::Type::PostalAddress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Type-PostalAddress)) --- Required. Postal address of the contact.
**Returns**

- ([::Google::Type::PostalAddress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Type-PostalAddress)) --- Required. Postal address of the contact.