Google BigQuery Bigquery Bigquerydatapolicy Projects API

The Bigquery Bigquerydatapolicy Projects API from Google BigQuery — 7 operation(s) for bigquery bigquerydatapolicy projects.

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies List data policies in a project · List dataPolicies #
Ask an LLM
“Which data policies exist in my project?”
“Can I filter data policies by the policy tag they're bound to?”
Tell an agent
List data policies in project {projectsId} at {locationsId}.
Show data policies in {projectsId}/{locationsId} matching {filter}.
POST /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies Create a data policy · Create dataPolicies #
Ask an LLM
“How do I create a data label policy for column-level security?”
“Can I name a data policy with a display name?”
Tell an agent
Create data policy {dataPolicyId} in project {projectsId}, location {locationsId}.
Create data policy {dataPolicyId} with {dataPolicy}.
POST /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:removeGrantees Revoke grantees from a data policy · Remove grantees dataPolicies #
Ask an LLM
“How do I revoke access for users on a data policy?”
“What happens if I remove a grantee that doesn't exist?”
Tell an agent destructive · confirm first
Remove grantees {grantees} from data policy {dataPoliciesId} in {projectsId}/{locationsId}.
Revoke access for {grantees} on data policy {dataPoliciesId} in project {projectsId} at {locationsId}.
POST /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:setIamPolicy Set the IAM policy on a data policy · Set iam policy dataPolicies #
Ask an LLM
“How do I change who can manage a data policy?”
“Can I set an IAM policy on a data policy by its resource name?”
Tell an agent
Set the IAM policy on data policy {dataPoliciesId} in {projectsId}/{locationsId}.
Replace the IAM policy on data policy {dataPoliciesId} in project {projectsId} at {locationsId} with {policy}.
DELETE /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId} Delete a data policy · Delete dataPolicies #
Ask an LLM
“How do I delete a data policy?”
“What happens to grantees when a data policy is deleted?”
Tell an agent destructive · confirm first
Delete data policy {dataPoliciesId} in {projectsId}/{locationsId}.
Remove the data policy {dataPoliciesId} from project {projectsId} at {locationsId}.
PATCH /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId} Update a data policy's metadata · Patch dataPolicies #
Ask an LLM
“Can I change the grantees on an existing data policy?”
“Is it possible to update a data policy only if its etag matches?”
Tell an agent
Update grantees on data policy {dataPoliciesId} in {projectsId}/{locationsId} to {grantees}.
Change the grantees of data policy {dataPoliciesId} in project {projectsId} at {locationsId} to {grantees}, leaving other fields unchanged.
GET /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId} Get a data policy · Get dataPolicies #
Ask an LLM
“What grantees and type does a data policy have?”
“Can I look up a data policy by its resource name?”
Tell an agent
Get data policy {dataPoliciesId} in {projectsId}/{locationsId}.
Show the grantees and type of data policy {dataPoliciesId} in project {projectsId} at {locationsId}.
POST /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:getIamPolicy Get the IAM policy on a data policy · Get iam policy dataPolicies #
Ask an LLM
“Who has IAM permissions on a data policy?”
“Can I read the IAM policy for a data policy by its resource name?”
Tell an agent
Get the IAM policy on data policy {dataPoliciesId} in {projectsId}/{locationsId}.
Show the IAM permissions granted on data policy {dataPoliciesId} in project {projectsId} at {locationsId}.
POST /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:testIamPermissions Check IAM permissions on a data policy · Test iam permissions dataPolicies #
Ask an LLM
“Does my service account have permission to manage a data policy?”
“Can I test IAM permissions on a data policy before changing it?”
Tell an agent
Test IAM permissions {permissions} on data policy {dataPoliciesId} in {projectsId}/{locationsId}.
Check whether I can manage data policy {dataPoliciesId} in project {projectsId} at {locationsId} with permissions {permissions}.
POST /v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:addGrantees Add grantees to a data policy · Add grantees dataPolicies #
Ask an LLM
“How do I grant access to a new user on a data policy?”
“Will duplicate grantees be ignored when I add them?”
Tell an agent
Add grantees {grantees} to data policy {dataPoliciesId} in {projectsId}/{locationsId}.
Grant access to {grantees} on data policy {dataPoliciesId} in project {projectsId} at {locationsId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-bigquery:google-bigquery-bigquerydatapolicy-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-bigquery-bigquerydatapolicy-projects-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: BigQuery Data Policy API Projects API
  version: v2
  description: Generated from Google's published Discovery document for BigQuery Data Policy API (bigquerydatapolicy v2, revision
    20261107). 10 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
externalDocs:
  url: https://cloud.google.com/bigquery/docs/column-data-masking
servers:


# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/google-bigquery/openapi/google-bigquery-bigquerydatapolicy-projects-api-openapi.yml