Compute V1 Client - Class WafExpressionSet (1.16.2)

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
Name Description
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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this

getExpressions

List of available expressions.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExpressions

List of available expressions.

Parameter
Name Description
var array<Google\Cloud\Compute\V1\WafExpressionSetExpression>
Returns
Type Description
$this

getId

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

Returns
Type Description
string

hasId

clearId

setId

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

Parameter
Name Description
var string
Returns
Type Description
$this