Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3MatchIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3MatchIntentRequest
- 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
Overview
Request of MatchIntent.
Instance Attribute Summary collapse
-
#persist_parameter_changes ⇒ Boolean
(also: #persist_parameter_changes?)
Persist session parameter changes from
query_params
. -
#query_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput
Represents the query input.
-
#query_params ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryParameters
Represents the parameters of a conversational query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3MatchIntentRequest
constructor
A new instance of GoogleCloudDialogflowCxV3MatchIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3MatchIntentRequest
Returns a new instance of GoogleCloudDialogflowCxV3MatchIntentRequest.
5367 5368 5369 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5367 def initialize(**args) update!(**args) end |
Instance Attribute Details
#persist_parameter_changes ⇒ Boolean Also known as: persist_parameter_changes?
Persist session parameter changes from query_params
.
Corresponds to the JSON property persistParameterChanges
5350 5351 5352 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5350 def persist_parameter_changes @persist_parameter_changes end |
#query_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput
Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger.
- Natural language speech audio to be processed. 4. An event to be triggered.
- DTMF digits to invoke an intent and fill in parameter value. 6. The
results of a tool executed by the client.
Corresponds to the JSON property
queryInput
5360 5361 5362 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5360 def query_input @query_input end |
#query_params ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryParameters
Represents the parameters of a conversational query.
Corresponds to the JSON property queryParams
5365 5366 5367 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5365 def query_params @query_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5372 5373 5374 5375 5376 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5372 def update!(**args) @persist_parameter_changes = args[:persist_parameter_changes] if args.key?(:persist_parameter_changes) @query_input = args[:query_input] if args.key?(:query_input) @query_params = args[:query_params] if args.key?(:query_params) end |