Class NotificationConfig (1.0.0)

NotificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Security Command Center notification configs. A notification config is a Security Command Center resource that contains the configuration to send notifications for create/update events of findings, assets and etc.

Attributes

NameDescription
name str
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket".
description str
The description of the notification config (max of 1024 characters).
event_type .notification_config.NotificationConfig.EventType
The type of events the config is for, e.g. FINDING.
pubsub_topic str
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
service_account str
Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
streaming_config .notification_config.NotificationConfig.StreamingConfig
The config for triggering streaming-based notifications.

Classes

EventType

EventType(value)

The type of events.

StreamingConfig

StreamingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The config for streaming-based notifications, which send each event as soon as it is detected.