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.



11918
11919
11920
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11918

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



11916
11917
11918
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11916

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11923
11924
11925
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11923

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