Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest
- 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
-
#requests ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1CreateMessageRequest>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest
Returns a new instance of GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest.
11277 11278 11279 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<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
11275 11276 11277 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11275 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11282 11283 11284 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11282 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |