public sealed class RouterNatRuleAction : IMessage<RouterNatRuleAction>, IEquatable<RouterNatRuleAction>, IDeepCloneable<RouterNatRuleAction>, IBufferMessage, IMessage
public RepeatedField<string> SourceNatActiveIps { get; }
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
public RepeatedField<string> SourceNatDrainIps { get; }
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
[[["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 webpage provides documentation for the \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, detailing its implementation and available versions.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version, with a range of previous versions from 1.0.0 to 3.5.0 also documented, providing historical context and access to different release versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouterNatRuleAction\u003c/code\u003e 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, inheriting from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties, \u003ccode\u003eSourceNatActiveIps\u003c/code\u003e and \u003ccode\u003eSourceNatDrainIps\u003c/code\u003e, which are both \u003ccode\u003eRepeatedField<string>\u003c/code\u003e types, each of which contains URLs of IP addresses used for or being drained from NAT rules.\u003c/p\u003e\n"],["\u003cp\u003eThe documented Constructors are RouterNatRuleAction() which has no parameter and RouterNatRuleAction(RouterNatRuleAction) which has a single parameter named other of the RouterNatRuleAction type.\u003c/p\u003e\n"]]],[],null,[]]