Compute V1 Client - Class SecurityPolicyDdosProtectionConfig (1.5.0)

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

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

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.

Generated from protobuf field optional string ddos_protection = 275173268;

Returns
Type Description
string

hasDdosProtection

clearDdosProtection

setDdosProtection

Check the DdosProtection enum for the list of possible values.

Generated from protobuf field optional string ddos_protection = 275173268;

Parameter
Name Description
var string
Returns
Type Description
$this