REST Resource: tasks.pushNotificationConfigs

Ressource : TaskPushNotificationConfig

Conteneur associant une configuration de notification push à une tâche spécifique.

Représentation JSON
{
  "tenant": string,
  "id": string,
  "taskId": string,
  "url": string,
  "token": string,
  "authentication": {
    object (AuthenticationInfo)
  }
}
Champs
tenant

string

Facultatif. ID du locataire.

id

string

Détails de la configuration des notifications push. Identifiant unique (par exemple, UUID) pour cette configuration de notification push.

taskId

string

ID de la tâche à laquelle cette configuration est associée.

url

string

Obligatoire. URL à laquelle la notification doit être envoyée.

token

string

Jeton unique pour cette tâche ou session.

authentication

object (AuthenticationInfo)

Informations d'authentification requises pour envoyer la notification.

AuthenticationInfo

Définit les informations d'authentification utilisées pour les notifications push.

Représentation JSON
{
  "scheme": string,
  "credentials": string
}
Champs
scheme

string

Obligatoire. Schéma d'authentification HTTP du registre IANA. Exemples : Bearer, Basic, Digest. Les noms de Scheme ne sont pas sensibles à la casse, conformément à la section 11.1 de la RFC 9110.

credentials

string

Identifiants de notification push. Le format dépend du schéma (par exemple, jeton pour le porteur).

Méthodes

create

Crée une configuration de notification push pour une tâche.

delete

Supprime une configuration de notification push pour une tâche.

get

Obtient une configuration de notification push pour une tâche.

list

Obtenez la liste des notifications push configurées pour une tâche.