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.



9248
9249
9250
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9248

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

Instance Attribute Details

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

Messages created. Corresponds to the JSON property messages



9246
9247
9248
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9246

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9253
9254
9255
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9253

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