# Essential Contacts V1 API - Class Google::Cloud::EssentialContacts::V1::UpdateContactRequest (v1.6.1)

1.6.1 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.2 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Essential Contacts V1 API class Google::Cloud::EssentialContacts::V1::UpdateContactRequest.

Request message for the UpdateContact method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #contact

    def contact() -> ::Google::Cloud::EssentialContacts::V1::Contact

**Returns**

- ([::Google::Cloud::EssentialContacts::V1::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-essential_contacts-v1/latest/Google-Cloud-EssentialContacts-V1-Contact)) --- Required. The contact resource to replace the existing saved contact. Note: the email address of the contact cannot be modified.

### #contact=

    def contact=(value) -> ::Google::Cloud::EssentialContacts::V1::Contact

**Parameter**

- **value** ([::Google::Cloud::EssentialContacts::V1::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-essential_contacts-v1/latest/Google-Cloud-EssentialContacts-V1-Contact)) --- Required. The contact resource to replace the existing saved contact. Note: the email address of the contact cannot be modified.
**Returns**

- ([::Google::Cloud::EssentialContacts::V1::Contact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-essential_contacts-v1/latest/Google-Cloud-EssentialContacts-V1-Contact)) --- Required. The contact resource to replace the existing saved contact. Note: the email address of the contact cannot be modified.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-essential_contacts-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The update mask applied to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-essential_contacts-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The update mask applied to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-essential_contacts-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The update mask applied to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask