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

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_READ_POOL

  Value: 6 
 

A resource acting as a read pool.

Generated from protobuf enum SUB_RESOURCE_TYPE_READ_POOL = 6;

SUB_RESOURCE_TYPE_RESERVATION

  Value: 7 
 

Represents a reservation resource.

Generated from protobuf enum SUB_RESOURCE_TYPE_RESERVATION = 7;

SUB_RESOURCE_TYPE_DATASET

  Value: 8 
 

Represents a dataset resource.

Generated from protobuf enum SUB_RESOURCE_TYPE_DATASET = 8;

SUB_RESOURCE_TYPE_OTHER

  Value: 4 
 

For the rest of the categories.

Generated from protobuf enum SUB_RESOURCE_TYPE_OTHER = 4;

Design a Mobile Site
View Site in Mobile | Classic
Share by: