public sealed class Contact : IMessage<Contact>, IEquatable<Contact>, IDeepCloneable<Contact>, IBufferMessage, IMessage
A contact that will receive notifications from Google Cloud.
Implements
IMessage<Contact>, IEquatable<Contact>, IDeepCloneable<Contact>, IBufferMessage, IMessageNamespace
Google.Cloud.EssentialContacts.V1Assembly
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 |
public string Email { get; set; }
Required. The email address to send notifications to. This does not need to be a Google account.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
Property Value | |
---|---|
Type | Description |
String |
NotificationCategorySubscriptions
public RepeatedField<NotificationCategory> NotificationCategorySubscriptions { get; }
The categories of notifications that the contact will receive communications for.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
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 |