# GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::Contact (v0.14.1)

0.14.1 (latest) 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::Contact.

Contact details of a point of contact.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #email

    def email() -> ::String

**Returns**

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

### #email=

    def email=(value) -> ::String

**Parameter**

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

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

### #family_name

    def family_name() -> ::String

**Returns**

- (::String) --- Optional. Family name of the contact.

### #family_name=

    def family_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Family name of the contact.
**Returns**

- (::String) --- Optional. Family name of the contact.

### #given_name

    def given_name() -> ::String

**Returns**

- (::String) --- Required. Given name of the contact.

### #given_name=

    def given_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Given name of the contact.
**Returns**

- (::String) --- Required. Given name of the contact.

### #phone

    def phone() -> ::String

**Returns**

- (::String) --- Required. Phone number of the contact.

### #phone=

    def phone=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Phone number of the contact.
**Returns**

- (::String) --- Required. Phone number of the contact.

### #reachable_times

    def reachable_times() -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::TimePeriod>

**Returns**

- (::Array\<[::Google::Cloud::GDCHardwareManagement::V1alpha::TimePeriod](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-TimePeriod)\>) --- Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.

### #reachable_times=

    def reachable_times=(value) -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::TimePeriod>

**Parameter**

- **value** (::Array\<[::Google::Cloud::GDCHardwareManagement::V1alpha::TimePeriod](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-TimePeriod)\>) --- Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.
**Returns**

- (::Array\<[::Google::Cloud::GDCHardwareManagement::V1alpha::TimePeriod](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-TimePeriod)\>) --- Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.

### #time_zone

    def time_zone() -> ::Google::Type::TimeZone

**Returns**

- ([::Google::Type::TimeZone](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-TimeZone)) --- Optional. Time zone of the contact.

### #time_zone=

    def time_zone=(value) -> ::Google::Type::TimeZone

**Parameter**

- **value** ([::Google::Type::TimeZone](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-TimeZone)) --- Optional. Time zone of the contact.
**Returns**

- ([::Google::Type::TimeZone](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-TimeZone)) --- Optional. Time zone of the contact.