Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestionResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestionResult
- 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
-
#error ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property
error. -
#generate_suggestions_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
Corresponds to the JSON property
generateSuggestionsResponse. -
#suggest_articles_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestArticlesResponse
Corresponds to the JSON property
suggestArticlesResponse. -
#suggest_dialogflow_assists_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
Corresponds to the JSON property
suggestDialogflowAssistsResponse. -
#suggest_entity_extraction_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
Corresponds to the JSON property
suggestEntityExtractionResponse. -
#suggest_faq_answers_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
Corresponds to the JSON property
suggestFaqAnswersResponse. -
#suggest_knowledge_assist_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
Corresponds to the JSON property
suggestKnowledgeAssistResponse. -
#suggest_smart_replies_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
Corresponds to the JSON property
suggestSmartRepliesResponse.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SuggestionResult
constructor
A new instance of GoogleCloudDialogflowV2beta1SuggestionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SuggestionResult
Returns a new instance of GoogleCloudDialogflowV2beta1SuggestionResult.
22283 22284 22285 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property error
22246 22247 22248 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22246 def error @error end |
#generate_suggestions_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
Corresponds to the JSON property generateSuggestionsResponse
22251 22252 22253 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22251 def generate_suggestions_response @generate_suggestions_response end |
#suggest_articles_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestArticlesResponse
Corresponds to the JSON property suggestArticlesResponse
22256 22257 22258 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22256 def suggest_articles_response @suggest_articles_response end |
#suggest_dialogflow_assists_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
Corresponds to the JSON property suggestDialogflowAssistsResponse
22261 22262 22263 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22261 def suggest_dialogflow_assists_response @suggest_dialogflow_assists_response end |
#suggest_entity_extraction_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
Corresponds to the JSON property suggestEntityExtractionResponse
22266 22267 22268 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22266 def suggest_entity_extraction_response @suggest_entity_extraction_response end |
#suggest_faq_answers_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
Corresponds to the JSON property suggestFaqAnswersResponse
22271 22272 22273 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22271 def suggest_faq_answers_response @suggest_faq_answers_response end |
#suggest_knowledge_assist_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
Corresponds to the JSON property suggestKnowledgeAssistResponse
22276 22277 22278 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22276 def suggest_knowledge_assist_response @suggest_knowledge_assist_response end |
#suggest_smart_replies_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
Corresponds to the JSON property suggestSmartRepliesResponse
22281 22282 22283 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22281 def suggest_smart_replies_response @suggest_smart_replies_response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22288 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_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response) @suggest_entity_extraction_response = args[:suggest_entity_extraction_response] if args.key?(:suggest_entity_extraction_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 |