NAME
Google::Cloud::Securitycenter::V1::CloudArmor - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/cloud_armor.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V1::CloudArmor;
my $msg = Google::Cloud::Securitycenter::V1::CloudArmor::CloudArmor->new({
security_policy => $security_policy,
requests => $requests,
adaptive_protection => $adaptive_protection,
attack => $attack,
});
# Read or update a field
my $val = $msg->security_policy();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V1::CloudArmor::CloudArmor->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/cloud_armor.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::CloudArmor::CloudArmor
Fields related to Google Cloud Armor findings.
Inherits from Protobuf::Message.
Accessors
$msg->security_policy()/$msg->security_policy($value)Type:
Message(Google::Cloud::Securitycenter::V1::CloudArmor::SecurityPolicy)Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
$msg->requests()/$msg->requests($value)Type:
Message(Google::Cloud::Securitycenter::V1::CloudArmor::Requests)Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).
$msg->adaptive_protection()/$msg->adaptive_protection($value)Type:
Message(Google::Cloud::Securitycenter::V1::CloudArmor::AdaptiveProtection)Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
$msg->attack()/$msg->attack($value)Type:
Message(Google::Cloud::Securitycenter::V1::CloudArmor::Attack)Information about DDoS attack volume and classification.
$msg->threat_vector()/$msg->threat_vector($value)Type:
StringDistinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.
$msg->duration()/$msg->duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Duration of attack from the start until the current moment (updated every 5 minutes).
Google::Cloud::Securitycenter::V1::CloudArmor::SecurityPolicy
Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the Google Cloud Armor security policy, for example, "my-security-policy".
$msg->type()/$msg->type($value)Type:
StringThe type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.
$msg->preview()/$msg->preview($value)Type:
BoolWhether or not the associated rule or policy is in preview mode.
Google::Cloud::Securitycenter::V1::CloudArmor::Requests
Information about the requests relevant to the finding.
Inherits from Protobuf::Message.
Accessors
$msg->ratio()/$msg->ratio($value)Type:
DoubleFor 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
$msg->short_term_allowed()/$msg->short_term_allowed($value)Type:
Int32Allowed RPS (requests per second) in the short term.
$msg->long_term_allowed()/$msg->long_term_allowed($value)Type:
Int32Allowed RPS (requests per second) over the long term.
$msg->long_term_denied()/$msg->long_term_denied($value)Type:
Int32Denied RPS (requests per second) over the long term.
Google::Cloud::Securitycenter::V1::CloudArmor::AdaptiveProtection
Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).
Inherits from Protobuf::Message.
Accessors
$msg->confidence()/$msg->confidence($value)Type:
DoubleA score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.
Google::Cloud::Securitycenter::V1::CloudArmor::Attack
Information about DDoS attack volume and classification.
Inherits from Protobuf::Message.
Accessors
$msg->volume_pps()/$msg->volume_pps($value)Type:
Int32Total PPS (packets per second) volume of attack.
$msg->volume_bps()/$msg->volume_bps($value)Type:
Int32Total BPS (bytes per second) volume of attack.
$msg->classification()/$msg->classification($value)Type:
StringType of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::CloudArmor::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.