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 \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is defined in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, with version 3.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage<RouterNatRuleAction>\u003c/code\u003e, \u003ccode\u003eIEquatable<RouterNatRuleAction>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<RouterNatRuleAction>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e, indicating its role in message handling and data management within the Google Cloud Compute environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouterNatRuleAction\u003c/code\u003e class provides two constructors: a default constructor \u003ccode\u003eRouterNatRuleAction()\u003c/code\u003e and an overload \u003ccode\u003eRouterNatRuleAction(RouterNatRuleAction other)\u003c/code\u003e that allows for object copying, supporting the deep cloning capabilities offered by the \u003ccode\u003eIDeepCloneable\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two key properties: \u003ccode\u003eSourceNatActiveIps\u003c/code\u003e, which lists URLs of active external IP addresses used for the NAT rule, and \u003ccode\u003eSourceNatDrainIps\u003c/code\u003e, which lists URLs of IP addresses to be drained during NAT rule updates, both properties handling a list of strings.\u003c/p\u003e\n"],["\u003cp\u003eThe versions for this class are provided from version 1.0.0 up to the latest 3.6.0, and each version links to its reference page, allowing users to navigate to specific version information.\u003c/p\u003e\n"]]],[],null,[]]