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.
12455 12456 12457 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12455 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
12453 12454 12455 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12453 def @message_entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12460 12461 12462 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12460 def update!(**args) @message_entries = args[:message_entries] if args.key?(:message_entries) end |