Struct google_compute1::api::SecurityPolicyRuleMatcher
source · pub struct SecurityPolicyRuleMatcher {
pub config: Option<SecurityPolicyRuleMatcherConfig>,
pub expr: Option<Expr>,
pub expr_options: Option<SecurityPolicyRuleMatcherExprOptions>,
pub versioned_expr: Option<String>,
}
Expand description
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
This type is not used in any activity, and only used as part of another schema.
Fields§
§config: Option<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: Option<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. Expressions containing evaluateThreatIntelligence
require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*')
require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.
expr_options: Option<SecurityPolicyRuleMatcherExprOptions>
The configuration options available when specifying a user defined CEVAL expression (i.e., ‘expr’).
versioned_expr: Option<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.
Trait Implementations§
source§impl Clone for SecurityPolicyRuleMatcher
impl Clone for SecurityPolicyRuleMatcher
source§fn clone(&self) -> SecurityPolicyRuleMatcher
fn clone(&self) -> SecurityPolicyRuleMatcher
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more