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.



12459
12460
12461
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12459

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



12457
12458
12459
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12457

def message_entries
  @message_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12464
12465
12466
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12464

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