Settings

Paramètres au niveau du client

Représentation JSON
{
  "notifications": [
    {
      object (Notification)
    }
  ]
}
Champs
notifications[]

object (Notification)

Liste des notifications.

Notification

Paramètres des notifications de rappel. Pour en savoir plus, consultez Notification d'alerte Google Workspace.

Représentation JSON
{

  // Union field destination can be only one of the following:
  "cloudPubsubTopic": {
    object (CloudPubsubTopic)
  }
  // End of list of possible types for union field destination.
}
Champs
Champ d'union destination. Vous devez spécifier une seule destination. destination ne peut être qu'un des éléments suivants :
cloudPubsubTopic

object (CloudPubsubTopic)

Destination de sujet Google Cloud Pub/Sub.

CloudPubsubTopic

Référence à un sujet Cloud Pub/Sub.

Pour s'inscrire aux notifications, le propriétaire du sujet doit accorder à alerts-api-push-notifications@system.gserviceaccount.com l'autorisation projects.topics.publish.

Représentation JSON
{
  "topicName": string,
  "payloadFormat": enum (PayloadFormat)
}
Champs
topicName

string

Champ name d'un sujet Cloud Pub/Sub.

payloadFormat

enum (PayloadFormat)

Facultatif. Format de la charge utile qui sera envoyée. Si aucune valeur n'est spécifiée, le format est JSON.

PayloadFormat

Format de la charge utile.

Enums
PAYLOAD_FORMAT_UNSPECIFIED Le format de la charge utile n'est pas spécifié (le format JSON est utilisé par défaut).
JSON Utilisez JSON.