Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#answers ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswer>
Corresponds to the JSON property
answers. -
#rewritten_query ⇒ String
Corresponds to the JSON property
rewrittenQuery. -
#search_knowledge_debug_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeDebugInfo
Corresponds to the JSON property
searchKnowledgeDebugInfo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeResponse
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeResponse
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeResponse.
15096 15097 15098 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15096 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answers ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswer>
Corresponds to the JSON property answers
15084 15085 15086 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15084 def answers @answers end |
#rewritten_query ⇒ String
Corresponds to the JSON property rewrittenQuery
15089 15090 15091 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15089 def rewritten_query @rewritten_query end |
#search_knowledge_debug_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeDebugInfo
Corresponds to the JSON property searchKnowledgeDebugInfo
15094 15095 15096 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15094 def search_knowledge_debug_info @search_knowledge_debug_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15101 15102 15103 15104 15105 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15101 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 |