Dialogflow v3 API - Class DetectIntentRequest (2.21.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
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<Session ID> or projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>. 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