Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse
- 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
Overview
The response message for Conversations.GenerateStatelessSuggestion.
Instance Attribute Summary collapse
-
#generator_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion
Suggestion generated using a Generator.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse
constructor
A new instance of GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse
Returns a new instance of GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse.
10715 10716 10717 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generator_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion
Suggestion generated using a Generator.
Corresponds to the JSON property generatorSuggestion
10713 10714 10715 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10713 def generator_suggestion @generator_suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10720 10721 10722 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10720 def update!(**args) @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion) end |