Class DetectIntentRequest (1.20.0)

DetectIntentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request to detect user's intent.

Attributes

NameDescription
session str
Required. The name of the session this query is sent to. Format: projects/ or projects/. 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
query_params google.cloud.dialogflowcx_v3.types.QueryParameters
The parameters of this query.
query_input google.cloud.dialogflowcx_v3.types.QueryInput
Required. The input specification.
output_audio_config google.cloud.dialogflowcx_v3.types.OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio.