Class SendTestMessageRequest (1.1.0)

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

Request message for the SendTestMessage method.

Inheritance

Object > SendTestMessageRequest

Namespace

Google.Cloud.EssentialContacts.V1

Assembly

Google.Cloud.EssentialContacts.V1.dll

Constructors

SendTestMessageRequest()

public SendTestMessageRequest()

SendTestMessageRequest(SendTestMessageRequest)

public SendTestMessageRequest(SendTestMessageRequest other)
Parameter
NameDescription
otherSendTestMessageRequest

Properties

Contacts

public RepeatedField<string> Contacts { get; }

Required. The list of names of the contacts to send a test message to. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}

Property Value
TypeDescription
RepeatedField<String>

ContactsAsContactNames

public ResourceNameList<ContactName> ContactsAsContactNames { get; }

ContactName-typed view over the Contacts resource name property.

Property Value
TypeDescription
ResourceNameList<ContactName>

NotificationCategory

public NotificationCategory NotificationCategory { get; set; }

Required. The notification category to send the test message for. All contacts must be subscribed to this category.

Property Value
TypeDescription
NotificationCategory

Resource

public string Resource { get; set; }

Required. The name of the resource to send the test message for. All contacts must either be set directly on this resource or inherited from another resource that is an ancestor of this one. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}

Property Value
TypeDescription
String

ResourceAsFolderName

public FolderName ResourceAsFolderName { get; set; }

FolderName-typed view over the Resource resource name property.

Property Value
TypeDescription
FolderName

ResourceAsOrganizationName

public OrganizationName ResourceAsOrganizationName { get; set; }

OrganizationName-typed view over the Resource resource name property.

Property Value
TypeDescription
OrganizationName

ResourceAsProjectName

public ProjectName ResourceAsProjectName { get; set; }

ProjectName-typed view over the Resource resource name property.

Property Value
TypeDescription
ProjectName

ResourceAsResourceName

public IResourceName ResourceAsResourceName { get; set; }

IResourceName-typed view over the Resource resource name property.

Property Value
TypeDescription
IResourceName