Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest
- 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 request message for Conversations.GenerateSuggestions.
Instance Attribute Summary collapse
-
#latest_message ⇒ String
Optional.
-
#trigger_events ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest
Returns a new instance of GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest.
15629 15630 15631 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#latest_message ⇒ String
Optional. The name of the latest conversation message for which the request is
triggered. Format: projects//locations//conversations//messages/.
Corresponds to the JSON property latestMessage
15621 15622 15623 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15621 def @latest_message end |
#trigger_events ⇒ Array<String>
Optional. A list of trigger events. Only generators configured in the
conversation_profile whose trigger_event is listed here will be triggered.
Corresponds to the JSON property triggerEvents
15627 15628 15629 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15627 def trigger_events @trigger_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15634 15635 15636 15637 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15634 def update!(**args) @latest_message = args[:latest_message] if args.key?(:latest_message) @trigger_events = args[:trigger_events] if args.key?(:trigger_events) end |