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

Set a push notification config for a task.

HTTP request

POST https://discoveryengine.googleapis.com/v1/{tenant=projects/*/locations/*/collections/*/engines/*/assistants/*/agents/*}/a2a/v1/{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 one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite
  • https://www.googleapis.com/auth/discoveryengine.serving.readwrite

For more information, see the Authentication Overview.