REST Resource: organizations.locations.notificationConfigs

Ressource: NotificationConfig

Benachrichtigungskonfigurationen für das Cloud Security Command Center (Cloud SCC)

Eine Benachrichtigungskonfiguration ist eine Cloud SCC-Ressource, die die Konfiguration zum Senden von Benachrichtigungen für Erstellungs-/Aktualisierungsereignisse von Ergebnissen, Assets usw. enthält.

JSON-Darstellung
{
  "name": string,
  "description": string,
  "pubsubTopic": string,
  "serviceAccount": string,
  "updateTime": string,

  // Union field notify_config can be only one of the following:
  "streamingConfig": {
    object (StreamingConfig)
  }
  // End of list of possible types for union field notify_config.
}
Felder
name

string

Kennung. Der relative Ressourcenname dieser Benachrichtigungskonfiguration. Weitere Informationen finden Sie unter https://cloud.google.com/apis/design/resource_names#relative_resource_name. Die folgende Liste enthält einige Beispiele: + organizations/{organization_id}/locations/{locationId}/notificationConfigs/notify_public_bucket + folders/{folder_id}/locations/{locationId}/notificationConfigs/notify_public_bucket + projects/{projectId}/locations/{locationId}/notificationConfigs/notify_public_bucket

description

string

Die Beschreibung der Benachrichtigungskonfiguration (maximal 1.024 Zeichen).

pubsubTopic

string

Das Pub/Sub-Thema, an das Benachrichtigungen gesendet werden sollen. Das Format lautet „projects/[projectId]/topics/[topic]“.

serviceAccount

string

Nur Ausgabe. Das Dienstkonto, das die Berechtigung „pubsub.topics.publish“ benötigt, um im Pub/Sub-Thema zu veröffentlichen.

updateTime

string (Timestamp format)

Nur Ausgabe. Der Zeitstempel der letzten Aktualisierung der Benachrichtigungskonfiguration.

Es wird RFC 3339 verwendet, wobei die generierte Ausgabe immer Z-normalisiert ist und 0, 3, 6 oder 9 Glieder mit Dezimalstellen enthält. Andere Achsenbezeichnungen als „Z“ sind ebenfalls zulässig. Beispiele: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" oder "2014-10-02T15:01:23+05:30".

Union-Feld notify_config. Die Konfiguration zum Auslösen von Benachrichtigungen. Für notify_config ist nur einer der folgenden Werte zulässig:
streamingConfig

object (StreamingConfig)

Die Konfiguration zum Auslösen von streamingbasierten Benachrichtigungen.

Methoden

create

Erstellt eine Benachrichtigungskonfiguration.

delete

Löscht eine Benachrichtigungskonfiguration.

get

Ruft eine Benachrichtigungskonfiguration ab.

list

Listet Benachrichtigungskonfigurationen auf.

patch

Aktualisiert eine Benachrichtigungskonfiguration.