# Database Center V1BETA API - Module Google::Cloud::DatabaseCenter::V1beta::SubResourceType (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Database Center V1BETA API module Google::Cloud::DatabaseCenter::V1beta::SubResourceType.

SubResourceType refers to the sub-type of database resource.

## Constants

### SUB_RESOURCE_TYPE_UNSPECIFIED

**value:** 0  
Unspecified.

### SUB_RESOURCE_TYPE_PRIMARY

**value:** 1  
A resource acting as a primary.

### SUB_RESOURCE_TYPE_SECONDARY

**value:** 2  
A resource acting as a secondary.

### SUB_RESOURCE_TYPE_READ_REPLICA

**value:** 3  
A resource acting as a read-replica.

### SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY

**value:** 5  
A resource acting as an external primary.

### SUB_RESOURCE_TYPE_READ_POOL

**value:** 6  
A resource acting as a read pool.

### SUB_RESOURCE_TYPE_RESERVATION

**value:** 7  
Represents a reservation resource.

### SUB_RESOURCE_TYPE_DATASET

**value:** 8  
Represents a dataset resource.

### SUB_RESOURCE_TYPE_OTHER

**value:** 4  
For the rest of the categories.