Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse

Returns a new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse.



17857
17858
17859
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17857

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

Instance Attribute Details

#generator_suggestion_answersArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer>

Corresponds to the JSON property generatorSuggestionAnswers



17850
17851
17852
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17850

def generator_suggestion_answers
  @generator_suggestion_answers
end

#latest_messageString

Corresponds to the JSON property latestMessage

Returns:

  • (String)


17855
17856
17857
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17855

def latest_message
  @latest_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17862
17863
17864
17865
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17862

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