Connect
Google Cloud: connect with Google sign-in to work with BigQuery, Dataform, Cloud Run, Cloud Logging and Vertex AI
TL;DR
Google Cloud signs in with Google and asks for the cloud-platform permission. Each project becomes its own connection, and every call runs as the signed-in person, so Google Cloud IAM decides what each person may do. The agent has 29 reads and 9 writes. Google Cloud, Google Docs, Google Sheets and Google Slides are a pilot while Google reviews their permissions: today one workspace can connect them, and every other workspace sees the card as not available yet. Everything described here is built; it opens to more workspaces once Google verifies the permissions.
What you need
- A workspace in the pilot. Every other workspace sees the Google Cloud card as not available yet.
- A Google account with roles in the projects you want to use. The projects listed are the ACTIVE ones that account can see. A role decides each action: for example BigQuery Data Viewer + Job User to query, Dataform Editor to compile and run, Cloud Run Developer to run a job, Logs Viewer to read logs, Vertex AI User to call a model.
- The APIs enabled in your project for the services you use (BigQuery, Dataform, Cloud Run Admin, Cloud Logging, Vertex AI). A call to a switched-off API answers with the API's name and its enable link.
Connect step by step
- 1Open Integrations → Google Cloud → Connect.
- 2Sign in with Google and allow See, edit, configure, and delete your Google Cloud data, plus your email address so the connection can be named.
- 3Agent Planners lists the projects that account can see and saves one connection per project (its id, number and name).
- 4Pick a project in the task's account picker, or name it in your goal. A teammate can connect their own Google account too; each call uses that person's own roles.
Re-authorize updates the same connections in place. Projects created later appear after Refresh accounts. Disconnect deletes the stored Google tokens (encrypted) and the project rows; you can also revoke access at myaccount.google.com/permissions.
Tools
| Tool | Kind | What it does |
|---|---|---|
google_cloud.list_projects | Read | The Google Cloud projects this Google sign-in can see (Cloud Resource Manager v3 projects:search, every page; ACTIVE only): projectId, projectNumber, displayName, parent, and connected = whether the workspace has th… |
google_cloud.get_project | Read | The selected project (GET v3/projects/{projectId}): displayName, projectNumber, parent, state, labels, createTime. |
google_cloud.list_enabled_services | Read | The APIs enabled in the selected project (Service Usage GET v1/projects/{p}/services?filter=state:ENABLED, every page): service name and title. |
google_cloud.bigquery_list_datasets | Read | The project's BigQuery datasets (GET bigquery/v2/projects/{p}/datasets, every page): datasetId, location, labels. |
google_cloud.bigquery_list_tables | Read | The tables, views and models' tables in one dataset (GET …/datasets/{datasetId}/tables, every page): tableId, type (TABLE | VIEW | MATERIALIZED_VIEW | EXTERNAL | SNAPSHOT), creationTime, partitioning. |
google_cloud.bigquery_get_table | Read | One table's schema and size (GET …/datasets/{d}/tables/{t}): schema fields (name, type, mode, description), numRows, numBytes, partitioning, clustering, view query. |
google_cloud.bigquery_query | Read | Run a SELECT (GoogleSQL) in the selected project and return rows (POST bigquery/v2/projects/{p}/queries; waits ≤ 45 s, then answers with the jobId to read later via bigquery_get_job). |
google_cloud.bigquery_list_jobs | Read | Recent BigQuery jobs in the project — this person's own by default (GET …/jobs, projection=minimal): jobId, type, state, statement type, bytes billed, error, creation / end time. |
google_cloud.bigquery_get_job | Read | One BigQuery job's status and statistics (GET …/jobs/{jobId}?location=): state, statement type, bytes processed / billed, rows affected, errors; for a finished query, results:true also reads its first rows (getQuery… |
google_cloud.bigquery_run_statement | Write | INSERT and CREATE (TABLE / VIEW / SCHEMA / FUNCTION — no OR REPLACE) follow the approval setting; UPDATE, DELETE, MERGE, TRUNCATE, DROP, ALTER, CREATE OR REPLACE, EXPORT DATA, LOAD DATA, CALL and multi-statement scrip… |
google_cloud.bqml_list_models | Read | The BigQuery ML models in one dataset (GET …/datasets/{d}/models, every page): modelId, modelType, creationTime, lastModifiedTime. |
google_cloud.bqml_get_model | Read | One BigQuery ML model (GET …/datasets/{d}/models/{m}): modelType, feature columns, label columns, training runs with their evaluation metrics. |
google_cloud.bqml_create_model | Write | Training bytes are billed by Google to the project. |
google_cloud.bqml_evaluate | Read | Evaluate a BigQuery ML model (SELECT * FROM ML.EVALUATE(MODEL …[, (inputQuery)])) — metrics rows. |
google_cloud.bqml_predict | Read | Predict with a BigQuery ML model (SELECT * FROM ML.PREDICT(MODEL …, (inputQuery))) — prediction rows (rowLimit default 500). |
google_cloud.dataform_list_repositories | Read | The Dataform repositories in one location (GET dataform v1beta1/projects/{p}/locations/{l}/repositories, every page): name, gitRemoteSettings (url, default branch), npmrc / workspace settings. |
google_cloud.dataform_list_workspaces | Read | A repository's development workspaces (GET …/repositories/{r}/workspaces). |
google_cloud.dataform_list_compilation_results | Read | A repository's compilation results, newest first (GET …/repositories/{r}/compilationResults): name, gitCommitish / workspace, dataformCoreVersion, compilationErrors, createTime. |
google_cloud.dataform_list_workflow_invocations | Read | A repository's workflow runs, newest first (GET …/repositories/{r}/workflowInvocations): name, state (RUNNING | SUCCEEDED | CANCELLED | FAILED | CANCELING), compilationResult, invocationTiming. |
google_cloud.dataform_get_workflow_invocation | Read | One workflow run and its actions (GET …/workflowInvocations/{id} + :query): state, per-action target, state, failure reason, BigQuery job id. |
google_cloud.dataform_compile | Write | Compile a repository (POST …/repositories/{r}/compilationResults) from a git branch / commit (gitCommitish, default the repository's default branch) or a workspace: answers the compilation result name and its compilat… |
google_cloud.dataform_run_workflow | Write — always a person | Start a workflow run (POST …/repositories/{r}/workflowInvocations) from a compilation result of the same repository: { accountId?, repository, location (a region like us-central1; default GOOGLE_CLOUD_DEFAULT_LOCATION… |
google_cloud.dataform_cancel_workflow_invocation | Write | Cancel a RUNNING workflow run (POST …/workflowInvocations/{id}:cancel). |
google_cloud.cloud_run_list_services | Read | The Cloud Run services in one region (GET run v2/projects/{p}/locations/{l}/services, every page): name, uri, latest ready revision, traffic split, last modifier (masked), conditions. |
google_cloud.cloud_run_get_service | Read | One Cloud Run service (GET …/services/{s}): uri, template (image, resources, scaling), traffic, terminal condition, etag. |
google_cloud.cloud_run_list_revisions | Read | A service's revisions, newest first (GET …/services/{s}/revisions): name, createTime, image, scaling, conditions. |
google_cloud.cloud_run_list_jobs | Read | The Cloud Run jobs in one region (GET …/jobs): name, latest execution, task count, conditions. |
google_cloud.cloud_run_list_executions | Read | A job's executions, newest first (GET …/jobs/{j}/executions): name, succeeded / failed / running counts, start / completion time, conditions. |
google_cloud.cloud_run_run_job | Write — always a person | Run a Cloud Run job now (POST …/jobs/{j}:run): { accountId?, job, location (a region like us-central1; default GOOGLE_CLOUD_DEFAULT_LOCATION or us-central1), overrides? ({ taskCount?, timeout? ("600s"), containerOverr… |
google_cloud.cloud_run_update_traffic | Write — always a person | Set a service's traffic split (read the service, replace its traffic, PATCH it with its etag): { accountId?, service, location (a region like us-central1; default GOOGLE_CLOUD_DEFAULT_LOCATION or us-central1), traffic… |
google_cloud.logging_list_logs | Read | The log names in the project (GET logging v2/projects/{p}/logs, every page ≤ 2000). |
google_cloud.logging_query | Read | Read log entries (POST logging v2/entries:list on projects/{p} only): { accountId?, filter? (Logging query language, e.g. resource.type="cloud_run_revision" AND severity>=ERROR), hours? (window, default 24, ≤ 720), li… |
google_cloud.vertex_list_models | Read | The project's Vertex AI models in one region (GET {l}-aiplatform v1/projects/{p}/locations/{l}/models): name, displayName, version, createTime, deployedModels. |
google_cloud.vertex_list_endpoints | Read | The project's Vertex AI endpoints (GET …/endpoints): name, displayName, deployed models, traffic split. |
google_cloud.vertex_list_batch_prediction_jobs | Read | The project's Vertex AI batch prediction jobs, newest first (GET …/batchPredictionJobs): name, displayName, state, model, input / output, error. |
google_cloud.vertex_generate | Write | Ask a Google Gemini model on Vertex AI IN THE CONNECTED PROJECT (POST …/publishers/google/models/{model}:generateContent) — billed by Google to that project, so it is a write that follows the approval setting: { accou… |
google_cloud.get | Read | ANY read of the supported APIs inside the selected project, in Google's own format: { accountId?, api (bigquery | dataform | run | logging | vertex | serviceusage | resourcemanager), path (under projects/{projectId}/…… |
google_cloud.mutate | Write | Every DELETE and every deploy-shaped call (a Cloud Run service create / patch, a Vertex AI deploy / undeploy, a Dataform workflow run, a Cloud Run job run, a BigQuery statement that changes existing data) is PERSON-ga… |
What waits for a person
- Under your approval setting: a BigQuery statement that only adds (INSERT, or CREATE without OR REPLACE), training a BigQuery ML model, compiling a Dataform repository, cancelling a Dataform run, and asking a Gemini model on Vertex AI (Google bills it to your project).
- Always a person's decision, on every lane: UPDATE, DELETE, MERGE, TRUNCATE, DROP, ALTER, CREATE OR REPLACE, EXPORT DATA, LOAD DATA, CALL and multi-statement scripts; a CREATE of anything but a table, view, schema, function or model; replacing a BigQuery ML model; running a Dataform workflow; running a Cloud Run job; changing a Cloud Run service's traffic; and every delete or deploy through the gateway. A dry run or validate-only call changes nothing and needs no person.
- Through the gateway and raw requests only a short list follows the approval setting: a new BigQuery dataset or table, streaming rows into a table, a SELECT or additive statement with no destination table, cancelling a job, a description or labels edit, a Dataform compile or a file in a development workspace, and a Vertex AI inference call. Everything else — a scheduled query, a transfer run, a Vertex AI training or custom job, a batch prediction, a Dataform push or commit, a Cloud Run job or service change, a Logging sink, a Pub/Sub message, a Storage copy, a change to an existing object's settings or expiry — waits for a person.
- Never: IAM policies, access lists (a BigQuery dataset's access, a bucket's or object's ACL or IAM configuration), service accounts and keys, enabling or disabling APIs, billing, slot commitments and reservations, and the project itself. A write that names another project than the connected one — a statement target, a destination table, a sink, a topic, a model output — is refused.
- The exceptions, by the owner's choice: a connection of the workspace's own OAuth app, and an API key an admin set to apply these changes at once, skip the person (they still meet every refusal above).
- Never: IAM policies, GRANT / REVOKE, row access policies, service accounts and keys, turning APIs on or off, billing, or the project itself.
- Bound to the connected project: a path or a statement that writes into another project is refused before any call. Reading another project's tables (a public dataset, for example) is left to your IAM roles.
Costs and limits
- BigQuery bytes and Vertex AI calls are billed by Google to your project. Every query is dry-run first and refused when its estimate passes the byte cap (10 GiB by default; a call may set a lower
maxBytesBilled). - Query answers are capped (500 rows by default, 5,000 at most) and say when they were cut; a long query answers with its job id to read later.
- Regional services (Dataform, Cloud Run, Vertex AI) read one region per call; the default is us-central1 unless your workspace's operator set another.
- Log text is third-party data and may hold personal data; the agent quotes it only as needed.
- Agent Planners charges its usual credits per call; Google's charges are separate.
Raw requests (MCP and REST)
google_cloud__raw_requestsends a request in Google's own format to BigQuery, BigQuery Data Transfer, Dataform, Cloud Run, Cloud Logging, Cloud Monitoring, Vertex AI, Cloud Scheduler, Cloud Functions, Pub/Sub or Cloud Storage, bound to the connected project: the path must name projects/{that project} (a Storage bucket is checked to belong to it first). Resource Manager and Service Usage are read-only there.- Reads run at once. Writes wait for a person unless an admin pre-authorized the API key. Only the short list above follows that setting; every other change — deletes, deploys, workflow and job runs, scheduled queries, training jobs, a BigQuery statement that changes existing data, a Cloud Function change, a Pub/Sub publish, a Scheduler change — always waits for a person. A BigQuery job that writes (a destination table, a load, copy or extract) is never a read. The request body must use the endpoint's own shape: jobs.query takes
queryanddryRunat the top level, jobs.insert takesconfiguration.query.queryandconfiguration.dryRun. - A raw BigQuery query must carry
maximumBytesBilledordryRun: true(the typedbigquery_querycaps it for you). IAM policies, GRANT / REVOKE, row access policies and turning APIs on or off are refused; there is no host for IAM, service-account keys, billing or Secret Manager.
Things to ask
- "List the BigQuery datasets in our analytics project and the biggest tables in each."
- "Which Dataform runs failed this week, and on which action?"
- "Show Cloud Run errors from the last 24 hours."
- "Train a BigQuery ML linear model that predicts conversions from spend, then evaluate it."
Frequently asked questions
- Does Agent Planners support Google Cloud?
- Yes, in pilot workspaces while Google reviews the permission. The agent works with BigQuery, BigQuery ML, Dataform, Cloud Run, Cloud Logging and Vertex AI inside the projects your Google account can see.
- Whose permissions does the agent use?
- The signed-in person's. Every call runs as that Google account, so Google Cloud IAM decides what is allowed; Agent Planners never changes IAM.
- Who pays for BigQuery queries?
- Google bills the bytes to your project. Every query is dry-run first and refused when its estimate passes the byte cap.