DatabaseDetails

Details of a logical database.

JSON representation
{
  "databaseName": string,
  "parentDatabaseDeployment": {
    object (ParentDatabaseDeployment)
  },
  "allocatedStorageBytes": string,
  "schemas": [
    {
      object (DatabaseSchema)
    }
  ]
}
Fields
databaseName

string

The name of the database.

parentDatabaseDeployment

object (ParentDatabaseDeployment)

The parent database deployment that contains the logical database.

allocatedStorageBytes

string (int64 format)

The allocated storage for the database in bytes.

schemas[]

object (DatabaseSchema)

The database schemas.

ParentDatabaseDeployment

The identifiers of the parent database deployment.

JSON representation
{
  "generatedId": string,
  "manualUniqueId": string
}
Fields
generatedId

string

The parent database deployment generated ID.

manualUniqueId

string

The parent database deployment optional manual unique ID set by the user.

DatabaseSchema

Details of a database schema.

JSON representation
{
  "schemaName": string,
  "tablesSizeBytes": string,
  "objects": [
    {
      object (DatabaseObjects)
    }
  ]
}
Fields
schemaName

string

The name of the schema.

tablesSizeBytes

string (int64 format)

The total size of tables in bytes.

objects[]

object (DatabaseObjects)

List of details of objects by category.

DatabaseObjects

Details of a group of database objects.

JSON representation
{
  "category": enum (Category),
  "count": string
}
Fields
category

enum (Category)

The category of the objects.

count

string (int64 format)

The number of objects.

Category

The category of a database object.

Enums
CATEGORY_UNSPECIFIED Unspecified type.
TABLE Table.
INDEX Index.
CONSTRAINTS Constraints.
VIEWS Views.
SOURCE_CODE Source code, e.g. procedures.
OTHER Uncategorized objects.