Compute Engine v1 API - Class SecurityPolicyRuleMatcher (2.8.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

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SecurityPolicyRuleMatcher()

public SecurityPolicyRuleMatcher()

SecurityPolicyRuleMatcher(SecurityPolicyRuleMatcher)

public SecurityPolicyRuleMatcher(SecurityPolicyRuleMatcher other)
Parameter
NameDescription
otherSecurityPolicyRuleMatcher

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

Property Value
TypeDescription
Expr

HasVersionedExpr

public bool HasVersionedExpr { get; }

Gets whether the "versioned_expr" field is set

Property Value
TypeDescription
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
TypeDescription
string