Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#generator_suggestion ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Corresponds to the JSON property
generatorSuggestion. -
#source_generator ⇒ String
Corresponds to the JSON property
sourceGenerator.
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.
18023 18024 18025 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
18011 18012 18013 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18011 def answer_record @answer_record end |
#generator_suggestion ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Corresponds to the JSON property generatorSuggestion
18016 18017 18018 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18016 def generator_suggestion @generator_suggestion end |
#source_generator ⇒ String
Corresponds to the JSON property sourceGenerator
18021 18022 18023 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18021 def source_generator @source_generator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18028 18029 18030 18031 18032 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18028 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 |