- JSON representation
- ParentDatabaseDeployment
- DatabaseSchema
- DatabaseObjects
- Category
- SqlServerSchemaDetails
- MySqlSchemaDetails
- MySqlStorageEngineDetails
- Engine
- PostgreSqlSchemaDetails
- PostgreSqlExtension
Details of a logical database.
JSON representation |
---|
{ "databaseName" : string , "parentDatabaseDeployment" : { object ( |
Fields | |
---|---|
databaseName
|
The name of the database. |
parentDatabaseDeployment
|
The parent database deployment that contains the logical database. |
allocatedStorageBytes
|
The allocated storage for the database in bytes. |
schemas[]
|
The database schemas. |
ParentDatabaseDeployment
The identifiers of the parent database deployment.
JSON representation |
---|
{ "generatedId" : string , "manualUniqueId" : string } |
Fields | |
---|---|
generatedId
|
The parent database deployment generated ID. |
manualUniqueId
|
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 ( |
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.
engine_details
. Engine-specific details. engine_details
can be only one of the following:sqlServer
object (
SqlServerSchemaDetails
)
Details of a SqlServer schema.
mysql
object (
MySqlSchemaDetails
)
Details of a Mysql schema.
postgresql
object (
PostgreSqlSchemaDetails
)
Details of a PostgreSql schema.
DatabaseObjects
Details of a group of database objects.
JSON representation |
---|
{
"category"
:
enum (
|
Fields | |
---|---|
category
|
The category of the objects. |
count
|
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. |
SqlServerSchemaDetails
Specific details for a SqlServer database.
JSON representation |
---|
{ "clrObjectCount" : integer } |
Fields | |
---|---|
clrObjectCount
|
Optional. SqlServer number of CLR objects. |
MySqlSchemaDetails
Specific details for a Mysql database.
JSON representation |
---|
{
"storageEngines"
:
[
{
object (
|
Fields | |
---|---|
storageEngines[]
|
Optional. Mysql storage engine tables. |
MySqlStorageEngineDetails
Mysql storage engine tables.
JSON representation |
---|
{
"engine"
:
enum (
|
Fields | |
---|---|
engine
|
Required. The storage engine. |
tableCount
|
Optional. The number of tables. |
encryptedTableCount
|
Optional. The number of encrypted tables. |
Engine
Storage engines.
Enums | |
---|---|
ENGINE_UNSPECIFIED
|
Unspecified storage engine. |
INNODB
|
InnoDB. |
MYISAM
|
MyISAM. |
MEMORY
|
Memory. |
CSV
|
CSV. |
ARCHIVE
|
Archive. |
BLACKHOLE
|
Blackhole. |
NDB
|
NDB. |
MERGE
|
Merge. |
FEDERATED
|
Federated. |
EXAMPLE
|
Example. |
OTHER
|
Other. |
PostgreSqlSchemaDetails
Specific details for a PostgreSql schema.
JSON representation |
---|
{
"foreignTablesCount"
:
integer
,
"postgresqlExtensions"
:
[
{
object (
|
Fields | |
---|---|
foreignTablesCount
|
Optional. PostgreSql foreign tables. |
postgresqlExtensions[]
|
Optional. PostgreSql extensions. |
PostgreSqlExtension
PostgreSql extension.
JSON representation |
---|
{ "extension" : string , "version" : string } |
Fields | |
---|---|
extension
|
Required. The extension name. |
version
|
Required. The extension version. |