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
Instance Attribute Summary collapse
-
#answers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer>
Corresponds to the JSON property
answers. -
#rewritten_query ⇒ String
Corresponds to the JSON property
rewrittenQuery. -
#search_knowledge_debug_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo
Corresponds to the JSON property
searchKnowledgeDebugInfo.
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.
19670 19671 19672 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer>
Corresponds to the JSON property answers
19658 19659 19660 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19658 def answers @answers end |
#rewritten_query ⇒ String
Corresponds to the JSON property rewrittenQuery
19663 19664 19665 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19663 def rewritten_query @rewritten_query end |
#search_knowledge_debug_info ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo
Corresponds to the JSON property searchKnowledgeDebugInfo
19668 19669 19670 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19668 def search_knowledge_debug_info @search_knowledge_debug_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19675 19676 19677 19678 19679 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19675 def update!(**args) @answers = args[:answers] if args.key?(:answers) @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query) @search_knowledge_debug_info = args[:search_knowledge_debug_info] if args.key?(:search_knowledge_debug_info) end |