NAME

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

SYNOPSIS

use Google::Cloud::Securitycenter::V1::EffectiveEventThreatDetectionCustomModule;

my $msg = Google::Cloud::Securitycenter::V1::EffectiveEventThreatDetectionCustomModule::EffectiveEventThreatDetectionCustomModule->new({
    name => $name,
    config => $config,
    enablement_state => $enablement_state,
    type => $type,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/effective_event_threat_detection_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::EffectiveEventThreatDetectionCustomModule::EffectiveEventThreatDetectionCustomModule

An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection 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 `enablement_state` property in EffectiveEventThreatDetectionCustomModule 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`. EffectiveEventThreatDetectionCustomModule is read-only.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The resource name of the effective ETD custom module.

    Its format is:

    * `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
    * `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
    * `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
  • $msg->config() / $msg->config($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    Output only. Config for the effective module.

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

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

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

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

    Type: String

    Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.

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

    Type: String

    Output only. The human readable name to be displayed for the module.

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

    Type: String

    Output only. The description for the module.

Enum: EffectiveEventThreatDetectionCustomModule::EnablementState

  • ENABLEMENT_STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • DISABLED => 2

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.