Crea un nuovo criterio dei dati in un progetto con il dataPolicyId (utilizzato come nome visualizzato), tag di criteri e il tipo di criterio dei dati specificati.
Richiesta HTTP
POST https://bigquerydatapolicy.googleapis.com/v1/{parent=projects/*/locations/*}/dataPolicies
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-06-27 UTC."],[[["This endpoint creates a new data policy within a specified project, identified by a unique `dataPolicyId`, along with a policy tag and type."],["The HTTP request is a POST operation to the provided URL structure, using gRPC Transcoding syntax, and requires a parent resource name as a path parameter."],["The request body must contain the details of the new `DataPolicy`, while the response body will return the newly created `DataPolicy` instance upon successful execution."],["Authorization requires one of two specific OAuth scopes, `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform`."],["Creating a new data policy also requires `bigquery.dataPolicies.create` permission on the specified parent, `datacatalog.taxonomies.get` on the `taxonomy` resource, and `bigquery.routines.get` on the `routine` resource."]]],[]]