NAME

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

SYNOPSIS

use Google::Cloud::Securitycenter::V1::EventThreatDetectionCustomModule;

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

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

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

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

DESCRIPTION

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

Represents an instance of an Event Threat Detection 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 child folders and projects.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. The resource name of the Event Threat Detection custom module.

    Its format is:

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

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

    Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.

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

    Type: String

    Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name.

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

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

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

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

    Type: String

    Type for the module. e.g. CONFIGURABLE_BAD_IP.

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

    Type: String

    The human readable name to be displayed for the module.

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

    Type: String

    The description for the module.

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

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

    Output only. The time the module was last updated.

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

    Type: String

    Output only. The editor the module was last updated by.

Enum: EventThreatDetectionCustomModule::EnablementState

  • ENABLEMENT_STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • DISABLED => 2

  • INHERITED => 3

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.