Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::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) — 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", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
#name=
def name=(value) -> ::String
Parameter
- value (::String) — 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", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
Returns
- (::String) — 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", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_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::V1::NotificationConfig::StreamingConfig
Returns
- (::Google::Cloud::SecurityCenter::V1::NotificationConfig::StreamingConfig) — The config for triggering streaming-based notifications.
#streaming_config=
def streaming_config=(value) -> ::Google::Cloud::SecurityCenter::V1::NotificationConfig::StreamingConfig
Parameter
- value (::Google::Cloud::SecurityCenter::V1::NotificationConfig::StreamingConfig) — The config for triggering streaming-based notifications.
Returns
- (::Google::Cloud::SecurityCenter::V1::NotificationConfig::StreamingConfig) — The config for triggering streaming-based notifications.