Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext
- 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
-
#message_entries ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationContext
constructor
A new instance of GoogleCloudDialogflowV2beta1ConversationContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationContext
Returns a new instance of GoogleCloudDialogflowV2beta1ConversationContext.
12122 12123 12124 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12122 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message_entries ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry>
Optional. List of message transcripts in the conversation.
Corresponds to the JSON property messageEntries
12120 12121 12122 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12120 def @message_entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12127 12128 12129 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12127 def update!(**args) @message_entries = args[:message_entries] if args.key?(:message_entries) end |