Cria uma nova política de dados em um projeto com o dataPolicyId (usado como o nome de exibição), a tag de política e o tipo de política de dados fornecidos.
Solicitação HTTP
POST https://bigquerydatapolicy.googleapis.com/v1beta1/{parent=projects/*/locations/*}/dataPolicies
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-05-23 UTC."],[[["This page details the process of creating a new data policy within a project, specifying its `dataPolicyId`, policy tag, and data policy type."],["The HTTP request to create a data policy is a POST request to the specified URL, utilizing gRPC Transcoding syntax."],["The request requires a `parent` parameter, which is a string representing the project resource name, in the format `projects/{projectNumber}/locations/{locationId}`."],["The request body should contain an instance of `DataPolicy`, and a successful response will include the newly created `DataPolicy` instance."],["Creating a data policy requires specific OAuth scopes and IAM permissions, including `datacatalog.taxonomies.get` and `bigquery.dataPolicies.create`."]]],[]]