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.
Implements
IMessageSecurityPolicyRuleMatcher, IEquatableSecurityPolicyRuleMatcher, IDeepCloneableSecurityPolicyRuleMatcher, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
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 |
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 |