Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::NotificationConfig.
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.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — The description of the notification config (max of 1024 characters).
#description=
def description=(value) -> ::String
Parameter
- value (::String) — The description of the notification config (max of 1024 characters).
Returns
- (::String) — The description of the notification config (max of 1024 characters).
#name
def name() -> ::String
Returns
-
(::String) — 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
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — 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
Returns
-
(::String) — 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
#pubsub_topic
def pubsub_topic() -> ::String
Returns
- (::String) — The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
#pubsub_topic=
def pubsub_topic=(value) -> ::String
Parameter
- value (::String) — The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
Returns
- (::String) — The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
#service_account
def service_account() -> ::String
Returns
- (::String) — Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
#streaming_config
def streaming_config() -> ::Google::Cloud::SecurityCenter::V2::NotificationConfig::StreamingConfig
Returns
- (::Google::Cloud::SecurityCenter::V2::NotificationConfig::StreamingConfig) — The config for triggering streaming-based notifications.
#streaming_config=
def streaming_config=(value) -> ::Google::Cloud::SecurityCenter::V2::NotificationConfig::StreamingConfig
Parameter
- value (::Google::Cloud::SecurityCenter::V2::NotificationConfig::StreamingConfig) — The config for triggering streaming-based notifications.
Returns
- (::Google::Cloud::SecurityCenter::V2::NotificationConfig::StreamingConfig) — The config for triggering streaming-based notifications.