Membuat kebijakan data baru di bagian project dengan dataPolicyId yang ditentukan (digunakan sebagai nama tampilan), tag kebijakan, dan jenis kebijakan data.
Permintaan HTTP
POST https://bigquerydatapolicy.googleapis.com/v1/{parent=projects/*/locations/*}/dataPolicies
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-04-19 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."]]],[]]