- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.
HTTP request
PATCH https://bigquerydatapolicy.googleapis.com/v1beta1/{dataPolicy.name=projects/*/locations/*/dataPolicies/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
dataPolicy.name |
Output only. Resource name of this data policy, in the format of |
Query parameters
| Parameters | |
|---|---|
updateMask |
The update mask applies to the resource. For the Updates to the This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of DataPolicy.
Response body
If successful, the response body contains an instance of DataPolicy.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigqueryhttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
bigquery.dataPolicies.update
Requires the following IAM permission on the taxonomy resource:
datacatalog.taxonomies.get
For more information, see the IAM documentation.