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

Properties

ContactName

public ContactName ContactName { get; set; }

ContactName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

NotificationCategorySubscriptions

public RepeatedField<NotificationCategory> NotificationCategorySubscriptions { get; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
ValidationState