Compute V1 Client - Class WafExpressionSet (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ aliases array

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

↳ expressions array<Google\Cloud\Compute\V1\WafExpressionSetExpression>

List of available expressions.

↳ id string

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

getAliases

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

Generated from protobuf field repeated string aliases = 159207166;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAliases

A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.

Generated from protobuf field repeated string aliases = 159207166;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getExpressions

List of available expressions.

Generated from protobuf field repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExpressions

List of available expressions.

Generated from protobuf field repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\WafExpressionSetExpression>
Returns
TypeDescription
$this

getId

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

Generated from protobuf field optional string id = 3355;

Returns
TypeDescription
string

hasId

clearId

setId

Google specified expression set ID. The format should be: - E.g. XSS-20170329 required

Generated from protobuf field optional string id = 3355;

Parameter
NameDescription
var string
Returns
TypeDescription
$this