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.
12539 12540 12541 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12539 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
12537 12538 12539 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12537 def @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 |