# REST Resource: projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs

- [Resource: TaskPushNotificationConfig](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#TaskPushNotificationConfig)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#TaskPushNotificationConfig.SCHEMA_REPRESENTATION)
- [PushNotificationConfig](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#PushNotificationConfig)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#PushNotificationConfig.SCHEMA_REPRESENTATION)
- [AuthenticationInfo](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#AuthenticationInfo)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#AuthenticationInfo.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#METHODS_SUMMARY)

## Resource: TaskPushNotificationConfig

| JSON representation |
|---|
| ``` { "name": string, "pushNotificationConfig": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#PushNotificationConfig`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` The resource name of the config. Format: tasks/{taskId}/pushNotificationConfigs/{configId} |
| `pushNotificationConfig` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#PushNotificationConfig`)`` The push notification configuration details. |

## PushNotificationConfig

Configuration for setting up push notifications for task updates.

| JSON representation |
|---|
| ``` { "id": string, "url": string, "token": string, "authentication": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#AuthenticationInfo`) } } ``` |

| Fields ||
|---|---|
| `id` | `string` A unique identifier (e.g. UUID) for this push notification. |
| `url` | `string` url to send the notification too |
| `token` | `string` Token unique for this task/session |
| `authentication` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#AuthenticationInfo`)`` Information about the authentication to sent with the notification |

## AuthenticationInfo

Defines authentication details, used for push notifications.

| JSON representation |
|---|
| ``` { "schemes": [ string ], "credentials": string } ``` |

| Fields ||
|---|---|
| `schemes[]` | `string` Supported authentication schemes - e.g. Basic, Bearer, etc |
| `credentials` | `string` Optional credentials |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs/create` | Set a push notification config for a task. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs/delete` | Delete a push notification config for a task. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs/get` | Get a push notification config for a task. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs/list` | Get a list of push notifications configured for a task. |