Compute Engine v1 API - Class SecurityPolicyRuleMatcher (2.15.0)

public sealed class SecurityPolicyRuleMatcher : IMessage<SecurityPolicyRuleMatcher>, IEquatable<SecurityPolicyRuleMatcher>, IDeepCloneable<SecurityPolicyRuleMatcher>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > SecurityPolicyRuleMatcher

Namespace

Google.Cloud.Compute.V1

Assembly

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 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.

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