Resource: TaskPushNotificationConfig
A container associating a push notification configuration with a specific task.
| JSON representation |
|---|
{
"tenant": string,
"id": string,
"taskId": string,
"url": string,
"token": string,
"authentication": {
object ( |
| Fields | |
|---|---|
tenant |
Optional. Tenant ID. |
id |
The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration. |
taskId |
The ID of the task this configuration is associated with. |
url |
Required. The URL where the notification should be sent. |
token |
A token unique for this task or session. |
authentication |
Authentication information required to send the notification. |
AuthenticationInfo
Defines authentication details, used for push notifications.
| JSON representation |
|---|
{ "scheme": string, "credentials": string } |
| Fields | |
|---|---|
scheme |
Required. HTTP Authentication Scheme from the IANA registry. Examples: |
credentials |
Push Notification credentials. Format depends on the scheme (e.g., token for Bearer). |
Methods |
|
|---|---|
|
Creates a push notification config for a task. |
|
Deletes a push notification config for a task. |
|
Gets a push notification config for a task. |
|
Get a list of push notifications configured for a task. |