public sealed class RouterNatSubnetworkToNat : IMessage<RouterNatSubnetworkToNat>, IEquatable<RouterNatSubnetworkToNat>, IDeepCloneable<RouterNatSubnetworkToNat>, IBufferMessage, IMessage
Defines the IP ranges that want to use NAT for a subnetwork.
public RepeatedField<string> SecondaryIpRangeNames { get; }
A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
public RepeatedField<string> SourceIpRangesToNat { get; }
Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]
Check the SourceIpRangesToNat enum for the list of possible values.
[[["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\u003eRouterNatSubnetworkToNat\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, defines the IP ranges for subnetworks that are intended to utilize Network Address Translation (NAT).\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and inherits basic functionalities from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eName\u003c/code\u003e for the subnetwork resource URL, \u003ccode\u003eSecondaryIpRangeNames\u003c/code\u003e for secondary IP ranges allowed to use NAT, and \u003ccode\u003eSourceIpRangesToNat\u003c/code\u003e to specify the NAT ranges within the subnetwork.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e package related to this class is 3.6.0, while the document primarily focuses on version 2.0.0, with many other versions available.\u003c/p\u003e\n"]]],[],null,[]]