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.



10018
10019
10020
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10018

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

Instance Attribute Details

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

Messages created. Corresponds to the JSON property messages



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

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10023
10024
10025
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10023

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