Essential Contacts V1 API - Class Google::Cloud::EssentialContacts::V1::SendTestMessageRequest (v1.0.0)

Reference documentation and code samples for the Essential Contacts V1 API class Google::Cloud::EssentialContacts::V1::SendTestMessageRequest.

Request message for the SendTestMessage method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#contacts

def contacts() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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}

#contacts=

def contacts=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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}
Returns
  • (::Array<::String>) — 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}

#notification_category

def notification_category() -> ::Google::Cloud::EssentialContacts::V1::NotificationCategory
Returns

#notification_category=

def notification_category=(value) -> ::Google::Cloud::EssentialContacts::V1::NotificationCategory
Parameter
Returns

#resource

def resource() -> ::String
Returns
  • (::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}

#resource=

def resource=(value) -> ::String
Parameter
  • value (::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}
Returns
  • (::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}