Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Request of MatchIntent.
Instance Attribute Summary collapse
-
#query_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput
Represents the query input.
-
#query_params ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters
Represents the parameters of a conversational query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1MatchIntentRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1MatchIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1MatchIntentRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1MatchIntentRequest.
5481 5482 5483 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput
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.
Corresponds to the JSON property queryInput
5474 5475 5476 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5474 def query_input @query_input end |
#query_params ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters
Represents the parameters of a conversational query.
Corresponds to the JSON property queryParams
5479 5480 5481 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5479 def query_params @query_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5486 5487 5488 5489 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5486 def update!(**args) @query_input = args[:query_input] if args.key?(:query_input) @query_params = args[:query_params] if args.key?(:query_params) end |