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 is used to make requests to the \u003ccode\u003eSecurityPolicies.AddRule\u003c/code\u003e method within the Compute Engine v1 API, as it is a request message for this specific purpose.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, has been updated across numerous versions, from 1.0.0 up to 3.6.0, including the currently displayed version 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe 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 derived from the base \u003ccode\u003eobject\u003c/code\u003e class, showing its structure and functionality within the Google Cloud .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class include \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eSecurityPolicy\u003c/code\u003e, and \u003ccode\u003eSecurityPolicyRuleResource\u003c/code\u003e, which are used to define the scope, target, and details of the security policy rule being modified.\u003c/p\u003e\n"],["\u003cp\u003eA constructor is available for creating a new \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e object either directly or by copying from an existing instance, and the option \u003ccode\u003eValidateOnly\u003c/code\u003e allows for testing without a commitment.\u003c/p\u003e\n"]]],[],null,[]]