Method: projects.locations.catalogs.databases.locks.create

Creates a new lock.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The parent resource where this lock will be created. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}

Request body

The request body contains an instance of Lock.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • biglake.locks.create

For more information, see the IAM documentation.