Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext

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

Context of the conversation, including transcripts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationContext

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationContext.



12539
12540
12541
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12539

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

Instance Attribute Details

#message_entriesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry>

Optional. List of message transcripts in the conversation. Corresponds to the JSON property messageEntries



12537
12538
12539
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12537

def message_entries
  @message_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12544
12545
12546
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12544

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