Erforderlich. Das übergeordnete Element, das diese Sammlung von Sperren besitzt. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}
Abfrageparameter
Parameter
pageSize
integer
Die maximale Anzahl der zurückzugebenden Sperren. Der Dienst gibt möglicherweise weniger als diesen Wert zurück. Wenn nicht angegeben, werden maximal 50 Sperren zurückgegeben. Der Höchstwert beträgt 1.000. Werte über 1.000 werden implizit auf 1.000 umgewandelt.
pageToken
string
Ein Seitentoken, das von einem vorherigen locks.list-Aufruf empfangen wurde. Geben Sie diese an, um die nachfolgende Seite abzurufen.
Beim Paginieren müssen alle anderen für locks.list bereitgestellten Parameter mit dem Aufruf übereinstimmen, der das Seitentoken bereitgestellt hat.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich ist, enthält der Antworttext Daten mit folgender Struktur:
Ein Token, das als pageToken gesendet werden kann, um die nächste Seite abzurufen. Wenn dieses Feld weggelassen wird, gibt es keine nachfolgenden Seiten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-05-23 (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)."]]