REST Resource: hive.v1beta.projects.catalogs.databases

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

string

Identifier. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalogId}/databases/{databaseId}

description

string

Optional. Stores the database description. The maximum length is 4000 characters.

locationUri

string

Optional. The Cloud Storage location path where the database exists. Format: gs://bucket/path/to/database If unspecified, the database will be stored in the catalog location. The maximum length is 4000 characters.

parameters

map (key: string, value: string)

Optional. Stores the properties associated with the database. The maximum size is 2 MiB.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

createTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Methods

create

Creates a new database.

delete

Deletes an existing database specified by the database name.

get

Gets the database specified by the resource name.

list

List all databases in a specified catalog.

patch

Updates an existing database specified by the database name.