NAME

Google::Cloud::Securitycenter::V2::NotificationConfig - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/notification_config.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V2::NotificationConfig;

my $msg = Google::Cloud::Securitycenter::V2::NotificationConfig::NotificationConfig->new({
    name => $name,
    description => $description,
    pubsub_topic => $pubsub_topic,
    service_account => $service_account,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V2::NotificationConfig::NotificationConfig->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/notification_config.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Securitycenter::V2::NotificationConfig::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 from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: 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`

  • $msg->description() / $msg->description($value)

    Type: String

    The description of the notification config (max of 1024 characters).

  • $msg->pubsub_topic() / $msg->pubsub_topic($value)

    Type: String

    The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.

  • $msg->streaming_config() / $msg->streaming_config($value)

    Type: Message (Google::Cloud::Securitycenter::V2::NotificationConfig::NotificationConfig::StreamingConfig)

    The config for triggering streaming-based notifications.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp of when the notification config was last updated.

  • $msg->deletion_notifications_enabled() / $msg->deletion_notifications_enabled($value)

    Type: Bool

    Optional. Indicates whether the notifications will be sent for deleted findings. When enabled, the filter defined in the streaming config is still respected when sending deletion notifications.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::NotificationConfig::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.