Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult
- 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::GoogleCloudDialogflowV2GenerateSuggestionsResponse
Corresponds to the JSON property
generateSuggestionsResponse. -
#suggest_articles_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestArticlesResponse
Corresponds to the JSON property
suggestArticlesResponse. -
#suggest_faq_answers_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse
Corresponds to the JSON property
suggestFaqAnswersResponse. -
#suggest_knowledge_assist_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
Corresponds to the JSON property
suggestKnowledgeAssistResponse. -
#suggest_smart_replies_response ⇒ Google::Apis::DialogflowV2::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.
16262 16263 16264 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property error
16235 16236 16237 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16235 def error @error end |
#generate_suggestions_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateSuggestionsResponse
Corresponds to the JSON property generateSuggestionsResponse
16240 16241 16242 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16240 def generate_suggestions_response @generate_suggestions_response end |
#suggest_articles_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestArticlesResponse
Corresponds to the JSON property suggestArticlesResponse
16245 16246 16247 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16245 def suggest_articles_response @suggest_articles_response end |
#suggest_faq_answers_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse
Corresponds to the JSON property suggestFaqAnswersResponse
16250 16251 16252 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16250 def suggest_faq_answers_response @suggest_faq_answers_response end |
#suggest_knowledge_assist_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
Corresponds to the JSON property suggestKnowledgeAssistResponse
16255 16256 16257 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16255 def suggest_knowledge_assist_response @suggest_knowledge_assist_response end |
#suggest_smart_replies_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesResponse
Corresponds to the JSON property suggestSmartRepliesResponse
16260 16261 16262 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16260 def suggest_smart_replies_response @suggest_smart_replies_response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16267 16268 16269 16270 16271 16272 16273 16274 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16267 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 |