v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13131943.4 KB
projects

Creates a new database.

post/v1/{+parent}/databases

Path parameters

parentstring required

Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}

Query parameters

databaseIdstring

Required. The ID to use for the database, which will become the final component of the database's resource name.

Request body

namestring

Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

createTimestring google-datetime

Output only. The creation time of the database.

deleteTimestring google-datetime

Output only. The deletion time of the database. Only set after the database is deleted.

expireTimestring google-datetime

Output only. The time when this database is considered expired. Only set after the database is deleted.

type'TYPE_UNSPECIFIED' | 'HIVE'

The database type.

updateTimestring google-datetime

Output only. The last modification time of the database.

Response

Successful response