REST Resource: hive.v1alpha.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,
    ...
  }
}
Fields
name

string

Output only. 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" }.

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.