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> SourceNatActiveRanges { get; }
A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private 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.
public RepeatedField<string> SourceNatDrainRanges { get; }
A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private 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 \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, represents an action for a router NAT rule and is implemented across multiple versions, with the latest being version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements 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 base \u003ccode\u003eobject\u003c/code\u003e class, allowing for message handling, comparison, deep cloning, and buffer manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e class includes properties like \u003ccode\u003eSourceNatActiveIps\u003c/code\u003e and \u003ccode\u003eSourceNatDrainIps\u003c/code\u003e for managing public NAT using IP resource URLs, as well as \u003ccode\u003eSourceNatActiveRanges\u003c/code\u003e and \u003ccode\u003eSourceNatDrainRanges\u003c/code\u003e for private NAT with subnetwork URLs.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the class, one for a new \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e object and one that makes a copy of an existing \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis document provides a reference guide for the Google.Cloud.Compute.V1 API across multiple versions, ranging from 1.0.0 up to the latest 3.6.0, specifically focusing on the \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e class and its properties.\u003c/p\u003e\n"]]],[],null,[]]