Resource: HiveDatabase
Stores the hive database information. It includes the database name, description, location and properties associated with the database.
| JSON representation |
|---|
{ "name": string, "description": string, "locationUri": string, "parameters": { string: string, ... }, "createTime": string, "updateTime": string } |
| Fields | |
|---|---|
name |
Identifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalogId}/databases/{databaseId} |
description |
Optional. Stores the database description. The maximum length is 4000 characters. |
locationUri |
Optional. The Cloud Storage location path where the database exists. Format: |
parameters |
Optional. Stores the properties associated with the database. The maximum size is 2 MiB. An object containing a list of |
createTime |
Output only. The creation time of the database. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The update time of the database. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Methods |
|
|---|---|
|
Creates a new database. |
|
Deletes an existing database specified by the database name. |
|
Gets the database specified by the resource name. |
|
List all databases in a specified catalog. |
|
Updates an existing database specified by the database name. |