class Google::Apis::EssentialcontactsV1::GoogleCloudEssentialcontactsV1SendTestMessageRequest
Request message for the SendTestMessage method.
Attributes
contacts[RW]
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` Corresponds to the JSON property `contacts` @return [Array<String>]
notification_category[RW]
Required. The notification category to send the test message for. All contacts must be subscribed to this category. Corresponds to the JSON property `notificationCategory` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/essentialcontacts_v1/classes.rb, line 157 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/essentialcontacts_v1/classes.rb, line 162 def update!(**args) @contacts = args[:contacts] if args.key?(:contacts) @notification_category = args[:notification_category] if args.key?(:notification_category) end