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

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

Defines what action to take for a specific threat_id match.

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

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ threat_id
string

Required. Vendor-specific ID of a threat to override.

↳ type
int

Output only. Type of the threat (read only).

↳ action
int

Required. Threat action override. For some threat types, only a subset of actions applies.

getThreatId

Required. Vendor-specific ID of a threat to override.

Returns
Type
Description
string

setThreatId

Required. Vendor-specific ID of a threat to override.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getType

Output only. Type of the threat (read only).

Returns
Type
Description
int
Enum of type ThreatType .

setType

Output only. Type of the threat (read only).

Parameter
Name
Description
var
int

Enum of type ThreatType .

Returns
Type
Description
$this

getAction

Required. Threat action override. For some threat types, only a subset of actions applies.

Returns
Type
Description
int
Enum of type ThreatAction .

setAction

Required. Threat action override. For some threat types, only a subset of actions applies.

Parameter
Name
Description
var
int

Enum of type ThreatAction .

Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: