Class DetectIntentRequest (1.12.0)

public sealed class DetectIntentRequest : IMessage<DetectIntentRequest>, IEquatable<DetectIntentRequest>, IDeepCloneable<DetectIntentRequest>, IBufferMessage, IMessage

The request to detect user's intent.

Inheritance

Object > DetectIntentRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

DetectIntentRequest()

public DetectIntentRequest()

DetectIntentRequest(DetectIntentRequest)

public DetectIntentRequest(DetectIntentRequest other)
Parameter
NameDescription
otherDetectIntentRequest

Properties

OutputAudioConfig

public OutputAudioConfig OutputAudioConfig { get; set; }

Instructs the speech synthesizer how to generate the output audio.

Property Value
TypeDescription
OutputAudioConfig

QueryInput

public QueryInput QueryInput { get; set; }

Required. The input specification.

Property Value
TypeDescription
QueryInput

QueryParams

public QueryParameters QueryParams { get; set; }

The parameters of this query.

Property Value
TypeDescription
QueryParameters

Session

public string Session { get; set; }

Required. The name of the session this query is sent to. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/sessions/&lt;Session ID> or projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/environments/&lt;Environment ID>/sessions/&lt;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
TypeDescription
String

SessionAsSessionName

public SessionName SessionAsSessionName { get; set; }

SessionName-typed view over the Session resource name property.

Property Value
TypeDescription
SessionName