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.
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\u003eThis webpage provides documentation for the \u003ccode\u003eSecurityPolicyRuleMatcher\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically focusing on version 2.7.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecurityPolicyRuleMatcher\u003c/code\u003e represents a match condition for evaluating incoming traffic, requiring exactly one field to be specified from the available options.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a history of versions, ranging from 1.0.0 to the latest 3.6.0, and outlines inheritance, implemented interfaces, constructors, and properties of the \u003ccode\u003eSecurityPolicyRuleMatcher\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eConfig\u003c/code\u003e, \u003ccode\u003eExpr\u003c/code\u003e, \u003ccode\u003eHasVersionedExpr\u003c/code\u003e, and \u003ccode\u003eVersionedExpr\u003c/code\u003e, which are used to define and manage match criteria for the security policy rules.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be used to define a match condition to meet specific criteria, such as \u003ccode\u003eorigin.ip\u003c/code\u003e, \u003ccode\u003esource.region_code\u003c/code\u003e or the content in the request header with the use of the \u003ccode\u003eExpr\u003c/code\u003e or \u003ccode\u003eVersionedExpr\u003c/code\u003e properties.\u003c/p\u003e\n"]]],[],null,[]]