Method: projects.locations.collections.engines.assistants.agents.tasks.pushNotificationConfigs.create

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

string

Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.

parent

string

Required. The parent task resource for this config. Format: tasks/{taskId}

Query parameters

Parameters
configId

string

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.