Compute V1 Client - Class SecurityPolicyDdosProtectionConfig (1.20.0)

Reference documentation and code samples for the Compute V1 Client class SecurityPolicyDdosProtectionConfig.

Generated from protobuf message google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ddos_protection string

Check the DdosProtection enum for the list of possible values.

getDdosProtection

Check the DdosProtection enum for the list of possible values.

Returns
Type Description
string

hasDdosProtection

clearDdosProtection

setDdosProtection

Check the DdosProtection enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this