Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#query_text ⇒ String
Corresponds to the JSON property
queryText. -
#search_contexts ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext>
Corresponds to the JSON property
searchContexts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery.
15829 15830 15831 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15829 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_text ⇒ String
Corresponds to the JSON property queryText
15822 15823 15824 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15822 def query_text @query_text end |
#search_contexts ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext>
Corresponds to the JSON property searchContexts
15827 15828 15829 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15827 def search_contexts @search_contexts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15834 15835 15836 15837 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15834 def update!(**args) @query_text = args[:query_text] if args.key?(:query_text) @search_contexts = args[:search_contexts] if args.key?(:search_contexts) end |