- Category: databases
- Auth: OAUTH2, GOOGLE_SERVICE_ACCOUNT
- Composio-managed OAuth available? Yes
- Tools: 63
- Triggers: 0
- Slug:
GOOGLEBIGQUERY - Version: 20261101_00
Frequently Asked Questions
Why do I see "This app is blocked" when connecting Google BigQuery?
Why do I see "This app is blocked" when connecting Google BigQuery?
Tools
Cancel BigQuery Job
Cancel BigQuery Job
GOOGLEBIGQUERY_CANCEL_JOBTool to cancel a running BigQuery job. This call returns immediately, and you need to poll for the job status to see if the cancel completed successfully. Note that cancelled jobs may still incur costs.Input Parameters
us or the eu multi-regional location. If the job’s location is in a single region (for example, us-central1).Output
Create Capacity Commitment
Create Capacity Commitment
GOOGLEBIGQUERY_CREATE_CAPACITY_COMMITMENTTool to create a new capacity commitment resource in BigQuery Reservation. Use when you need to purchase compute capacity (slots) with a committed period of usage for BigQuery jobs. Supports various commitment plans (FLEX, MONTHLY, ANNUAL, THREE_YEAR) and editions (STANDARD, ENTERPRISE, ENTERPRISE_PLUS).Input Parameters
Output
Create BigQuery Connection
Create BigQuery Connection
GOOGLEBIGQUERY_CREATE_CONNECTIONTool to create a new BigQuery connection to external data sources using the BigQuery Connection API. Use when setting up connections to AWS, Azure, Cloud Spanner, Cloud SQL, Salesforce DataCloud, or Apache Spark.Input Parameters
Output
Create Analytics Hub Data Exchange
Create Analytics Hub Data Exchange
GOOGLEBIGQUERY_CREATE_DATA_EXCHANGETool to create a new Analytics Hub data exchange for sharing BigQuery datasets. Use when you need to set up a container for data sharing with descriptive information and listings.Input Parameters
Output
Create Analytics Hub Listing
Create Analytics Hub Listing
GOOGLEBIGQUERY_CREATE_DATAEXCHANGES_LISTINGSTool to create a new listing in a BigQuery Analytics Hub data exchange. Use when you need to share a BigQuery dataset with specific subscribers or make it available for discovery. The dataset must exist and be in the same region as the data exchange.Input Parameters
Output
Create BigQuery Dataset
Create BigQuery Dataset
GOOGLEBIGQUERY_CREATE_DATASETTool to create a new BigQuery dataset with explicit location, labels, and description using the BigQuery Datasets API. Use when the workflow needs to set up a staging/warehouse dataset and correctness of region is critical to avoid downstream job location mismatches. Surfaces 409 Already Exists errors cleanly without retrying.Input Parameters
Output
Create Analytics Hub Listing
Create Analytics Hub Listing
GOOGLEBIGQUERY_CREATE_LISTINGTool to create a new listing in a data exchange using Analytics Hub API. Use when publishing a BigQuery dataset to make it available for subscription by other users or organizations.Input Parameters
Output
Create BigQuery Data Policy (v2beta1)
Create BigQuery Data Policy (v2beta1)
GOOGLEBIGQUERY_CREATE_LOCATIONS_DATAPOLICIESTool to create a new data policy under a project with specified location using the v2beta1 BigQuery Data Policy API. Use when you need to set up data masking rules or column-level security for sensitive data. The v2beta1 endpoint uses a nested request structure.Input Parameters
projects/{project_number}/locations/{location_id}. Example: ‘projects/934040047113/locations/us-central1’.Output
Create Analytics Hub Query Template
Create Analytics Hub Query Template
GOOGLEBIGQUERY_CREATE_QUERY_TEMPLATETool to create a new query template in a BigQuery Analytics Hub Data Clean Room (DCR) data exchange. Use when you need to define predefined and approved queries for data clean room use cases. Query templates must be created in DCR data exchanges only.Input Parameters
Output
Create BigQuery Reservation
Create BigQuery Reservation
GOOGLEBIGQUERY_CREATE_RESERVATIONTool to create a new BigQuery reservation resource to guarantee compute capacity (slots) for query and pipeline jobs. Use when you need to reserve dedicated compute resources for predictable performance and cost management. Reservations can be configured with autoscaling, concurrency limits, and edition-based features.Input Parameters
Output
Create BigQuery Reservation Assignment
Create BigQuery Reservation Assignment
GOOGLEBIGQUERY_CREATE_RESERVATION_ASSIGNMENTTool to create a BigQuery reservation assignment that allows a project, folder, or organization to submit jobs using slots from a specified reservation. Use when setting up resource allocation for BigQuery workloads. Note: A resource can only have one assignment per (job_type, location) combination.Input Parameters
Output
Create BigQuery Routine
Create BigQuery Routine
GOOGLEBIGQUERY_CREATE_ROUTINETool to create a new user-defined routine (function or procedure) in a BigQuery dataset. Use when you need to define SQL, JavaScript, Python, Java, or Scala functions/procedures for reusable logic, data transformations, or custom masking. Supports scalar functions, table-valued functions, procedures, and aggregate functions with comprehensive type definitions.Input Parameters
Output
Create BigQuery Table
Create BigQuery Table
GOOGLEBIGQUERY_CREATE_TABLETool to create a new, empty table in a BigQuery dataset. Use when setting up data infrastructure for standard tables, external tables, views, or materialized views. Supports partitioning, clustering, and encryption configuration.Input Parameters
Output
Delete BigQuery Dataset
Delete BigQuery Dataset
GOOGLEBIGQUERY_DELETE_DATASETTool to delete a BigQuery dataset specified by datasetId via the datasets.delete API. Before deletion, you must delete all tables unless deleteContents=True is specified. Use when cleaning up test datasets or removing unused data warehouses. Immediately after deletion, you can create another dataset with the same name.Input Parameters
Output
Delete BigQuery Job Metadata
Delete BigQuery Job Metadata
GOOGLEBIGQUERY_DELETE_JOB_METADATATool to delete the metadata of a BigQuery job. Use when you need to remove job metadata from the system. If this is a parent job with child jobs, metadata from all child jobs will be deleted as well.Input Parameters
Output
Delete BigQuery ML Model
Delete BigQuery ML Model
Delete BigQuery Routine
Delete BigQuery Routine
Delete BigQuery Table
Delete BigQuery Table
Get BigQuery ML Model
Get BigQuery ML Model
Get BigQuery Connection IAM Policy
Get BigQuery Connection IAM Policy
GOOGLEBIGQUERY_GET_CONNECTION_IAM_POLICYTool to get the IAM access control policy for a BigQuery connection resource. Returns an empty policy if the resource exists but has no policy set. Use this to check who has access to a specific connection before modifying permissions.Input Parameters
Output
Get BigQuery Dataset Metadata
Get BigQuery Dataset Metadata
GOOGLEBIGQUERY_GET_DATASETTool to retrieve BigQuery dataset metadata including location via the datasets.get API. Use this before creating jobs/queries if the workflow has been failing with location mismatch to confirm the dataset’s region and correct the job location accordingly.Input Parameters
Output
Get BigQuery Job
Get BigQuery Job
GOOGLEBIGQUERY_GET_JOBTool to retrieve information about a specific BigQuery job. Returns job configuration, status, and statistics. Use this to check job status after running queries or to get details about job execution.Input Parameters
us or the eu multi-regional location - If the job’s location is in a single region (for example, us-central1) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location.Output
Get BigQuery Query Results
Get BigQuery Query Results
GOOGLEBIGQUERY_GET_QUERY_RESULTSTool to get the results of a BigQuery query job via RPC. Use this to retrieve results after running a query, or to check job completion status and fetch paginated results.Input Parameters
us or the eu multi-regional location - If the job’s location is in a single region (for example, us-central1). For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location. Optional.Output
Get BigQuery Routine
Get BigQuery Routine
GOOGLEBIGQUERY_GET_ROUTINETool to retrieve a BigQuery routine (user-defined function or stored procedure) by its ID. Use to inspect routine definitions, arguments, return types, and metadata.Input Parameters
Output
Get BigQuery Routine IAM Policy
Get BigQuery Routine IAM Policy
GOOGLEBIGQUERY_GET_ROUTINE_IAM_POLICYTool to retrieve the IAM access control policy for a BigQuery routine resource. Returns an empty policy if the routine exists but has no policy set. Use this to check current access permissions before modifying them.Input Parameters
Output
Get BigQuery Service Account
Get BigQuery Service Account
GOOGLEBIGQUERY_GET_SERVICE_ACCOUNTTool to get the service account for a project used for interactions with Google Cloud KMS. Use when you need to retrieve the BigQuery service account email for KMS encryption configuration or key access permissions.Input Parameters
Output
Get BigQuery Table IAM Policy
Get BigQuery Table IAM Policy
GOOGLEBIGQUERY_GET_TABLE_IAM_POLICYTool to retrieve the IAM access control policy for a BigQuery table resource. Returns an empty policy if the resource exists but has no policy set. Use this to check current access permissions before modifying them.Input Parameters
Output
Get BigQuery Table Schema
Get BigQuery Table Schema
GOOGLEBIGQUERY_GET_TABLE_SCHEMAFetch a BigQuery table’s schema and metadata without querying row data. The returned schema includes top-level field names, types, modes, and descriptions, but not nested field definitions.Input Parameters
Output
Insert Data into BigQuery Table
Insert Data into BigQuery Table
GOOGLEBIGQUERY_INSERT_ALLTool to stream data into BigQuery one record at a time without running a load job. Use when you need immediate data availability or inserting small batches. Supports row-level deduplication via insertId and error handling via skipInvalidRows.Input Parameters
Output
Insert BigQuery Job
Insert BigQuery Job
GOOGLEBIGQUERY_INSERT_JOBTool to start a new asynchronous BigQuery job (query, load, extract, or copy). Use when you need to run a query as a job, load data from Cloud Storage, extract table data to GCS, or copy tables. For dry-run validation without execution, set dryRun to true in configuration.Input Parameters
Output
Insert BigQuery Job with Upload
Insert BigQuery Job with Upload
GOOGLEBIGQUERY_INSERT_JOB_WITH_UPLOADTool to start a new BigQuery load job with file upload. Uploads a file (CSV, JSON, etc.) and loads it into a BigQuery table in a single operation. Use when you need to upload data from a local file directly to BigQuery rather than loading from Cloud Storage.Input Parameters
Output
List Analytics Hub Listings
List Analytics Hub Listings
GOOGLEBIGQUERY_LIST_ANALYTICS_HUB_LISTINGSTool to list all listings in a given Analytics Hub data exchange. Use when you need to discover available data listings within a specific data exchange that can be subscribed to for data sharing.Input Parameters
Output
List BigQuery Connections
List BigQuery Connections
GOOGLEBIGQUERY_LIST_BIG_QUERY_CONNECTIONSTool to list BigQuery connections in a given project and location. Use when you need to discover available external data source connections (Cloud SQL, AWS, Azure, Spark, etc.) configured for BigQuery.Input Parameters
projects/{project_id}/locations/{location_id}. Example: ‘projects/my-project/locations/us-central1’Output
List BigQuery Capacity Commitments
List BigQuery Capacity Commitments
GOOGLEBIGQUERY_LIST_CAPACITY_COMMITMENTSList capacity commitments for an admin project in a specified location, including purchased compute slots and commitment details such as plan, state, and duration. Results are paginated.Input Parameters
projects/myproject/locations/USOutput
List Data Exchange Listings
List Data Exchange Listings
GOOGLEBIGQUERY_LIST_DATAEXCHANGES_LISTINGSTool to list all listings in a given Analytics Hub data exchange using the v1beta1 API. Use when you need to discover available data listings within a specific data exchange that can be subscribed to for data sharing.Input Parameters
Output
List BigQuery Datasets
List BigQuery Datasets
GOOGLEBIGQUERY_LIST_DATASETSTool to list datasets in a specific BigQuery project, including dataset locations. Use after identifying an accessible project to discover available datasets and their locations before querying. The dataset location is critical for avoiding location-related query/job errors.Input Parameters
Output
List BigQuery Jobs
List BigQuery Jobs
GOOGLEBIGQUERY_LIST_JOBSLists a page of jobs in a BigQuery project, optionally including jobs owned by all users, with filters for creation time, state, or parent job. Job information is available for six months and sorted by creation time in reverse chronological order.Input Parameters
Output
List BigQuery Data Transfer Locations
List BigQuery Data Transfer Locations
GOOGLEBIGQUERY_LIST_LOCATIONSTool to list information about supported locations for BigQuery Data Transfer Service. Use when you need to discover available regions/locations where BigQuery Data Transfer operations can be performed.Input Parameters
Output
List Connections in Location
List Connections in Location
GOOGLEBIGQUERY_LIST_LOCATIONS_CONNECTIONSTool to list BigQuery connections in a given project and location using the v1beta1 API. Use when you need to discover available external data source connections (Cloud SQL, AWS, Azure, Spark, etc.) configured for BigQuery in a specific location.Input Parameters
projects/{project_id}/locations/{location_id}. Example: ‘projects/my-project/locations/us’Output
List BigQuery Location Data Policies
List BigQuery Location Data Policies
GOOGLEBIGQUERY_LIST_LOCATIONS_DATAPOLICIESTool to list all data policies in a specified parent project and location using the v2beta1 API. Use when you need to discover data masking policies and column-level security policies configured for BigQuery datasets.Input Parameters
Output
List BigQuery Models
List BigQuery Models
GOOGLEBIGQUERY_LIST_MODELSTool to list all BigQuery ML models in a specified dataset. Requires READER dataset role. Use this to discover available models before getting detailed information via models.get method.Input Parameters
Output
List Organization Data Exchanges
List Organization Data Exchanges
GOOGLEBIGQUERY_LIST_ORGANIZATION_DATA_EXCHANGESTool to list all data exchanges from projects in a given organization and location using Analytics Hub API. Use when you need to discover available data exchanges within an organization that can be used for data sharing.Input Parameters
Output
List BigQuery Projects
List BigQuery Projects
GOOGLEBIGQUERY_LIST_PROJECTSTool to list BigQuery projects to which the user has been granted any project role. Returns projects with at least READ access. For enhanced capabilities, consider using the Resource Manager API.Input Parameters
Output
List Analytics Hub Query Templates
List Analytics Hub Query Templates
GOOGLEBIGQUERY_LIST_QUERY_TEMPLATESList a page of query templates in an Analytics Hub data exchange. Use the returned page token to retrieve further pages and discover predefined queries for data clean room use cases.Input Parameters
Output
List BigQuery Reservation Assignments
List BigQuery Reservation Assignments
GOOGLEBIGQUERY_LIST_RESERVATION_ASSIGNMENTSTool to list BigQuery reservation assignments. Only explicitly created assignments will be returned (no expansion or merge happens). Use wildcard ”-” in parent path to list assignments across all reservations in a location.Input Parameters
Output
List BigQuery Reservation Groups
List BigQuery Reservation Groups
GOOGLEBIGQUERY_LIST_RESERVATION_GROUPSTool to list all BigQuery reservation groups for a project in a specified location. Use when you need to discover available reservation groups which serve as containers for reservations.Input Parameters
projects/{projectId}/locations/{location} where location is the geographic location (e.g., us-central1, us-east1).Output
List BigQuery Reservations
List BigQuery Reservations
GOOGLEBIGQUERY_LIST_RESERVATIONSTool to list all BigQuery reservations for a project in a specified location. Use when you need to discover available reservations or view reservation details including slot capacity and autoscale configuration.Input Parameters
projects/myproject/locations/US. The location must be specified (e.g., US, EU, us-central1).Output
List BigQuery Routines
List BigQuery Routines
GOOGLEBIGQUERY_LIST_ROUTINESList routines, including user-defined functions and stored procedures, in a BigQuery dataset. Results are paginated; use the returned page token to retrieve subsequent pages.Input Parameters
routineType:{RoutineType}, where {RoutineType} is a RoutineType enum. For example: routineType:SCALAR_FUNCTION.Output
List BigQuery Row Access Policies
List BigQuery Row Access Policies
GOOGLEBIGQUERY_LIST_ROW_ACCESS_POLICIESList row access policies and their filter predicates for a specified BigQuery table. Results are paginated; use the returned page token to retrieve subsequent pages.Input Parameters
Output
List BigQuery Table Data
List BigQuery Table Data
GOOGLEBIGQUERY_LIST_TABLE_DATATool to list the content of a BigQuery table in rows via the REST API. Use this to retrieve actual data from a table without writing SQL queries. Returns paginated results with row data in the native BigQuery format.Input Parameters
Output
List BigQuery Tables
List BigQuery Tables
GOOGLEBIGQUERY_LIST_TABLESList tables in a BigQuery dataset via the REST API, with pagination. This can help discover accessible tables without relying on SQL-based metadata queries.Input Parameters
Output
Patch BigQuery Dataset
Patch BigQuery Dataset
GOOGLEBIGQUERY_PATCH_DATASETTool to update an existing BigQuery dataset using RFC5789 PATCH semantics. Only replaces fields provided in the request, leaving other fields unchanged. Use when you need to modify dataset properties like description, labels, expiration settings, or access controls without affecting other configuration.Input Parameters
Output
Patch BigQuery ML Model
Patch BigQuery ML Model
GOOGLEBIGQUERY_PATCH_MODELTool to update specific fields in an existing BigQuery ML model using PATCH semantics. Use when you need to modify model metadata like description, friendly name, labels, or expiration time without replacing the entire model resource.Input Parameters
Output
Patch BigQuery Table
Patch BigQuery Table
GOOGLEBIGQUERY_PATCH_TABLETool to update specific fields in an existing BigQuery table using RFC5789 PATCH semantics. Only the fields provided in the request are updated; unspecified fields remain unchanged. Use when you need to modify table metadata like description, friendly name, labels, or expiration time without replacing the entire table resource.Input Parameters
Output
Query
Query
GOOGLEBIGQUERY_QUERYRuns a SQL query in BigQuery using the REST API, including statements that can modify data. Results appear under data.rows; an empty array does not necessarily mean no matches if the job is incomplete, and the response can include a job ID and page token for retrieving results.Input Parameters
Output
Search All BigQuery Reservation Assignments
Search All BigQuery Reservation Assignments
GOOGLEBIGQUERY_SEARCH_ALL_ASSIGNMENTSTool to search all BigQuery reservation assignments for a specified resource in a particular region. Use when you need to find assignments for a project, folder, or organization. Returns assignments created on the resource or its closest ancestor, covering all JobTypes.Input Parameters
assignee=projects/myproject * assignee=folders/123 * assignee=organizations/456projects/-/locations/US.Output
Set BigQuery Routine IAM Policy
Set BigQuery Routine IAM Policy
GOOGLEBIGQUERY_SET_ROUTINE_IAM_POLICYTool to set the IAM access control policy for a BigQuery routine resource. Use this to grant or modify access permissions for users, service accounts, or groups. Include the etag from getIamPolicy to prevent concurrent modifications.Input Parameters
Output
Test BigQuery Routine IAM Permissions
Test BigQuery Routine IAM Permissions
GOOGLEBIGQUERY_TEST_ROUTINE_IAM_PERMISSIONSTool to test which IAM permissions the caller has on a BigQuery routine. Returns the subset of requested permissions that the caller actually has. Use to verify access before performing operations.Input Parameters
Output
Undelete BigQuery Dataset
Undelete BigQuery Dataset
GOOGLEBIGQUERY_UNDELETE_DATASETTool to undelete a BigQuery dataset within the time travel window. If a deletion time is specified, the dataset version deleted at that time is undeleted; otherwise, the most recently deleted version is restored.Input Parameters
Output
Update BigQuery Connection
Update BigQuery Connection
GOOGLEBIGQUERY_UPDATE_CONNECTIONTool to update a specified BigQuery connection using the BigQuery Connection API. Use when you need to modify connection properties such as friendly name, description, or connection-specific settings. For security reasons, credentials are automatically reset if connection properties are included in the update mask.Input Parameters
Output
Update BigQuery Dataset
Update BigQuery Dataset
GOOGLEBIGQUERY_UPDATE_DATASETTool to update information in an existing BigQuery dataset using the PUT method. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. Use when you need to modify dataset properties like description, access controls, or default settings.Input Parameters
Output
Update BigQuery Routine
Update BigQuery Routine
GOOGLEBIGQUERY_UPDATE_ROUTINETool to update an existing BigQuery routine (function or stored procedure). This replaces the entire routine resource with the provided definition. Use when modifying routine logic, arguments, return types, or other configuration. Ensure all required fields are provided as this is a full replacement operation.Input Parameters
Output
Update BigQuery Table
Update BigQuery Table
GOOGLEBIGQUERY_UPDATE_TABLETool to update an existing BigQuery table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided. Use when you need to modify table properties like schema, description, labels, partitioning, or clustering configuration.