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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `AddRuleSecurityPolicyRequest` 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."],["The most recent version for the `AddRuleSecurityPolicyRequest` class available in the documentation is 3.6.0, with numerous previous versions also documented down to version 1.0.0."],["This class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, providing functionalities like message handling, equality comparison, deep cloning, and buffer operations."],["Key properties of the `AddRuleSecurityPolicyRequest` 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."],["The 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."]]],[]]