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
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.

Generated from protobuf field optional string ddos_protection = 275173268;

Returns
TypeDescription
string

hasDdosProtection

clearDdosProtection

setDdosProtection

Check the DdosProtection enum for the list of possible values.

Generated from protobuf field optional string ddos_protection = 275173268;

Parameter
NameDescription
var string
Returns
TypeDescription
$this