NAME

Google::Cloud::Securityposture::V1::ShaConstraints - Compiled Protocol Buffers messages for google/cloud/securityposture/v1/sha_constraints.proto

SYNOPSIS

use Google::Cloud::Securityposture::V1::ShaConstraints;

my $msg = Google::Cloud::Securityposture::V1::ShaConstraints::SecurityHealthAnalyticsModule->new({
    module_name => $module_name,
    module_enablement_state => $module_enablement_state,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Securityposture::V1::ShaConstraints::SecurityHealthAnalyticsModule->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securityposture/v1/sha_constraints.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::Securityposture::V1::ShaConstraints::SecurityHealthAnalyticsModule

Message for Security Health Analytics built-in detector.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the module eg: BIGQUERY_TABLE_CMEK_DISABLED.

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

    Type: Enum (Google::Cloud::Securityposture::V1::EnablementState)

    The state of enablement for the module at its level of the resource hierarchy.

Google::Cloud::Securityposture::V1::ShaConstraints::SecurityHealthAnalyticsCustomModule

Message for SHA Custom Module

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Immutable. The id of the custom module. The id is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.

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

    Type: String

    Optional. The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

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

    Type: Message (Google::Cloud::Securityposture::V1::ShaCustomConfig::CustomConfig)

    Required. custom module details

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

    Type: Enum (Google::Cloud::Securityposture::V1::EnablementState)

    The state of enablement for the module at its level of the resource hierarchy.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securityposture::V1::ShaConstraints::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.