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."],[[["This page provides documentation for the `AddRuleSecurityPolicyRequest` class within the Google Cloud Compute Engine v1 API, specifically for version 2.14.0, with links to other versions."],["The `AddRuleSecurityPolicyRequest` class is used to send requests to update security policies by adding rules, which can be achieved through the `SecurityPolicies.AddRule` method, and it inherits from several interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The documentation includes a list of all versions of the `AddRuleSecurityPolicyRequest` class, from version 1.0.0 up to the latest 3.6.0."],["The class has properties such as `Project`, `SecurityPolicy`, `SecurityPolicyRuleResource`, and `ValidateOnly`, allowing to specify the project ID, the security policy name, the rule resource to be added, and whether the request should only be validated."],["There are two constructors provided for the `AddRuleSecurityPolicyRequest` class, one default, and another that accepts an existing `AddRuleSecurityPolicyRequest` object as a parameter for duplication."]]],[]]