Enum RouterNat.SourceSubnetworkIpRangesToNat (1.26.0)

public enum RouterNat.SourceSubnetworkIpRangesToNat extends Enum<RouterNat.SourceSubnetworkIpRangesToNat> implements ProtocolMessageEnum

Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region.

Protobuf enum google.cloud.compute.v1.RouterNat.SourceSubnetworkIpRangesToNat

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ALL_SUBNETWORKS_ALL_IP_RANGES

All the IP ranges in every Subnetwork are allowed to Nat.

ALL_SUBNETWORKS_ALL_IP_RANGES = 179964376;

ALL_SUBNETWORKS_ALL_IP_RANGES_VALUE

All the IP ranges in every Subnetwork are allowed to Nat.

ALL_SUBNETWORKS_ALL_IP_RANGES = 179964376;

ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES

All the primary IP ranges in every Subnetwork are allowed to Nat.

ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES = 185573819;

ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES_VALUE

All the primary IP ranges in every Subnetwork are allowed to Nat.

ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES = 185573819;

LIST_OF_SUBNETWORKS

A list of Subnetworks are allowed to Nat (specified in the field subnetwork below)

LIST_OF_SUBNETWORKS = 517542270;

LIST_OF_SUBNETWORKS_VALUE

A list of Subnetworks are allowed to Nat (specified in the field subnetwork below)

LIST_OF_SUBNETWORKS = 517542270;

UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT

A value indicating that the enum field is not set.

UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT = 0;

UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT_VALUE

A value indicating that the enum field is not set.

UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()