Compute V1 Client - Class WafExpressionSet (1.11.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

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.

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getExpressions

List of available expressions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExpressions

List of available expressions.

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

Returns
TypeDescription
string

hasId

clearId

setId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this