Obligatorio. Nombre del recurso de la política de datos a la que se le cambiará el nombre. El formato es projects/{projectNumber}/locations/{locationId}/dataPolicies/{dataPolicyId}.
Cuerpo de la solicitud
El cuerpo de la solicitud contiene datos con la siguiente estructura:
Representación JSON
{"newDataPolicyId": string}
Campos
newDataPolicyId
string
Obligatorio. El nuevo ID de la política de datos.
Cuerpo de la respuesta
Si se ejecuta de forma correcta, el cuerpo de la respuesta contiene una instancia de DataPolicy.
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 page details how to rename a data policy's display name using a POST HTTP request to the specified endpoint."],["The `name` path parameter is required in the URL and specifies the resource name of the data policy to be renamed."],["The request body must contain a JSON object with the `newDataPolicyId` field, which specifies the new ID for the data policy."],["Successful requests will return a `DataPolicy` instance in the response body."],["Renaming a data policy requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope, as well as the `bigquery.dataPolicies.update` IAM permission."]]],[]]