public sealed class PatchRuleSecurityPolicyRequest : IMessage<PatchRuleSecurityPolicyRequest>, IEquatable<PatchRuleSecurityPolicyRequest>, IDeepCloneable<PatchRuleSecurityPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class PatchRuleSecurityPolicyRequest.
A request message for SecurityPolicies.PatchRule. See the method description for details.
[[["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 page provides documentation for the \u003ccode\u003ePatchRuleSecurityPolicyRequest\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for version 2.15.0, and contains information on multiple versions of the class from v1.0.0 to v3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePatchRuleSecurityPolicyRequest\u003c/code\u003e class is used to send a request to patch (modify) a rule within a security policy, and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePatchRuleSecurityPolicyRequest\u003c/code\u003e class include \u003ccode\u003ePriority\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eSecurityPolicy\u003c/code\u003e, \u003ccode\u003eSecurityPolicyRuleResource\u003c/code\u003e, \u003ccode\u003eUpdateMask\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, which allow users to specify rule details and request parameters for updating security policies.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists a history of versions of this class, with the most current version listed being 3.6.0, and describes how to patch a security policy rule through the \u003ccode\u003eSecurityPolicies.PatchRule\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePatchRuleSecurityPolicyRequest\u003c/code\u003e class has the ability to determine whether certain fields are set, such as "priority", "update_mask", and "validate_only", using the \u003ccode\u003eHasPriority\u003c/code\u003e, \u003ccode\u003eHasUpdateMask\u003c/code\u003e, and \u003ccode\u003eHasValidateOnly\u003c/code\u003e properties respectively.\u003c/p\u003e\n"]]],[],null,[]]