NAME
Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention - Compiled Protocol Buffers messages for google/cloud/networksecurity/v1/security_profile_group_threatprevention.proto
SYNOPSIS
use Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention;
my $msg = Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::ThreatPreventionProfile->new({
severity_overrides => $severity_overrides,
threat_overrides => $threat_overrides,
antivirus_overrides => $antivirus_overrides,
});
# Read or update a field
my $val = $msg->severity_overrides();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::ThreatPreventionProfile->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/networksecurity/v1/security_profile_group_threatprevention.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::Networksecurity::V1::SecurityProfileGroupThreatprevention::ThreatPreventionProfile
ThreatPreventionProfile defines an action for specific threat signatures or severity levels.
Inherits from Protobuf::Message.
Accessors
$msg->severity_overrides()/$msg->severity_overrides($value)Type:
Message(Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::SeverityOverride)Optional. Configuration for overriding threats actions by severity match.
$msg->threat_overrides()/$msg->threat_overrides($value)Type:
Message(Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::ThreatOverride)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
$msg->antivirus_overrides()/$msg->antivirus_overrides($value)Type:
Message(Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::AntivirusOverride)Optional. Configuration for overriding antivirus actions per protocol.
Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::SeverityOverride
Defines what action to take for a specific severity match.
Inherits from Protobuf::Message.
Accessors
$msg->severity()/$msg->severity($value)Type:
Enum(Google::Cloud::Networksecurity::V1::Severity)Required. Severity level to match.
$msg->action()/$msg->action($value)Type:
Enum(Google::Cloud::Networksecurity::V1::ThreatAction)Required. Threat action override.
Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::ThreatOverride
Defines what action to take for a specific threat_id match.
Inherits from Protobuf::Message.
Accessors
$msg->threat_id()/$msg->threat_id($value)Type:
StringRequired. Vendor-specific ID of a threat to override.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Networksecurity::V1::ThreatType)Output only. Type of the threat (read only).
$msg->action()/$msg->action($value)Type:
Enum(Google::Cloud::Networksecurity::V1::ThreatAction)Required. Threat action override. For some threat types, only a subset of actions applies.
Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::AntivirusOverride
Defines what action to take for antivirus threats per protocol.
Inherits from Protobuf::Message.
Accessors
$msg->protocol()/$msg->protocol($value)Type:
Enum(Google::Cloud::Networksecurity::V1::Protocol)Required. Protocol to match.
$msg->action()/$msg->action($value)Type:
Enum(Google::Cloud::Networksecurity::V1::ThreatAction)Required. Threat action override. For some threat types, only a subset of actions applies.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Networksecurity::V1::SecurityProfileGroupThreatprevention::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.