Reference documentation and code samples for the Compute V1 Client class SecurityPolicyRuleMatcher.
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyRuleMatcher
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ config
Google\Cloud\Compute\V1\SecurityPolicyRuleMatcherConfig
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
↳ expr
Google\Cloud\Compute\V1\Expr
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
↳ versioned_expr
string
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. Check the VersionedExpr enum for the list of possible values.
getConfig
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
Generated from protobuf field optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
hasConfig
clearConfig
setConfig
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
Generated from protobuf field optional .google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig config = 255820610;
$this
getExpr
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
Generated from protobuf field optional .google.cloud.compute.v1.Expr expr = 3127797;
hasExpr
clearExpr
setExpr
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
Generated from protobuf field optional .google.cloud.compute.v1.Expr expr = 3127797;
$this
getVersionedExpr
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
Generated from protobuf field optional string versioned_expr = 322286013;
string
hasVersionedExpr
clearVersionedExpr
setVersionedExpr
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
Check the VersionedExpr enum for the list of possible values.
Generated from protobuf field optional string versioned_expr = 322286013;
var
string
$this