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

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

Defines what action to take for antivirus threats per protocol.

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

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ protocol
int

Required. Protocol to match.

↳ action
int

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

getProtocol

Required. Protocol to match.

Returns
Type
Description
int
Enum of type Protocol .

setProtocol

Required. Protocol to match.

Parameter
Name
Description
var
int

Enum of type Protocol .

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: