2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class Contact : IMessage<Contact>, IEquatable<Contact>, IDeepCloneable<Contact>, IBufferMessage, IMessage

Reference documentation and code samples for the Essential Contacts v1 API class Contact.

A contact that will receive notifications from Google Cloud.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Contact

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Contact](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.Contact.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Contact](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.Contact.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Contact](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.Contact.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.EssentialContacts.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.md.txt)

## Assembly

Google.Cloud.EssentialContacts.V1.dll

## Constructors

### Contact()

    public Contact()

### Contact(Contact)

    public Contact(Contact other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Contact` |

## Properties

### ContactName

    public ContactName ContactName { get; set; }

[ContactName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.ContactName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EssentialContacts.V1/latest/Google.Cloud.EssentialContacts.V1.Contact.md.txt#Google_Cloud_EssentialContacts_V1_Contact_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ContactName` |   |

### Email

    public string Email { get; set; }

Required. The email address to send notifications to. The email address
does not need to be a Google Account.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### LanguageTag

    public string LanguageTag { get; set; }

Required. The preferred language for notifications, as a ISO 639-1 language
code. See [Supported
languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages)
for a list of supported languages.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Name

    public string Name { get; set; }

Output only. The identifier for the contact.
Format: {resource_type}/{resource_id}/contacts/{contact_id}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NotificationCategorySubscriptions

    public RepeatedField<NotificationCategory> NotificationCategorySubscriptions { get; }

Required. The categories of notifications that the contact will receive
communications for.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldNotificationCategory` |   |

### ValidateTime

    public Timestamp ValidateTime { get; set; }

The last time the validation_state was updated, either manually or
automatically. A contact is considered stale if its validation state was
updated more than 1 year ago.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### ValidationState

    public ValidationState ValidationState { get; set; }

Output only. The validity of the contact. A contact is considered valid if
it is the correct recipient for notifications for a particular resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ValidationState` |   |