# Class CreateLockRequest (0.8.0)

0.8.0 (latest) 0.7.0 0.6.0 0.5.0 0.4.15 0.3.0 0.2.0 0.1.1

    CreateLockRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for the CreateLock method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent resource where this lock will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} |
| `lock` | `https://docs.cloud.google.com/python/docs/reference/biglake/latest/google.cloud.bigquery_biglake_v1alpha1.types.Lock` Required. The lock to create. The `name` field does not need to be provided for the lock creation. |