REST Resource: tasks.pushNotificationConfigs

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 (AuthenticationInfo)
  }
}
Fields
tenant

string

Optional. Tenant ID.

id

string

The push notification configuration details. A unique identifier (e.g. UUID) for this push notification configuration.

taskId

string

The ID of the task this configuration is associated with.

url

string

Required. The URL where the notification should be sent.

token

string

A token unique for this task or session.

authentication

object (AuthenticationInfo)

Authentication information required to send the notification.

AuthenticationInfo

Defines authentication details, used for push notifications.

JSON representation
{
  "scheme": string,
  "credentials": string
}
Fields
scheme

string

Required. HTTP Authentication Scheme from the IANA registry. Examples: Bearer, Basic, Digest. Scheme names are case-insensitive per RFC 9110 Section 11.1.

credentials

string

Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).

Methods

create

Creates a push notification config for a task.

delete

Deletes a push notification config for a task.

get

Gets a push notification config for a task.

list

Get a list of push notifications configured for a task.