Essential Contacts v1 API - Class SendTestMessageRequest (2.5.0)

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

Reference documentation and code samples for the Essential Contacts v1 API class SendTestMessageRequest.

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
Name Description
other SendTestMessageRequest

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
Type Description
RepeatedFieldstring

ContactsAsContactNames

public ResourceNameList<ContactName> ContactsAsContactNames { get; }

ContactName-typed view over the Contacts resource name property.

Property Value
Type Description
ResourceNameListContactName

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
Type Description
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
Type Description
string

ResourceAsFolderName

public FolderName ResourceAsFolderName { get; set; }

FolderName-typed view over the Resource resource name property.

Property Value
Type Description
FolderName

ResourceAsOrganizationName

public OrganizationName ResourceAsOrganizationName { get; set; }

OrganizationName-typed view over the Resource resource name property.

Property Value
Type Description
OrganizationName

ResourceAsProjectName

public ProjectName ResourceAsProjectName { get; set; }

ProjectName-typed view over the Resource resource name property.

Property Value
Type Description
ProjectName

ResourceAsResourceName

public IResourceName ResourceAsResourceName { get; set; }

IResourceName-typed view over the Resource resource name property.

Property Value
Type Description
IResourceName