public sealed class SecurityPolicyRuleMatcher : IMessage<SecurityPolicyRuleMatcher>, IEquatable<SecurityPolicyRuleMatcher>, IDeepCloneable<SecurityPolicyRuleMatcher>, IBufferMessage, IMessageRepresents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Implements
IMessage<SecurityPolicyRuleMatcher>, IEquatable<SecurityPolicyRuleMatcher>, IDeepCloneable<SecurityPolicyRuleMatcher>, 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.
| Property Value | |
|---|---|
| Type | Description |
Expr |
|
HasVersionedExpr
public bool HasVersionedExpr { get; }Gets whether the "versioned_expr" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
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 |
|