Wajib. Induk, yang memiliki koleksi kunci ini. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}
Parameter kueri
Parameter
pageSize
integer
Jumlah kunci maksimum untuk ditampilkan. Layanan mungkin menampilkan lebih sedikit dari nilai ini. Jika tidak ditentukan, maksimal 50 kunci akan ditampilkan. Nilai maksimum adalah 1.000; nilai di atas 1.000 akan dikonversi menjadi 1.000.
pageToken
string
Token halaman, diterima dari panggilan locks.list sebelumnya. Berikan ini untuk mengambil halaman berikutnya.
Saat melakukan penomoran halaman, semua parameter lain yang disediakan ke locks.list harus cocok dengan panggilan yang disediakan token halaman.
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat data dengan struktur berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-04-19 UTC."],[[["\u003cp\u003eThis page details how to list all locks within a specified database using a \u003ccode\u003eGET\u003c/code\u003e request to the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter to identify the database, and it also accepts optional \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters for controlling the number of results and pagination.\u003c/p\u003e\n"],["\u003cp\u003eThe response will contain a list of lock objects and may include a \u003ccode\u003enextPageToken\u003c/code\u003e for retrieving subsequent pages of results if not all the information was provided in the first call.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, the request must be empty, and the user must have either the \u003ccode\u003ebigquery\u003c/code\u003e or \u003ccode\u003ecloud-platform\u003c/code\u003e OAuth scope, and the \u003ccode\u003ebiglake.locks.list\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.catalogs.databases.locks.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListLocksResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nList all locks in a specified database.\n\n### HTTP request\n\n`GET https://biglake.googleapis.com/v1alpha1/{parent=projects/*/locations/*/catalogs/*/databases/*}/locks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message for the locks.list method.\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `biglake.locks.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]