Ressource : TaskPushNotificationConfig
| Représentation JSON |
|---|
{
"name": string,
"pushNotificationConfig": {
object ( |
| Champs | |
|---|---|
name |
Nom de ressource de la configuration. Format : tasks/{taskId}/pushNotificationConfigs/{configId} |
pushNotificationConfig |
Détails de la configuration des notifications push. |
PushNotificationConfig
Configuration permettant de configurer les notifications push pour les mises à jour des tâches.
| Représentation JSON |
|---|
{
"id": string,
"url": string,
"token": string,
"authentication": {
object ( |
| Champs | |
|---|---|
id |
Identifiant unique (par exemple, UUID) de cette notification push. |
url |
URL à laquelle envoyer la notification |
token |
Jeton unique pour cette tâche/session |
authentication |
Informations sur l'authentification à envoyer avec la notification |
AuthenticationInfo
Définit les informations d'authentification utilisées pour les notifications push.
| Représentation JSON |
|---|
{ "schemes": [ string ], "credentials": string } |
| Champs | |
|---|---|
schemes[] |
Schémas d'authentification compatibles (par exemple, Basic, Bearer, etc.) |
credentials |
Identifiants facultatifs |
Méthodes |
|
|---|---|
|
Définissez une configuration de notification push pour une tâche. |
|
Supprimez une configuration de notification push pour une tâche. |
|
Obtenez une configuration de notification push pour une tâche. |
|
Obtenez la liste des notifications push configurées pour une tâche. |