Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#generator_suggestion ⇒ Google::Apis::DialogflowV2::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.
18959 18960 18961 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18959 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
18947 18948 18949 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18947 def answer_record @answer_record end |
#generator_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Corresponds to the JSON property generatorSuggestion
18952 18953 18954 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18952 def generator_suggestion @generator_suggestion end |
#source_generator ⇒ String
Corresponds to the JSON property sourceGenerator
18957 18958 18959 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18957 def source_generator @source_generator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18964 18965 18966 18967 18968 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18964 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 |