Enum RouterNat.Type (1.58.0)

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

Indicates whether this NAT is used for public or private IP translation. If unspecified, it defaults to PUBLIC.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
PRIVATE

NAT used for private IP translation.

PRIVATE = 403485027;

PRIVATE_VALUE

NAT used for private IP translation.

PRIVATE = 403485027;

PUBLIC

NAT used for public IP translation. This is the default.

PUBLIC = 223389289;

PUBLIC_VALUE

NAT used for public IP translation. This is the default.

PUBLIC = 223389289;

UNDEFINED_TYPE

A value indicating that the enum field is not set.

UNDEFINED_TYPE = 0;

UNDEFINED_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_TYPE = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()