Skip to content

platformresource

Contents

Messages

ApplicationResource

The resources generated by application and can be associated to the project.

InfraResource

The Infra resources managed by platform and can be associated to the project.

Enums

ApplicationResource.Type

Type of the resource can be associated to the project.

Name Number Description
TYPE_UNSPECIFIED 0 Unspecified, do not use.
PDS_DATA_SERVICE_DEPLOYMENT 1 List of supported PDS application resources. PDS application resource of type deployment.
PDS_BACKUPCONFIG 2 PDS application resource of type backup.
PDS_RESTORE 3 PDS application resource of type restore.
BAAS_BACKUP 4 List of supported BAAS application resources. BAAS application resource of type backup.

InfraResource.Type

Type of the resource.

Name Number Description
TYPE_UNSPECIFIED 0 Unspecified, do not use.
ACCOUNT 1 Currently supported infra resources. Infra resource of type account.
TENANT 2 Infra resource of type Tenant (Organization).
PROJECT 3 Infra resource of type projects.
TARGET_CLUSTER 4 Infra resource target cluster.
NAMESPACE 5 Infra resource of type namespace.
CREDENTIAL 6 Infra resource of type credential.
BACKUP_LOCATION 7 Infra resource of type backup location.
BACKUP_POLICY 8 Infra resource of type backup policy.
TEMPLATE 9 Infra resource of type template.
INVITATION 10 Infra resource of type invitation.

Scalar Value Types

.proto Type Notes C++ Type Java Type Python Type

double
double double float

float
float float float

int32
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. int32 int int

int64
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. int64 long int/long

uint32
Uses variable-length encoding. uint32 int int/long

uint64
Uses variable-length encoding. uint64 long int/long

sint32
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. int32 int int

sint64
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. int64 long int/long

fixed32
Always four bytes. More efficient than uint32 if values are often greater than 2^28. uint32 int int

fixed64
Always eight bytes. More efficient than uint64 if values are often greater than 2^56. uint64 long int/long

sfixed32
Always four bytes. int32 int int

sfixed64
Always eight bytes. int64 long int/long

bool
bool boolean boolean

string
A string must always contain UTF-8 encoded or 7-bit ASCII text. string String str/unicode

bytes
May contain any arbitrary sequence of bytes. string ByteString str