Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
- 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
Overview
A GeneratorSuggestion answer.
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Answer record that uniquely identifies the suggestion.
-
#generator_suggestion ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Suggestion generated using a Generator.
-
#source_generator ⇒ String
The name of the generator used to generate this suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
constructor
A new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
Returns a new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer.
15687 15688 15689 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Answer record that uniquely identifies the suggestion. This can be used to
provide suggestion feedback.
Corresponds to the JSON property answerRecord
15674 15675 15676 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15674 def answer_record @answer_record end |
#generator_suggestion ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Suggestion generated using a Generator.
Corresponds to the JSON property generatorSuggestion
15679 15680 15681 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15679 def generator_suggestion @generator_suggestion end |
#source_generator ⇒ String
The name of the generator used to generate this suggestion. Format: projects//
locations//generators/.
Corresponds to the JSON property sourceGenerator
15685 15686 15687 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15685 def source_generator @source_generator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15692 15693 15694 15695 15696 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15692 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion) @source_generator = args[:source_generator] if args.key?(:source_generator) end |