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.



12017
12018
12019
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12017

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

Instance Attribute Details

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

Messages created. Corresponds to the JSON property messages



12015
12016
12017
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12015

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12022
12023
12024
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12022

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