Obligatorio. El campo name de la tabla se usa para identificar la tabla a la que se le cambiará el nombre. Formato: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
Cuerpo de la solicitud
El cuerpo de la solicitud contiene datos con la siguiente estructura:
Representación JSON
{"newName": string}
Campos
newName
string
Obligatorio. El name nuevo para la tabla especificada debe estar en la misma base de datos. Formato: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
Cuerpo de la respuesta
Si se ejecuta de forma correcta, el cuerpo de la respuesta contiene una instancia de Table.
Alcances de autorización
Se necesita uno de los siguientes alcances de OAuth:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-05-23 (UTC)"],[[["This endpoint allows renaming an existing table within a specific database using a POST request to a defined URL structure."],["The request requires specifying the table's current `name` via path parameters and the desired `newName` for the table within the request body, both following a specific format."],["A successful request returns an instance of a `Table` object in the response body."],["To authorize the request, one of two specified OAuth scopes are needed: `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform`."],["Renaming a table requires the `biglake.tables.update` IAM permission on the table's `name` resource."]]],[]]