Reference documentation and code samples for the Google Cloud Essential Contacts V1 Client class SendTestMessageRequest.
Request message for the SendTestMessage method.
Generated from protobuf message google.cloud.essentialcontacts.v1.SendTestMessageRequest
Namespace
Google \ Cloud \ EssentialContacts \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ contacts
array
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}
↳ resource
string
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}
↳ notification_category
int
Required. The notification category to send the test message for. All contacts must be subscribed to this category.
getContacts
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}
setContacts
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}
var
string[]
$this
getResource
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}
string
setResource
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}
var
string
$this
getNotificationCategory
Required. The notification category to send the test message for. All contacts must be subscribed to this category.
int
setNotificationCategory
Required. The notification category to send the test message for. All contacts must be subscribed to this category.
var
int
$this