Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
The response message for Conversations.GenerateSuggestions.
Instance Attribute Summary collapse
-
#generator_suggestion_answers ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer>
The answers generated for the conversation based on context.
-
#latest_message ⇒ String
The name of the latest conversation message used as context for compiling suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
Returns a new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse.
21456 21457 21458 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generator_suggestion_answers ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer>
The answers generated for the conversation based on context.
Corresponds to the JSON property generatorSuggestionAnswers
21448 21449 21450 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21448 def generator_suggestion_answers @generator_suggestion_answers end |
#latest_message ⇒ String
The name of the latest conversation message used as context for compiling
suggestion. Format: projects//locations//conversations//messages/.
Corresponds to the JSON property latestMessage
21454 21455 21456 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21454 def @latest_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21461 21462 21463 21464 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21461 def update!(**args) @generator_suggestion_answers = args[:generator_suggestion_answers] if args.key?(:generator_suggestion_answers) @latest_message = args[:latest_message] if args.key?(:latest_message) end |