NAME

Google::Cloud::Securitycenter::V1::EffectiveSecurityHealthAnalyticsCustomModule - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V1::EffectiveSecurityHealthAnalyticsCustomModule;

my $msg = Google::Cloud::Securitycenter::V1::EffectiveSecurityHealthAnalyticsCustomModule::EffectiveSecurityHealthAnalyticsCustomModule->new({
    name => $name,
    custom_config => $custom_config,
    enablement_state => $enablement_state,
    display_name => $display_name,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.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::V1::EffectiveSecurityHealthAnalyticsCustomModule::EffectiveSecurityHealthAnalyticsCustomModule

An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"

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

    Type: Message (Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomConfig::CustomConfig)

    Output only. The user-specified configuration for the module.

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

    Type: Enum (Google::Cloud::Securitycenter::V1::EffectiveSecurityHealthAnalyticsCustomModule::EnablementState)

    Output only. The effective state of enablement for the module at the given level of the hierarchy.

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

    Type: String

    Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.

Enum: EffectiveSecurityHealthAnalyticsCustomModule::EnablementState

  • ENABLEMENT_STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • DISABLED => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::EffectiveSecurityHealthAnalyticsCustomModule::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.