Compute V1 Client - Class SecurityPolicyDdosProtectionConfig (1.14.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
NameDescription
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
TypeDescription
string

hasDdosProtection

clearDdosProtection

setDdosProtection

Check the DdosProtection enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this