public sealed class SecurityPolicyRuleMatcher : IMessage<SecurityPolicyRuleMatcher>, IEquatable<SecurityPolicyRuleMatcher>, IDeepCloneable<SecurityPolicyRuleMatcher>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class SecurityPolicyRuleMatcher.
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Implements
IMessageSecurityPolicyRuleMatcher, IEquatableSecurityPolicyRuleMatcher, IDeepCloneableSecurityPolicyRuleMatcher, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
SecurityPolicyRuleMatcher()
public SecurityPolicyRuleMatcher()SecurityPolicyRuleMatcher(SecurityPolicyRuleMatcher)
public SecurityPolicyRuleMatcher(SecurityPolicyRuleMatcher other)| Parameter | |
|---|---|
| Name | Description |
other |
SecurityPolicyRuleMatcher |
Properties
Config
public SecurityPolicyRuleMatcherConfig Config { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
SecurityPolicyRuleMatcherConfig |
|
Expr
public Expr Expr { get; set; }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 a Cloud Armor Enterprise subscription and are not supported in Edge Policies nor in Regional Policies. Expressions containing evaluatePreconfiguredExpr('sourceiplist-*') require a Cloud Armor Enterprise subscription and are only supported in Global Security Policies.
| Property Value | |
|---|---|
| Type | Description |
Expr |
|
ExprOptions
public SecurityPolicyRuleMatcherExprOptions ExprOptions { get; set; }The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
| Property Value | |
|---|---|
| Type | Description |
SecurityPolicyRuleMatcherExprOptions |
|
HasVersionedExpr
public bool HasVersionedExpr { get; }Gets whether the "versioned_expr" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
VersionedExpr
public string VersionedExpr { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|