Skip to main content
Every googlebigquery.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Analytics Hub

createDataExchange

analyticsHub.createDataExchange Create a new data exchange Risk: write
Input Output

createListing

analyticsHub.createListing Create a new listing (shareable dataset) in a data exchange Risk: write
Input
Output

createQueryTemplate

analyticsHub.createQueryTemplate Create a new query template in a data exchange Risk: write
Input Output: object

listDataexchangesListings

analyticsHub.listDataexchangesListings List data exchanges in a location Risk: read
Input Output

listListings

analyticsHub.listListings List listings in a data exchange Risk: read
Input Output

listOrganizationDataExchanges

analyticsHub.listOrganizationDataExchanges List data exchanges across an organization Risk: read
Input Output

listQueryTemplates

analyticsHub.listQueryTemplates List query templates in a data exchange Risk: read
Input Output

Connections

create

connections.create Create a new external data source connection Risk: write
Input
Output

listBigQueryConnections

connections.listBigQueryConnections List BigQuery connections across all locations Risk: read
Input Output

listLocationsConnections

connections.listLocationsConnections List BigQuery connections in a specific location Risk: read
Input Output

update

connections.update Update an existing connection Risk: write
Input
Output

Datasets

create

datasets.create Create a new dataset Risk: write
Input
Output

delete

datasets.delete Permanently delete a dataset [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

get

datasets.get Get a dataset by ID Risk: read
Input Output

list

datasets.list List datasets in a project Risk: read
Input Output

patch

datasets.patch Partially update a dataset Risk: write
Input
Output

undelete

datasets.undelete Restore a recently deleted dataset Risk: write
Input Output

update

datasets.update Replace a dataset (full update) Risk: write
Input
Output

Iam

createLocationsDatapolicies

iam.createLocationsDatapolicies Create a column-level security / data masking policy Risk: write
Input
Output

getConnectionIamPolicy

iam.getConnectionIamPolicy Get a connection’s IAM policy Risk: read
Input Output

getRoutineIamPolicy

iam.getRoutineIamPolicy Get a routine’s IAM policy Risk: read
Input Output

getServiceAccount

iam.getServiceAccount Get the project’s BigQuery service account email Risk: read
Input Output

getTableIamPolicy

iam.getTableIamPolicy Get a table’s IAM policy Risk: read
Input Output

listLocationsDatapolicies

iam.listLocationsDatapolicies List data policies in a location Risk: read
Input Output

listRowAccessPolicies

iam.listRowAccessPolicies List a table’s row-level access policies Risk: read
Input Output

setRoutineIamPolicy

iam.setRoutineIamPolicy Replace a routine’s IAM policy Risk: write
Input
Output

testRoutineIamPermissions

iam.testRoutineIamPermissions Test which permissions the caller has on a routine Risk: read
Input Output

Ml

deleteModel

ml.deleteModel Permanently delete a model [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

getBigqueryModel

ml.getBigqueryModel Get a BigQuery ML model by ID Risk: read
Input Output

listLocations

ml.listLocations List available BigQuery locations for a project Risk: read
Input Output

listModels

ml.listModels List BigQuery ML models in a dataset Risk: read
Input Output

listProjects

ml.listProjects List projects visible to the caller Risk: read
Input Output

patchModel

ml.patchModel Partially update a model’s metadata Risk: write
Input
Output

Queries

cancelJob

queries.cancelJob Request cancellation of a running job [DESTRUCTIVE] Risk: destructive
Input Output

deleteJobMetadata

queries.deleteJobMetadata Delete a job’s metadata [DESTRUCTIVE] Risk: destructive
Input Output: void

getJob

queries.getJob Get a job by ID Risk: read
Input Output

getQueryResults

queries.getQueryResults Fetch additional pages of results for a running/completed query job Risk: read
Input Output

insertAll

queries.insertAll Stream rows into a table (supports insertId-based deduplication) Risk: write
Input
Output

insertJob

queries.insertJob Start a query, load, extract, or copy job (supports dry-run) Risk: write
Input
Output

insertJobWithUpload

queries.insertJobWithUpload Start a load job that uploads an inline file as the data source Risk: write
Input
Output

listJobs

queries.listJobs List jobs for a project Risk: read
Input Output

query

queries.query Run a SQL query and return inline results Risk: read
Input
Output

Reservations

create

reservations.create Create a new slot reservation (has billing impact) Risk: write
Input
Output

createAssignment

reservations.createAssignment Assign a project/folder/org to a reservation Risk: write
Input Output

createCapacityCommitment

reservations.createCapacityCommitment Purchase a new capacity commitment (has billing impact) Risk: write
Input Output

list

reservations.list List slot reservations in a location Risk: read
Input Output

listAssignments

reservations.listAssignments List a reservation’s assignments Risk: read
Input Output

listCapacityCommitments

reservations.listCapacityCommitments List capacity commitments in a location Risk: read
Input Output

listGroups

reservations.listGroups List reservation groups in a location Risk: read
Input Output

searchAllAssignments

reservations.searchAllAssignments Search assignments across a location Risk: read
Input Output

Routines

create

routines.create Create a new routine (UDF or stored procedure) Risk: write
Input
Output

delete

routines.delete Permanently delete a routine [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

get

routines.get Get a routine by ID Risk: read
Input Output

list

routines.list List routines (UDFs/stored procedures) in a dataset Risk: read
Input Output

update

routines.update Replace a routine (full update) Risk: write
Input
Output

Tables

create

tables.create Create a new table or view Risk: write
Input
Output

delete

tables.delete Permanently delete a table [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

getSchema

tables.getSchema Get a table’s schema and metadata Risk: read
Input Output

list

tables.list List tables in a dataset Risk: read
Input Output

listTableData

tables.listTableData List a table’s row data Risk: read
Input Output

patch

tables.patch Partially update a table Risk: write
Input
Output

update

tables.update Replace a table (full update) Risk: write
Input
Output