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 \ V1Methods
__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<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<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 |