public sealed class RouterNatSubnetworkToNat : IMessage<RouterNatSubnetworkToNat>, IEquatable<RouterNatSubnetworkToNat>, IDeepCloneable<RouterNatSubnetworkToNat>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class RouterNatSubnetworkToNat.
Defines the IP ranges that want to use NAT for a subnetwork.
Implements
IMessage<RouterNatSubnetworkToNat>, IEquatable<RouterNatSubnetworkToNat>, IDeepCloneable<RouterNatSubnetworkToNat>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RouterNatSubnetworkToNat()
public RouterNatSubnetworkToNat()
RouterNatSubnetworkToNat(RouterNatSubnetworkToNat)
public RouterNatSubnetworkToNat(RouterNatSubnetworkToNat other)
Parameter | |
---|---|
Name | Description |
other | RouterNatSubnetworkToNat |
Properties
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Name
public string Name { get; set; }
URL for the subnetwork resource that will use NAT.
Property Value | |
---|---|
Type | Description |
String |
SecondaryIpRangeNames
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
SourceIpRangesToNat
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |