Method: projects.locations.catalogs.databases.patch

Updates an existing database specified by the database ID.

HTTP request

PATCH https://biglake.googleapis.com/v1alpha1/{database.name=projects/*/locations/*/catalogs/*/databases/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
database.name

string

Output only. The resource name. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to update.

For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Database.

Response body

If successful, the response body contains an instance of Database.

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.

IAM Permissions

Requires the following IAM permission on the name resource:

  • biglake.databases.update

For more information, see the IAM documentation.