Set a push notification config for a task.
HTTP request
POST https://discoveryengine.googleapis.com/{tenant=projects/*/locations/*/collections/*/engines/*/assistants/*/agents/*}/{parent=tasks/*/pushNotificationConfigs}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
tenant |
Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release. |
parent |
Required. The parent task resource for this config. Format: tasks/{taskId} |
Query parameters
| Parameters | |
|---|---|
configId |
Required. The ID for the new config. |
Request body
The request body contains an instance of TaskPushNotificationConfig.
Response body
If successful, the response body contains a newly created instance of TaskPushNotificationConfig.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.