public sealed class AddRuleSecurityPolicyRequest : IMessage<AddRuleSecurityPolicyRequest>, IEquatable<AddRuleSecurityPolicyRequest>, IDeepCloneable<AddRuleSecurityPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class AddRuleSecurityPolicyRequest.
A request message for SecurityPolicies.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\u003eThis webpage provides reference documentation for the \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class is used to send requests for adding rules to security policies and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe page has a history of versions, with 3.6.0 being the latest version, however the page's context is related to the 3.1.0 version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class implements multiple 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\u003eThe \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class has properties like \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eSecurityPolicy\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, allowing you to specify the project, security policy, and whether to commit changes.\u003c/p\u003e\n"]]],[],null,[]]