Allows users to manage BigQuery data policies.
- REST Resource: v1beta1.projects.locations.dataPolicies
- REST Resource: v1.projects.locations.dataPolicies
Service: bigquerydatapolicy.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://bigquerydatapolicy.googleapis.com
REST Resource: v1beta1.projects.locations.dataPolicies
Methods | |
---|---|
create |
POST /v1beta1/{parent=projects/*/locations/*}/dataPolicies Creates a new data policy under a project with the given dataPolicyId (used as the display name), policy tag, and data policy type. |
delete |
DELETE /v1beta1/{name=projects/*/locations/*/dataPolicies/*} Deletes the data policy specified by its resource name. |
get |
GET /v1beta1/{name=projects/*/locations/*/dataPolicies/*} Gets the data policy specified by its resource name. |
get |
POST /v1beta1/{resource=projects/*/locations/*/dataPolicies/*}:getIamPolicy Gets the IAM policy for the specified data policy. |
list |
GET /v1beta1/{parent=projects/*/locations/*}/dataPolicies List all of the data policies in the specified parent project. |
patch |
PATCH /v1beta1/{dataPolicy.name=projects/*/locations/*/dataPolicies/*} Updates the metadata for an existing data policy. |
set |
POST /v1beta1/{resource=projects/*/locations/*/dataPolicies/*}:setIamPolicy Sets the IAM policy for the specified data policy. |
test |
POST /v1beta1/{resource=projects/*/locations/*/dataPolicies/*}:testIamPermissions Returns the caller's permission on the specified data policy resource. |
REST Resource: v1.projects.locations.dataPolicies
Methods | |
---|---|
create |
POST /v1/{parent=projects/*/locations/*}/dataPolicies Creates a new data policy under a project with the given dataPolicyId (used as the display name), policy tag, and data policy type. |
delete |
DELETE /v1/{name=projects/*/locations/*/dataPolicies/*} Deletes the data policy specified by its resource name. |
get |
GET /v1/{name=projects/*/locations/*/dataPolicies/*} Gets the data policy specified by its resource name. |
get |
POST /v1/{resource=projects/*/locations/*/dataPolicies/*}:getIamPolicy Gets the IAM policy for the specified data policy. |
list |
GET /v1/{parent=projects/*/locations/*}/dataPolicies List all of the data policies in the specified parent project. |
patch |
PATCH /v1/{dataPolicy.name=projects/*/locations/*/dataPolicies/*} Updates the metadata for an existing data policy. |
rename |
POST /v1/{name=projects/*/locations/*/dataPolicies/*}:rename Renames the id (display name) of the specified data policy. |
set |
POST /v1/{resource=projects/*/locations/*/dataPolicies/*}:setIamPolicy Sets the IAM policy for the specified data policy. |
test |
POST /v1/{resource=projects/*/locations/*/dataPolicies/*}:testIamPermissions Returns the caller's permission on the specified data policy resource. |