Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest
- 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
The request to detect user's intent.
Instance Attribute Summary collapse
-
#output_audio_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio content.
-
#query_input ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput
Represents the query input.
-
#query_params ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters
Represents the parameters of a conversational query.
-
#session ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DetectIntentRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DetectIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DetectIntentRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1DetectIntentRequest.
5901 5902 5903 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5901 def initialize(**args) update!(**args) end |
Instance Attribute Details
#output_audio_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio content.
Corresponds to the JSON property outputAudioConfig
5871 5872 5873 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5871 def output_audio_config @output_audio_config end |
#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.
- 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
5880 5881 5882 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5880 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
5885 5886 5887 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5885 def query_params @query_params end |
#session ⇒ String
Required. The name of the session this query is sent to. Format: projects//
locations//agents//sessions/
or projects//locations//agents//environments//
sessions/
. If Environment ID
is not specified, we assume default 'draft'
environment. It's up to the API caller to choose an appropriate Session ID
.
It can be a random number or some type of session identifiers (preferably
hashed). The length of the Session ID
must not exceed 36 characters. For
more information, see the sessions guide. Note: Always use agent versions for production
traffic. See Versions and environments.
Corresponds to the JSON property session
5899 5900 5901 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5899 def session @session end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5906 5907 5908 5909 5910 5911 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5906 def update!(**args) @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) @query_input = args[:query_input] if args.key?(:query_input) @query_params = args[:query_params] if args.key?(:query_params) @session = args[:session] if args.key?(:session) end |