public sealed class AddRuleFirewallPolicyRequest : IMessage<AddRuleFirewallPolicyRequest>, IEquatable<AddRuleFirewallPolicyRequest>, IDeepCloneable<AddRuleFirewallPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class AddRuleFirewallPolicyRequest.
A request message for FirewallPolicies.AddRule. See the method description for details.
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
[[["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 page provides documentation for the \u003ccode\u003eAddRuleFirewallPolicyRequest\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for the .NET environment, with the most recent version listed as 3.6.0, and the current page documenting version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddRuleFirewallPolicyRequest\u003c/code\u003e class is used to construct a request to update firewall policies by adding a rule, as indicated by its implementation of interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eFirewallPolicy\u003c/code\u003e (the name of the policy), \u003ccode\u003eFirewallPolicyRuleResource\u003c/code\u003e (the body resource for the request), and \u003ccode\u003eRequestId\u003c/code\u003e (for request identification, and preventing duplicate requests).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists all available versions of the \u003ccode\u003eAddRuleFirewallPolicyRequest\u003c/code\u003e class, starting from 1.0.0 up to the latest 3.6.0, and has a section regarding the constructors.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes information about inherited members, such as GetHashCode, GetType, and ToString from the object class, as well as what namespace and assembly it comes from.\u003c/p\u003e\n"]]],[],null,[]]