NAME

Google::Cloud::Securitycenter::V2::CloudArmor - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/cloud_armor.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V2::CloudArmor;

my $msg = Google::Cloud::Securitycenter::V2::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::V2::CloudArmor::CloudArmor->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/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::V2::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::V2::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::V2::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::V2::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::V2::CloudArmor::Attack)

    Information about DDoS attack volume and classification.

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

    Type: String

    Distinguish 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::V2::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: String

    The name of the Google Cloud Armor security policy, for example, "my-security-policy".

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

    Type: String

    The 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: Bool

    Whether or not the associated rule or policy is in preview mode.

Google::Cloud::Securitycenter::V2::CloudArmor::Requests

Information about the requests relevant to the finding.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    For '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: Int32

    Allowed RPS (requests per second) in the short term.

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

    Type: Int32

    Allowed RPS (requests per second) over the long term.

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

    Type: Int32

    Denied RPS (requests per second) over the long term.

Google::Cloud::Securitycenter::V2::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: Double

    A 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::V2::CloudArmor::Attack

Information about DDoS attack volume and classification.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Total PPS (packets per second) volume of attack.

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

    Type: Int64

    Total BPS (bytes per second) volume of attack.

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

    Type: String

    Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.

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

    Type: Int32

    Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.

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

    Type: Int32

    Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::CloudArmor::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.