public sealed class AddRuleSecurityPolicyRequest : IMessage<AddRuleSecurityPolicyRequest>, IEquatable<AddRuleSecurityPolicyRequest>, IDeepCloneable<AddRuleSecurityPolicyRequest>, IBufferMessage, IMessage
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 details the \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, used to create a request message for adding security policy rules.\u003c/p\u003e\n"],["\u003cp\u003eThe class is implemented with multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides access to historical versions of \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e ranging from version 1.0.0 up to the latest version 3.6.0, each with its own documentation link.\u003c/p\u003e\n"],["\u003cp\u003eKey properties for the \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e include \u003ccode\u003eProject\u003c/code\u003e (project ID), \u003ccode\u003eSecurityPolicy\u003c/code\u003e (name of the policy), and \u003ccode\u003eSecurityPolicyRuleResource\u003c/code\u003e (the body of the request).\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, one default and one that takes another \u003ccode\u003eAddRuleSecurityPolicyRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]