Erforderlich. Das Feld name der Tabelle dient dazu, die Tabelle zu identifizieren, die umbenannt werden soll. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"newName": string}
Felder
newName
string
Erforderlich. Die neue name für die angegebene Tabelle muss sich in derselben Datenbank befinden. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Table.
[[["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 endpoint allows you to rename a table within a specific database using its unique identifier, the table's \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using a \u003ccode\u003ePOST\u003c/code\u003e HTTP request to a URL defined by the gRPC Transcoding syntax, which includes path parameters for specifying the table's location.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a JSON structure with a \u003ccode\u003enewName\u003c/code\u003e field that defines the table's new name, with the new name following the same structure as the original name.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return a response body containing the updated Table object, providing confirmation of the rename operation.\u003c/p\u003e\n"],["\u003cp\u003eTo successfully rename the table, the request must be authenticated with either the \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scopes, and the caller must have the \u003ccode\u003ebiglake.tables.update\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.catalogs.databases.tables.rename\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nRenames an existing table specified by the table ID.\n\n### HTTP request\n\n`POST https://biglake.googleapis.com/v1alpha1/{name=projects/*/locations/*/catalogs/*/databases/*/tables/*}:rename`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Table](/bigquery/docs/reference/biglake/rest/v1alpha1/projects.locations.catalogs.databases.tables#Table).\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 `name` resource:\n\n- `biglake.tables.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]