Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
- 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
The response message for Conversations.SearchKnowledge.
Instance Attribute Summary collapse
-
#answers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer>
Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeResponse
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeResponse.
17049 17050 17051 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer>
Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
Corresponds to the JSON property answers
17047 17048 17049 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17047 def answers @answers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17054 17055 17056 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17054 def update!(**args) @answers = args[:answers] if args.key?(:answers) end |