Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse

Returns a new instance of GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse.



10140
10141
10142
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10140

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#generator_suggestionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion

Corresponds to the JSON property generatorSuggestion



10138
10139
10140
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10138

def generator_suggestion
  @generator_suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10145
10146
10147
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10145

def update!(**args)
  @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
end