public sealed class AddRuleRegionSecurityPolicyRequest : IMessage<AddRuleRegionSecurityPolicyRequest>, IEquatable<AddRuleRegionSecurityPolicyRequest>, IDeepCloneable<AddRuleRegionSecurityPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class AddRuleRegionSecurityPolicyRequest.
A request message for RegionSecurityPolicies.AddRule. 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\u003eThe \u003ccode\u003eAddRuleRegionSecurityPolicyRequest\u003c/code\u003e class is part of the Google Cloud Compute Engine v1 API and is used to send requests to update security policies in a specific region.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and is used to add or modify rules within a regional security policy.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented on this page is 3.6.0, with multiple prior versions available for reference, and the version relevant to this documentation is 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddRuleRegionSecurityPolicyRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, \u003ccode\u003eSecurityPolicy\u003c/code\u003e, \u003ccode\u003eSecurityPolicyRuleResource\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, allowing for detailed specification of the rule to be added or modified.\u003c/p\u003e\n"],["\u003cp\u003eThis class also includes constructors to create new instances of the request object, either as an empty instance or by cloning another.\u003c/p\u003e\n"]]],[],null,[]]