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
Instance Attribute Summary collapse
-
#latest_message ⇒ String
Corresponds to the JSON property
latestMessage. -
#trigger_events ⇒ Array<String>
Corresponds to the JSON property
triggerEvents.
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.
13941 13942 13943 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13941 def initialize(**args) update!(**args) end |
Instance Attribute Details
#latest_message ⇒ String
Corresponds to the JSON property latestMessage
13934 13935 13936 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13934 def @latest_message end |
#trigger_events ⇒ Array<String>
Corresponds to the JSON property triggerEvents
13939 13940 13941 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13939 def trigger_events @trigger_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13946 13947 13948 13949 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13946 def update!(**args) @latest_message = args[:latest_message] if args.key?(:latest_message) @trigger_events = args[:trigger_events] if args.key?(:trigger_events) end |