Class Contact (1.1.0)

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

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. This does not need to be a Google account.

Property Value
TypeDescription
String

LanguageTag

public string LanguageTag { get; set; }

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; }

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

Property Value
TypeDescription
String

NotificationCategorySubscriptions

public RepeatedField<NotificationCategory> NotificationCategorySubscriptions { get; }

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

Property Value
TypeDescription
RepeatedField<NotificationCategory>

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