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\u003eThe \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class, part of the Google.Cloud.Compute.V1 namespace, is used to send a request to update security policies in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version for the \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class available in the documentation is 3.6.0, with numerous previous versions also documented down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, providing functionalities like message handling, equality comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class include Project, SecurityPolicy, and SecurityPolicyRuleResource, which are used to specify the project, target security policy, and rule details respectively, as well as ValidateOnly to avoid any actual actions.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and a copy constructor, allowing for the creation of new instances and deep clones of existing instances, respectively.\u003c/p\u003e\n"]]],[],null,[]]