# Network Connectivity V1 API - Module Google::Cloud::NetworkConnectivity::V1::InternalRange::Usage (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Network Connectivity V1 API module Google::Cloud::NetworkConnectivity::V1::InternalRange::Usage.

Possible usage of an internal range.

## Constants

### USAGE_UNSPECIFIED

**value:** 0  
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.

### FOR_VPC

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

### EXTERNAL_TO_VPC

**value:** 2  
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.

### FOR_MIGRATION

**value:** 3  
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.