Class NotificationConfig (1.36.0)

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

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
Identifier. The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples: + organizations/{organization_id}/locations/{location_id}/notificationConfigs/notify_public_bucket + folders/{folder_id}/locations/{location_id}/notificationConfigs/notify_public_bucket + projects/{project_id}/locations/{location_id}/notificationConfigs/notify_public_bucket
description str
The description of the notification config (max of 1024 characters).
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 google.cloud.securitycenter_v2.types.NotificationConfig.StreamingConfig
The config for triggering streaming-based notifications. This field is a member of oneof_ notify_config.

Classes

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.