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. Une seule destination à spécifier. destination ne peut être qu'un des éléments suivants :
cloudPubsubTopic

object (CloudPubsubTopic)

Une destination de sujet Google Cloud Pub/Sub

Sujet CloudPubsub

Référence à un sujet Cloud Pubsub.

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

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

string

Le champ name d'un sujet Cloud Pub/Sub

payloadFormat

enum (PayloadFormat)

Facultatif. Format de la charge utile qui serait envoyée. S'il n'est pas spécifié, 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 sera utilisé par défaut).
JSON Utilisez JSON.