Reference documentation and code samples for the Google Cloud Database Center V1beta Client class SubResourceType.
SubResourceType refers to the sub-type of database resource.
Protobuf type google.cloud.databasecenter.v1beta.SubResourceType
Namespace
Google \ Cloud \ DatabaseCenter \ V1betaMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SUB_RESOURCE_TYPE_UNSPECIFIED
Value: 0Unspecified.
Generated from protobuf enum SUB_RESOURCE_TYPE_UNSPECIFIED = 0;
SUB_RESOURCE_TYPE_PRIMARY
Value: 1A resource acting as a primary.
Generated from protobuf enum SUB_RESOURCE_TYPE_PRIMARY = 1;
SUB_RESOURCE_TYPE_SECONDARY
Value: 2A resource acting as a secondary.
Generated from protobuf enum SUB_RESOURCE_TYPE_SECONDARY = 2;
SUB_RESOURCE_TYPE_READ_REPLICA
Value: 3A resource acting as a read-replica.
Generated from protobuf enum SUB_RESOURCE_TYPE_READ_REPLICA = 3;
SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY
Value: 5A resource acting as an external primary.
Generated from protobuf enum SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 5;
SUB_RESOURCE_TYPE_OTHER
Value: 4For the rest of the categories.
Generated from protobuf enum SUB_RESOURCE_TYPE_OTHER = 4;