Google Cloud Security Command Center V2 Client - Class CloudArmor (1.32.0)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class CloudArmor.

Fields related to Google Cloud Armor findings.

Generated from protobuf message google.cloud.securitycenter.v2.CloudArmor

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ security_policy Google\Cloud\SecurityCenter\V2\SecurityPolicy

Information about the Google Cloud Armor security policy relevant to the finding.

↳ requests Google\Cloud\SecurityCenter\V2\Requests

Information about incoming requests evaluated by Google Cloud Armor security policies.

↳ adaptive_protection Google\Cloud\SecurityCenter\V2\AdaptiveProtection

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

↳ attack Google\Cloud\SecurityCenter\V2\Attack

Information about DDoS attack volume and classification.

↳ threat_vector 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.

↳ duration Google\Protobuf\Duration

Duration of attack from the start until the current moment (updated every 5 minutes).

getSecurityPolicy

Information about the Google Cloud Armor security policy relevant to the finding.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\SecurityPolicy|null

hasSecurityPolicy

clearSecurityPolicy

setSecurityPolicy

Information about the Google Cloud Armor security policy relevant to the finding.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\SecurityPolicy
Returns
Type Description
$this

getRequests

Information about incoming requests evaluated by Google Cloud Armor security policies.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\Requests|null

hasRequests

clearRequests

setRequests

Information about incoming requests evaluated by Google Cloud Armor security policies.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\Requests
Returns
Type Description
$this

getAdaptiveProtection

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\AdaptiveProtection|null

hasAdaptiveProtection

clearAdaptiveProtection

setAdaptiveProtection

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\AdaptiveProtection
Returns
Type Description
$this

getAttack

Information about DDoS attack volume and classification.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\Attack|null

hasAttack

clearAttack

setAttack

Information about DDoS attack volume and classification.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\Attack
Returns
Type Description
$this

getThreatVector

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.

Returns
Type Description
string

setThreatVector

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getDuration

Duration of attack from the start until the current moment (updated every 5 minutes).

Returns
Type Description
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Duration of attack from the start until the current moment (updated every 5 minutes).

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this