Dialogflow v3 API - Class DetectIntentRequest (2.14.0)

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.

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/<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
TypeDescription
string

SessionAsSessionName

public SessionName SessionAsSessionName { get; set; }

SessionName-typed view over the Session resource name property.

Property Value
TypeDescription
SessionName