Erforderlich. Ressourcenname der umzubenennenden Datenrichtlinie. Das Format dafür ist projects/{projectNumber}/locations/{locationId}/dataPolicies/{dataPolicyId}.
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"newDataPolicyId": string}
Felder
newDataPolicyId
string
Erforderlich. Die neue Datenrichtlinien-ID.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von DataPolicy.
[[["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)."],[[["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."]]],[]]