public sealed class SecurityPolicyRuleMatcher : IMessage<SecurityPolicyRuleMatcher>, IEquatable<SecurityPolicyRuleMatcher>, IDeepCloneable<SecurityPolicyRuleMatcher>, IBufferMessage, IMessage
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe webpage details the \u003ccode\u003eSecurityPolicyRuleMatcher\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, which is designed to evaluate incoming traffic against specified match conditions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityPolicyRuleMatcher\u003c/code\u003e class offers several constructors and properties, including \u003ccode\u003eConfig\u003c/code\u003e, \u003ccode\u003eExpr\u003c/code\u003e, \u003ccode\u003eHasVersionedExpr\u003c/code\u003e, and \u003ccode\u003eVersionedExpr\u003c/code\u003e, for defining and customizing match criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionedExpr\u003c/code\u003e property enables the use of preconfigured, versioned expressions for matching, requiring the \u003ccode\u003econfig\u003c/code\u003e field to be specified alongside it and allows for values like \u003ccode\u003eSRC_IPS_V1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements various interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to adhere to specific protocols and functionalities within the Google Cloud environment.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage shows a range of available versions for the \u003ccode\u003eSecurityPolicyRuleMatcher\u003c/code\u003e class, from version 1.0.0 to the latest version 3.6.0, giving users flexibility depending on their environment.\u003c/p\u003e\n"]]],[],null,[]]