Enum InternalRange.Usage (1.69.0)

public enum InternalRange.Usage extends Enum<InternalRange.Usage> implements ProtocolMessageEnum

Possible usage of an internal range.

Protobuf enum google.cloud.networkconnectivity.v1.InternalRange.Usage

Implements

ProtocolMessageEnum

Static Fields

Name Description
EXTERNAL_TO_VPC

Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect.

EXTERNAL_TO_VPC = 2;

EXTERNAL_TO_VPC_VALUE

Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect.

EXTERNAL_TO_VPC = 2;

FOR_MIGRATION

Ranges created FOR_MIGRATION can be used to lock a CIDR range between a source and target subnet. If usage is set to FOR_MIGRATION, the peering value has to be set to FOR_SELF or default to FOR_SELF when unset.

FOR_MIGRATION = 3;

FOR_MIGRATION_VALUE

Ranges created FOR_MIGRATION can be used to lock a CIDR range between a source and target subnet. If usage is set to FOR_MIGRATION, the peering value has to be set to FOR_SELF or default to FOR_SELF when unset.

FOR_MIGRATION = 3;

FOR_VPC

A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.

FOR_VPC = 1;

FOR_VPC_VALUE

A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.

FOR_VPC = 1;

UNRECOGNIZED
USAGE_UNSPECIFIED

Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.

USAGE_UNSPECIFIED = 0;

USAGE_UNSPECIFIED_VALUE

Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.

USAGE_UNSPECIFIED = 0;

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()