Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
- 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
-
#generator_suggestion_answers ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer>
Corresponds to the JSON property
generatorSuggestionAnswers. -
#latest_message ⇒ String
Corresponds to the JSON property
latestMessage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
Returns a new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse.
18557 18558 18559 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generator_suggestion_answers ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer>
Corresponds to the JSON property generatorSuggestionAnswers
18550 18551 18552 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18550 def generator_suggestion_answers @generator_suggestion_answers end |
#latest_message ⇒ String
Corresponds to the JSON property latestMessage
18555 18556 18557 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18555 def @latest_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18562 18563 18564 18565 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18562 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 |