Fulfills a matched intent returned by sessions.matchIntent
. Must be called after sessions.matchIntent
, with input from MatchIntentResponse
. Otherwise, the behavior is undefined.
HTTP request
POST https://{endpoint}/v3beta1/{matchIntentRequest.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
match |
Required. The name of the session this query is sent to. Format: For more information, see the sessions guide. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "matchIntentRequest": { "session": string, "queryParams": { "timeZone": string, "geoLocation": { object ( |
Fields | |
---|---|
match |
The parameters of this query. |
match |
Required. The input specification. |
match |
Persist session parameter changes from |
match |
The matched intent/event to fulfill. |
output |
Instructs the speech synthesizer how to generate output audio. |
Response body
If successful, the response body contains an instance of FulfillIntentResponse
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.