Google Cloud Network Security V1 Client - Class SeverityOverride (1.3.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class SeverityOverride.

Defines what action to take for a specific severity match.

Generated from protobuf message google.cloud.networksecurity.v1.SeverityOverride

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ severity int

Required. Severity level to match.

↳ action int

Required. Threat action override.

getSeverity

Required. Severity level to match.

Returns
Type Description
int Enum of type Severity.

setSeverity

Required. Severity level to match.

Parameter
Name Description
var int

Enum of type Severity.

Returns
Type Description
$this

getAction

Required. Threat action override.

Returns
Type Description
int Enum of type ThreatAction.

setAction

Required. Threat action override.

Parameter
Name Description
var int

Enum of type ThreatAction.

Returns
Type Description
$this