Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

The response message for Conversations.GenerateStatelessSuggestion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse

Returns a new instance of GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse.



13688
13689
13690
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13688

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

Instance Attribute Details

#generator_suggestionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion

Suggestion generated using a Generator. Corresponds to the JSON property generatorSuggestion



13686
13687
13688
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13686

def generator_suggestion
  @generator_suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13693
13694
13695
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13693

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