Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse

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.BatchCreateMessagesResponse.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse

Returns a new instance of GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse.



10034
10035
10036
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10034

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

Instance Attribute Details

#messagesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message>

Messages created. Corresponds to the JSON property messages



10032
10033
10034
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10032

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10039
10040
10041
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10039

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