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.
17887 17888 17889 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17887 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
17875 17876 17877 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17875 def answer_record @answer_record end |
#generator_suggestion ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Corresponds to the JSON property generatorSuggestion
17880 17881 17882 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17880 def generator_suggestion @generator_suggestion end |
#source_generator ⇒ String
Corresponds to the JSON property sourceGenerator
17885 17886 17887 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17885 def source_generator @source_generator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17892 17893 17894 17895 17896 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17892 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 |