NAME
Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomModule - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/security_health_analytics_custom_module.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomModule;
my $msg = Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomModule::SecurityHealthAnalyticsCustomModule->new({
name => $name,
display_name => $display_name,
enablement_state => $enablement_state,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomModule::SecurityHealthAnalyticsCustomModule->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/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::SecurityHealthAnalyticsCustomModule::SecurityHealthAnalyticsCustomModule
Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}"
The id {customModule} 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:
StringThe 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->enablement_state()/$msg->enablement_state($value)Type:
Enum(Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomModule::EnablementState)The enablement state of the custom module.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the custom module was last updated.
$msg->last_editor()/$msg->last_editor($value)Type:
StringOutput only. The editor that last updated the custom module.
$msg->ancestor_module()/$msg->ancestor_module($value)Type:
StringOutput only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.
$msg->custom_config()/$msg->custom_config($value)Type:
Message(Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomConfig::CustomConfig)The user specified custom configuration for the module.
Enum: SecurityHealthAnalyticsCustomModule::EnablementState
ENABLEMENT_STATE_UNSPECIFIED=>0ENABLED=>1DISABLED=>2INHERITED=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::SecurityHealthAnalyticsCustomModule::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.