Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

The request message for Conversations.BatchCreateMessagesRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest

Returns a new instance of GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest.



10015
10016
10017
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10015

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#requestsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateMessageRequest>

Required. A maximum of 300 messages can be created in a batch. CreateMessageRequest.message.send_time is required. All created messages will have identical Message.create_time. Corresponds to the JSON property requests



10013
10014
10015
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10013

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10020
10021
10022
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10020

def update!(**args)
  @requests = args[:requests] if args.key?(:requests)
end