Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1FeedbackConversationInfo
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1FeedbackConversationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
The conversation information such as the question index and session name.
Instance Attribute Summary collapse
-
#question_index ⇒ Fixnum
The index of the user input within the conversation messages.
-
#session ⇒ String
Name of the newly generated or continued session.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1FeedbackConversationInfo
constructor
A new instance of GoogleCloudDiscoveryengineV1FeedbackConversationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1FeedbackConversationInfo
Returns a new instance of GoogleCloudDiscoveryengineV1FeedbackConversationInfo.
4969 4970 4971 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#question_index ⇒ Fixnum
The index of the user input within the conversation messages.
Corresponds to the JSON property questionIndex
4962 4963 4964 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4962 def question_index @question_index end |
#session ⇒ String
Name of the newly generated or continued session.
Corresponds to the JSON property session
4967 4968 4969 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4967 def session @session end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4974 4975 4976 4977 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4974 def update!(**args) @question_index = args[:question_index] if args.key?(:question_index) @session = args[:session] if args.key?(:session) end |