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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `RouterNatRuleAction` documentation is 3.6.0, but the current page is displaying version 2.5.0."],["The `RouterNatRuleAction` class, found within the `Google.Cloud.Compute.V1` namespace, implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class allows users to provide lists of IP resources with its properties `SourceNatActiveIps` for active IPs, and `SourceNatDrainIps` for IPs to be drained, both being of the type `RepeatedField\u003cstring\u003e`."],["The `RouterNatRuleAction` class has two constructors, one for creating a new instance and the other to create a new instance from a pre-existing `RouterNatRuleAction` object."]]],[]]