Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestionResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestionResult
- 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
-
#error ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property
error. -
#generate_suggestions_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GenerateSuggestionsResponse
Corresponds to the JSON property
generateSuggestionsResponse. -
#suggest_articles_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestArticlesResponse
Corresponds to the JSON property
suggestArticlesResponse. -
#suggest_faq_answers_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse
Corresponds to the JSON property
suggestFaqAnswersResponse. -
#suggest_knowledge_assist_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
Corresponds to the JSON property
suggestKnowledgeAssistResponse. -
#suggest_smart_replies_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse
Corresponds to the JSON property
suggestSmartRepliesResponse.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionResult
constructor
A new instance of GoogleCloudDialogflowV2SuggestionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionResult
Returns a new instance of GoogleCloudDialogflowV2SuggestionResult.
10368 10369 10370 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10368 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property error
10341 10342 10343 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10341 def error @error end |
#generate_suggestions_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2GenerateSuggestionsResponse
Corresponds to the JSON property generateSuggestionsResponse
10346 10347 10348 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10346 def generate_suggestions_response @generate_suggestions_response end |
#suggest_articles_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestArticlesResponse
Corresponds to the JSON property suggestArticlesResponse
10351 10352 10353 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10351 def suggest_articles_response @suggest_articles_response end |
#suggest_faq_answers_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse
Corresponds to the JSON property suggestFaqAnswersResponse
10356 10357 10358 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10356 def suggest_faq_answers_response @suggest_faq_answers_response end |
#suggest_knowledge_assist_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
Corresponds to the JSON property suggestKnowledgeAssistResponse
10361 10362 10363 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10361 def suggest_knowledge_assist_response @suggest_knowledge_assist_response end |
#suggest_smart_replies_response ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse
Corresponds to the JSON property suggestSmartRepliesResponse
10366 10367 10368 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10366 def suggest_smart_replies_response @suggest_smart_replies_response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10373 10374 10375 10376 10377 10378 10379 10380 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10373 def update!(**args) @error = args[:error] if args.key?(:error) @generate_suggestions_response = args[:generate_suggestions_response] if args.key?(:generate_suggestions_response) @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response) @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response) @suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response) @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response) end |