Essential Contacts v1 API - Class Contact (2.5.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 > Contact

Namespace

Google.Cloud.EssentialContacts.V1

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-typed view over the 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 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; }

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