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.
17924 17925 17926 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
17912 17913 17914 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17912 def answer_record @answer_record end |
#generator_suggestion ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Corresponds to the JSON property generatorSuggestion
17917 17918 17919 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17917 def generator_suggestion @generator_suggestion end |
#source_generator ⇒ String
Corresponds to the JSON property sourceGenerator
17922 17923 17924 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17922 def source_generator @source_generator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17929 17930 17931 17932 17933 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17929 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 |