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

List all databases in a specified catalog.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The hive catalog to list databases from. Format: projects/{project_id_or_number}/catalogs/{catalogId}

Query parameters

Parameters
pageSize

integer

Optional. Page size for pagination.

pageToken

string

Optional. PageToken for pagination.

Request body

The request body must be empty.

Response body

Response message for the databases.list method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "databases": [
    {
      object (HiveDatabase)
    }
  ],
  "nextPageToken": string
}
Fields
databases[]

object (HiveDatabase)

Output only. The databases from the specified project and catalog.

nextPageToken

string

Output only. A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

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.