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 latest version of the \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e documentation is 3.6.0, which can be found on the provided page, with many other versions available, ranging from 1.0.0 up to this latest version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouterNatRuleAction\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, implementing multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors: one default constructor and another that takes another \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e object, allowing for creating new instances and copies.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouterNatRuleAction\u003c/code\u003e has two key properties, \u003ccode\u003eSourceNatActiveIps\u003c/code\u003e and \u003ccode\u003eSourceNatDrainIps\u003c/code\u003e, both of which are of type \u003ccode\u003eRepeatedField<string>\u003c/code\u003e and manage lists of IP resources used or being drained by a NAT rule.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from \u003ccode\u003eObject\u003c/code\u003e, providing basic functionalities like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]