Skip to main content
PATCH
/
v1
/
instances
/
{instance}
/
databases
/
{database}
/
catalog
{  "name": "<string>",  "schemas": [  {  "name": "<string>",  "tables": [  {  "name": "<string>",  "columns": {  "columns": [  {  "name": "<string>",  "semanticType": "<string>",  "labels": {},  "classification": "<string>",  "objectSchema": {  "type": "TYPE_UNSPECIFIED",  "structKind": {  "properties": {}  },  "arrayKind": {  "kind": {}  },  "semanticType": "<string>"  }  }  ]  },  "objectSchema": {  "type": "TYPE_UNSPECIFIED",  "structKind": {  "properties": {}  },  "arrayKind": {  "kind": {}  },  "semanticType": "<string>"  },  "classification": "<string>"  }  ]  }  ] }

Path Parameters

instance
string
required

The instance id.

database
string
required

The database id.

Query Parameters

allowMissing
boolean

If set to true, and the database catalog is not found, a new database catalog will be created. In this situation, update_mask is ignored.

Body

application/json
name
string

The name of the database catalog. Format: instances/{instance}/databases/{database}/catalog

schemas
object[]

Response

OK

name
string

The name of the database catalog. Format: instances/{instance}/databases/{database}/catalog

schemas
object[]