Google Cloud Database Center V1beta Client - Class SubResourceType (0.3.1)

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 \ V1beta

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SUB_RESOURCE_TYPE_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum SUB_RESOURCE_TYPE_UNSPECIFIED = 0;

SUB_RESOURCE_TYPE_PRIMARY

Value: 1

A resource acting as a primary.

Generated from protobuf enum SUB_RESOURCE_TYPE_PRIMARY = 1;

SUB_RESOURCE_TYPE_SECONDARY

Value: 2

A resource acting as a secondary.

Generated from protobuf enum SUB_RESOURCE_TYPE_SECONDARY = 2;

SUB_RESOURCE_TYPE_READ_REPLICA

Value: 3

A resource acting as a read-replica.

Generated from protobuf enum SUB_RESOURCE_TYPE_READ_REPLICA = 3;

SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY

Value: 5

A resource acting as an external primary.

Generated from protobuf enum SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 5;

SUB_RESOURCE_TYPE_OTHER

Value: 4

For the rest of the categories.

Generated from protobuf enum SUB_RESOURCE_TYPE_OTHER = 4;