public sealed class DetectIntentRequest : IMessage<DetectIntentRequest>, IEquatable<DetectIntentRequest>, IDeepCloneable<DetectIntentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class DetectIntentRequest.
The request to detect user's intent.
Implements
IMessage<DetectIntentRequest>, IEquatable<DetectIntentRequest>, IDeepCloneable<DetectIntentRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
DetectIntentRequest()
public DetectIntentRequest()
DetectIntentRequest(DetectIntentRequest)
public DetectIntentRequest(DetectIntentRequest other)
Parameter | |
---|---|
Name | Description |
other | DetectIntentRequest |
Properties
OutputAudioConfig
public OutputAudioConfig OutputAudioConfig { get; set; }
Instructs the speech synthesizer how to generate the output audio.
Property Value | |
---|---|
Type | Description |
OutputAudioConfig |
QueryInput
public QueryInput QueryInput { get; set; }
Required. The input specification.
Property Value | |
---|---|
Type | Description |
QueryInput |
QueryParams
public QueryParameters QueryParams { get; set; }
The parameters of this query.
Property Value | |
---|---|
Type | Description |
QueryParameters |
Session
public string Session { get; set; }
Required. The name of the session this query is sent to.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/sessions/<Session ID>
or projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
.
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.
Property Value | |
---|---|
Type | Description |
String |
SessionAsSessionName
public SessionName SessionAsSessionName { get; set; }
SessionName-typed view over the Session resource name property.
Property Value | |
---|---|
Type | Description |
SessionName |