Method: hive.v1alpha.projects.catalogs.databases.create

Creates a new database.

HTTP request

POST https://biglake.googleapis.com/hive/v1alpha/{parent=projects/*/catalogs/*}/databases

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
hiveDatabaseId

string

Required. The ID to use for the Hive Database. The maximum length is 128 characters.

Request body

The request body contains an instance of HiveDatabase.

Response body

If successful, the response body contains a newly created instance of HiveDatabase.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.