Integrations
Google Cloud connector
Automate Google Cloud operations from workflows, agents, the API and MCP: VMs, Cloud Run, GKE, Cloud SQL, buckets, IAM, Pub/Sub, secrets, logs and metrics, with approval for destructive actions.
The Google Cloud connector (gcp) adds 115 management actions for operations and platform teams: start, stop and resize VMs, deploy a Cloud Run revision and roll back its traffic, scale GKE node pools and instance groups, stop Cloud SQL instances out of hours, manage buckets, service accounts and IAM bindings, publish to Pub/Sub, rotate secrets, and read logs, metrics and budgets. Every action becomes a reference: a workflow step, an agent tool, an API call (POST /api/v1/references/{id}/execute) and an MCP tool. The existing Firebase, Gmail, Google Drive, Docs, Tasks and Gemini connectors are unchanged.
Set up#
- In the Google Cloud console, open IAM & Admin → Service accounts and create a service account for UserTasks (for example
usertasks-ops). - Grant it only the roles the workflows need (see Permissions).
- Open the account, then Keys → Add key → Create new key → JSON, and download the key file.
- In UserTasks, go to Integrations → Connectors → Cloud Storage and choose Google Cloud. Paste the whole key file into Service Account JSON key.
- Set Project ID (defaults to the key's project), and a Default region and Default zone if you use regional and zonal actions.
- Click Test connection. It mints a token and reads the project, and says which part failed: the key, impersonation, a missing permission or a wrong project ID.
usertasks connectors create -f gcp.yaml
usertasks connectors test <id>connector_key: gcp
name: Google Cloud (production)
config:
project_id: my-project-123
region: us-central1
zone: us-central1-a
credentials:
service_account_json: "${GCP_SA_KEY_JSON}"The key is stored encrypted, is never shown again and is never written to logs. Tokens are short-lived (one hour) and cached per workspace until shortly before they expire.
Impersonation (recommended)#
Set Impersonate service account to act as another service account. UserTasks exchanges the key's token for a short-lived token of that account through the IAM Service Account Credentials API. Keep the key's own account powerless, and give the roles to the impersonated account. The key's account needs Service Account Token Creator (roles/iam.serviceAccountTokenCreator) on the impersonated account, and the project must have iamcredentials.googleapis.com enabled. You can also use one key with several connectors that impersonate different accounts, for example a read-only account for reporting agents and an operator account for approval workflows.
Endpoints and self-hosting#
The connector needs no extra services. Calls go straight to Google over HTTPS, and every request passes the server's egress guard. Universe domain (default googleapis.com) moves every call to another Google Cloud universe. Endpoint overrides sends one service's calls elsewhere, for example Private Service Connect: {"compute": "https://compute-myendpoint.p.googleapis.com"}. Credentials are only ever sent to HTTPS hosts in the universe domain, or to an override you configured.
Permissions#
Grant the service account the smallest set of roles. Pick the rows you need:
- Read-only (inventory, logs, metrics): roles/viewer, roles/logging.viewer, roles/monitoring.viewer
- Compute Engine operations (start / stop / resize / snapshot): roles/compute.instanceAdmin.v1 (add roles/compute.storageAdmin for disks and snapshots; roles/compute.securityAdmin for firewall rules)
- Cloud Run deploys and traffic: roles/run.developer plus roles/iam.serviceAccountUser on the service's runtime service account
- Cloud Functions: roles/cloudfunctions.developer · GKE node pools: roles/container.clusterAdmin · Cloud SQL start / stop / backup: roles/cloudsql.editor
- Storage buckets: roles/storage.admin (bucket IAM included) · Pub/Sub: roles/pubsub.editor · Secret Manager: roles/secretmanager.admin (or secretAccessor / secretVersionAdder for one secret)
- IAM changes (bindings, service accounts, keys, custom roles): roles/resourcemanager.projectIamAdmin, roles/iam.serviceAccountAdmin, roles/iam.serviceAccountKeyAdmin, roles/iam.roleAdmin — grant only to a connector that needs them
- APIs: roles/serviceusage.serviceUsageAdmin · Billing: roles/billing.viewer on the billing account
- Impersonation: the key's service account needs roles/iam.serviceAccountTokenCreator on the impersonated account
Enable each API you use (APIs & Services → Library). A call to a disabled API fails with SERVICE_DISABLED, and the message names the API to enable.
Safety#
- Risk levels. Every action is marked Read, Change or Destructive. Destructive actions delete or terminate resources, change access (IAM policies and bindings, service accounts, keys, custom roles, firewall rules, disabling an API) or read or write secrets. Agents always ask a person to approve a destructive call, even when the agent's other tools run without approval. MCP clients must pass
confirm: trueto run one. - Dry run. Cloud Run deploy, traffic and delete send
validateOnly. Add or Remove IAM Binding and Set VM Instance Labels show the before and after without writing. - Concurrency. IAM changes use the policy etag, and a concurrent change is retried. Label changes use the label fingerprint.
- Public access. Create Bucket turns on uniform bucket-level access and public access prevention. Granting a role to
allUsersorallAuthenticatedUsersneedsallow_public: true. - Secrets. Access Secret Version returns
secret_value, and Create Service Account Key returnsprivate_key_json. The integration call log keeps a copy with these values masked. Secret inputs (secret_value) are masked in call logs too. The value is still in the workflow step's output for the next steps to use, so limit who can open those runs, and prefer impersonation over keys. - Generic calls. Call Google Cloud API reaches any
*.googleapis.commethod and is treated as destructive. Call Google Cloud API (Read) only sends GET.
How calls behave#
- Defaults.
project_id,region,zoneandbilling_account_iddefault to the connector's settings. A required path value that is still empty fails before anything is sent, and the error names the input. - Paging. List actions take
page_sizeandpage_tokenand returnnextPageToken. Setall_pages: trueto follow the token and merge the pages (max_pages, default 10). The hard cap is 50 pages or 5,000 items, andtruncated: truewith the remainingnextPageTokensays there is more. - Long-running operations. Actions that start an operation return
done,status,operation_url,target,errorandresponse. Setwait_for_completion: trueto poll until it finishes (wait_timeout_seconds, default 60, max 600). A failed operation fails the step with Google's error code. One still running after the wait returns status 202 withtimed_out: true; pass itsoperation_urlto Get Operation Status later. For operations that take many minutes (creating a GKE node pool, a large Cloud SQL backup), keep the wait short and poll Get Operation Status after a workflow Wait step instead of holding one step open. - Errors. Failures keep Google's status and body, and
error_messagestarts with Google's code, for examplePERMISSION_DENIED (HTTP 403): Permission 'compute.instances.stop' denied …, followed by what to do. - Retries. A 429 is retried after
Retry-After. A 502, 503 or 504 is retried only for reads and other idempotent calls, with backoff, within the call's timeout. A 401 gets one retry with a fresh token.
Examples#
Stop non-production VMs every evening (with approval). A scheduled workflow runs List VM Instances (All Zones) with filter: labels.env = dev AND status = RUNNING and all_pages: true, creates an approval task listing them, then loops over the approved ones with Stop VM Instance and wait_for_completion: true.
Roll back a bad deploy. An agent with Get Cloud Run Service, List Cloud Run Revisions and Update Cloud Run Traffic finds the last ready revision and moves 100% of traffic to it. Update Cloud Run Traffic is a change, not destructive, so it runs without approval unless you require approval for every tool.
Time-boxed access request. A form collects the member, role and reason. After the manager approves, Add or Remove IAM Binding grants the role with a condition such as {"title": "until Friday", "expression": "request.time < timestamp(\"2026-12-04T18:00:00Z\")"}. The step is destructive, so an agent can't run it without a person's approval.
Budget check. List Budgets returns each budget's amount, for example {"specifiedAmount": {"currencyCode": "USD", "units": "5000"}}, and its thresholds. A workflow can compare it with List Metric Time Series and notify the owner.
Actions#
Identity, projects and IAM policy#
Enable: cloudresourcemanager.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| Get Identity | Read | Who the connector acts as (service account, impersonated account) and whether it can read the default project. Use it to check the connection. | — | service_account, impersonated_service_account, effective_identity, project_id, universe_domain, project |
| Search Projects | Read | Projects the connector can see. query uses Resource Manager syntax, e.g. labels.env:prod or parent:folders/123. | query, paging | projects, nextPageToken |
| Get Project | Read | A project: number (name), ID, display name, state, parent and labels. | project_id | name, projectId, displayName, state, parent, labels, etag |
| Update Project Labels | Change | Replace the project's labels with labels_json (read them with Get Project first to keep existing ones). Returns an operation. | project_id, labels_json*, wait | operation |
| Get Project IAM Policy | Read | The project's IAM policy (bindings of roles to members, with conditions) and its etag. | project_id | version, bindings, etag, auditConfigs |
| Set Project IAM Policy | Destructive | Replace the whole project IAM policy. policy_json must carry the etag from Get Project IAM Policy; a concurrent change makes Google refuse it (409 ABORTED). Prefer Add or Remove IAM Binding for single changes. | project_id, policy_json* | version, bindings, etag |
| Add or Remove IAM Binding | Destructive | Grant or revoke one role for one member on the project: reads the policy, changes the binding and writes it back with its etag (retried on a concurrent change). dry_run shows the bindings before and after without writing. Public members (allUsers) need allow_public. | project_id, action, role, member*, condition_json, allow_public, dry_run | action, role, member, changed, applied, dry_run, etag, bindings_before, bindings_after |
| Test Project Permissions | Read | Which of the given permissions the connector has on the project (e.g. before a workflow runs). | project_id, permissions* | permissions |
APIs (Service Usage)#
Enable: serviceusage.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Enabled APIs | Read | APIs enabled in the project. | project_id, paging | services, nextPageToken |
| Enable API | Change | Enable an API in the project, e.g. run.googleapis.com. Returns an operation. | project_id, service_name*, wait | operation |
| Disable API | Destructive | Disable an API in the project. Resources that depend on it stop working. | project_id, service_name*, disable_dependent_services, wait | operation |
Compute Engine#
Enable: compute.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Zones | Read | Compute Engine zones and their status. | project_id, filter, order_by, paging | items, nextPageToken |
| List VM Instances | Read | VM instances in a zone. filter examples: status = RUNNING, labels.env = prod, name = web-*. | project_id, zone, filter, order_by, paging | items, nextPageToken |
| List VM Instances (All Zones) | Read | VM instances in every zone: items is a map of "zones/<zone>" → { instances: [...] }. | project_id, filter, paging | items, nextPageToken, unreachables |
| Get VM Instance | Read | One VM instance: status (RUNNING, TERMINATED …), machine type, disks, network interfaces, labels. | project_id, zone, instance* | name, id, status, machineType, zone, networkInterfaces, disks, labels, labelFingerprint, selfLink, creationTimestamp |
| Start VM Instance | Change | Start a stopped (TERMINATED) instance. | project_id, zone, instance*, wait | operation |
| Stop VM Instance | Change | Stop an instance (it keeps its disks; you stop paying for vCPU and memory). | project_id, zone, instance*, discard_local_ssd, wait | operation |
| Reset VM Instance | Change | Hard-reset an instance (like pressing the reset button; unsaved memory is lost). | project_id, zone, instance*, wait | operation |
| Suspend VM Instance | Change | Suspend an instance (memory is saved to disk). | project_id, zone, instance*, wait | operation |
| Resume VM Instance | Change | Resume a suspended instance. | project_id, zone, instance*, wait | operation |
| Delete VM Instance | Destructive | Delete an instance. Boot and data disks marked auto-delete are deleted with it. | project_id, zone, instance*, wait | operation |
| Create VM Instance | Change | Create an instance from an Instance resource (or from an instance template plus {"name": "..."}). | project_id, zone, instance_json*, source_instance_template, wait | operation |
| Change Machine Type | Change | Resize an instance to another machine type. The instance must be stopped (stop, change, start). | project_id, zone, instance, machine_type, wait | operation |
| Set VM Instance Labels | Change | Add, change or remove labels on an instance (reads the label fingerprint for you). dry_run shows the labels before and after. | project_id, zone, instance*, labels_json, remove_labels, dry_run, wait | operation |
| Get Serial Port Output | Read | Console output of an instance (boot logs) for troubleshooting. | project_id, zone, instance*, port, start | contents, start, next |
| List Disks | Read | Persistent disks in a zone (size, type, status, users). | project_id, zone, filter, order_by, paging | items, nextPageToken |
| Resize Disk | Change | Grow a persistent disk (disks can only grow). Resize the file system inside the VM afterwards. | project_id, zone, disk, size_gb, wait | operation |
| Create Disk Snapshot | Change | Snapshot a persistent disk (e.g. before a change). | project_id, zone, disk, snapshot_name, description, labels_json, wait | operation |
| Delete Disk | Destructive | Delete a persistent disk (it must not be attached). Its data is gone unless snapshotted. | project_id, zone, disk*, wait | operation |
| List Snapshots | Read | Disk snapshots in the project. | project_id, filter, order_by, paging | items, nextPageToken |
| Delete Snapshot | Destructive | Delete a disk snapshot. | project_id, snapshot*, wait | operation |
| List Managed Instance Groups | Read | Zonal managed instance groups (target size, template, status). | project_id, zone, filter, order_by, paging | items, nextPageToken |
| Resize Managed Instance Group | Change | Set the target size of a zonal managed instance group (scale out or in). | project_id, zone, group, size, wait | operation |
| Resize Regional Instance Group | Change | Set the target size of a regional managed instance group. | project_id, region, group, size, wait | operation |
| List Firewall Rules | Read | VPC firewall rules (direction, source ranges, allowed ports, target tags). | project_id, filter, order_by, paging | items, nextPageToken |
| Create Firewall Rule | Destructive | Create a VPC firewall rule (opens or closes network access). | project_id, firewall_json*, wait | operation |
| Delete Firewall Rule | Destructive | Delete a VPC firewall rule. | project_id, firewall*, wait | operation |
Cloud Run#
Enable: run.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Cloud Run Services | Read | Cloud Run services in a region (region "-" lists every region). | project_id, region, paging | services, nextPageToken |
| Get Cloud Run Service | Read | A Cloud Run service: URL, latest revisions, traffic split, template (image, env, scaling) and conditions. | project_id, region, service* | name, uri, latestReadyRevision, latestCreatedRevision, traffic, trafficStatuses, template, terminalCondition, etag |
| Deploy Cloud Run Revision | Change | Deploy a new revision of an existing service: a new container image and/or environment variables (other settings kept). dry_run validates without deploying. | project_id, region, service*, image, env_json, container_name, revision_suffix, dry_run, wait | operation |
| Update Cloud Run Traffic | Change | Send traffic to the latest revision, to one revision (roll back), or split it with traffic_json. Percentages must add up to 100. dry_run validates only. | project_id, region, service*, revision, traffic_json, dry_run, wait | operation |
| Delete Cloud Run Service | Destructive | Delete a Cloud Run service and all its revisions. dry_run validates only. | project_id, region, service*, dry_run, wait | operation |
| List Cloud Run Revisions | Read | Revisions of a service (newest first), e.g. to pick one to roll back to. | project_id, region, service*, paging | revisions, nextPageToken |
| List Cloud Run Jobs | Read | Cloud Run jobs in a region. | project_id, region, paging | jobs, nextPageToken |
| Run Cloud Run Job | Change | Start an execution of a Cloud Run job. Optional overrides (args, env, task count, timeout). Returns an operation; with wait_for_completion the response is the finished execution. | project_id, region, job*, overrides_json, wait | operation |
| List Job Executions | Read | Executions of a Cloud Run job, with succeeded / failed task counts. | project_id, region, job*, paging | executions, nextPageToken |
Cloud Functions#
Enable: cloudfunctions.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Cloud Functions | Read | Cloud Functions (1st and 2nd gen) in a region (region "-" lists every region). | project_id, region, filter, paging | functions, nextPageToken |
| Get Cloud Function | Read | A function: state, runtime, trigger, service config and URL. | project_id, region, function* | name, state, environment, buildConfig, serviceConfig, eventTrigger, url, updateTime |
| Delete Cloud Function | Destructive | Delete a Cloud Function. | project_id, region, function*, wait | operation |
Google Kubernetes Engine#
Enable: container.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List GKE Clusters | Read | GKE clusters in a location ("-" = all locations). | project_id, location | clusters, missingZones |
| Get GKE Cluster | Read | A GKE cluster: status, version, endpoint, node pools. | project_id, location, cluster | name, status, currentMasterVersion, endpoint, location, nodePools, resourceLabels, selfLink |
| List GKE Node Pools | Read | Node pools of a cluster (machine type, size, autoscaling). | project_id, location, cluster | nodePools |
| Resize GKE Node Pool | Change | Set the node count of a node pool (per zone for multi-zone pools). Pools with autoscaling may change it again. | project_id, location, cluster, node_pool, node_count, wait | operation |
| Set GKE Node Pool Autoscaling | Change | Turn node pool autoscaling on or off and set its limits. | project_id, location, cluster, node_pool, enabled, min_node_count, max_node_count, wait | operation |
| Delete GKE Node Pool | Destructive | Delete a node pool and its nodes (workloads are rescheduled if other pools have room). | project_id, location, cluster, node_pool*, wait | operation |
Cloud SQL#
Enable: sqladmin.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Cloud SQL Instances | Read | Cloud SQL instances (state, version, tier, region). | project_id, filter, paging | items, nextPageToken |
| Get Cloud SQL Instance | Read | A Cloud SQL instance: state (RUNNABLE, SUSPENDED, STOPPED …), activation policy, tier, IPs. | project_id, instance* | name, state, databaseVersion, region, settings, ipAddresses, connectionName, selfLink |
| Start Cloud SQL Instance | Change | Start a stopped instance (activation policy ALWAYS). | project_id, instance*, wait | operation |
| Stop Cloud SQL Instance | Change | Stop an instance (activation policy NEVER). Storage is still billed. | project_id, instance*, wait | operation |
| Restart Cloud SQL Instance | Change | Restart an instance (connections drop briefly). | project_id, instance*, wait | operation |
| Create Cloud SQL Backup | Change | Take an on-demand backup of an instance. | project_id, instance*, description, wait | operation |
| List Cloud SQL Backups | Read | Backups of an instance (status, type, window). | project_id, instance*, paging | items, nextPageToken |
Cloud Storage buckets#
Enable: storage.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Buckets | Read | Cloud Storage buckets in the project. | project_id, prefix, paging | items, nextPageToken |
| Get Bucket | Read | A bucket: location, storage class, versioning, lifecycle rules, labels, access settings. | bucket* | name, location, storageClass, versioning, lifecycle, labels, iamConfiguration, metageneration, timeCreated |
| Create Bucket | Change | Create a bucket with uniform bucket-level access and public access prevention on. | project_id, bucket*, location, storage_class, labels_json, versioning | name, id, location, storageClass, timeCreated |
| Update Bucket | Change | Patch bucket settings: labels, versioning, lifecycle, retention, default storage class … | bucket, patch_json | name, labels, versioning, lifecycle, metageneration |
| Set Bucket Versioning | Change | Turn object versioning on or off. | bucket, enabled | name, versioning |
| Set Bucket Lifecycle | Change | Replace the bucket's lifecycle rules ([] removes them all). | bucket, rules_json | name, lifecycle |
| Delete Bucket | Destructive | Delete an empty bucket (Google refuses a bucket that still has objects). | bucket* | — |
| Get Bucket IAM Policy | Read | Who can access the bucket (role bindings) and the policy etag. | bucket* | bindings, etag, version |
| Set Bucket IAM Policy | Destructive | Replace the bucket IAM policy. Include the etag from Get Bucket IAM Policy so a concurrent change is refused. | bucket, policy_json | bindings, etag |
IAM: service accounts, keys and roles#
Enable: iam.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Service Accounts | Read | Service accounts in the project (email, display name, disabled). | project_id, paging | accounts, nextPageToken |
| Get Service Account | Read | One service account. | project_id, service_account* | name, email, uniqueId, displayName, description, disabled |
| Create Service Account | Destructive | Create a service account (grant it roles separately). | project_id, account_id*, display_name, description | name, email, uniqueId, displayName |
| Disable Service Account | Destructive | Disable a service account: it can no longer authenticate (reversible with Enable). | project_id, service_account* | — |
| Enable Service Account | Destructive | Re-enable a disabled service account. | project_id, service_account* | — |
| Delete Service Account | Destructive | Delete a service account (prefer Disable: deletion cannot be undone after 30 days and breaks its role bindings). | project_id, service_account* | — |
| List Service Account Keys | Read | Keys of a service account (id, type, validity, disabled). Never returns private key material. | project_id, service_account*, key_types | keys |
| Create Service Account Key | Destructive | Create a key and return the key file JSON once (private_key_json; masked in call logs). Store it in a secret store straight away. Prefer impersonation or workload identity over keys. | project_id, service_account* | name, validAfterTime, validBeforeTime, keyAlgorithm, private_key_json |
| Disable Service Account Key | Destructive | Disable a key (e.g. a leaked one) without deleting it. | project_id, service_account, key_id | — |
| Delete Service Account Key | Destructive | Delete a key permanently. | project_id, service_account, key_id | — |
| List Predefined Roles | Read | Google's predefined roles (FULL view includes their permissions). | view, paging | roles, nextPageToken |
| List Custom Roles | Read | Custom roles defined in the project. | project_id, view, show_deleted, paging | roles, nextPageToken |
| Get Role | Read | A predefined or custom role with its permissions. | role_name* | name, title, description, includedPermissions, stage, etag |
| Create Custom Role | Destructive | Create a project custom role from a list of permissions. | project_id, role_id, title, description, permissions*, stage | name, title, includedPermissions, etag |
| Delete Custom Role | Destructive | Delete a project custom role (recoverable for 7 days with undelete). | project_id, role_id* | name, deleted |
Pub/Sub#
Enable: pubsub.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Pub/Sub Topics | Read | Pub/Sub topics in the project. | project_id, paging | topics, nextPageToken |
| Create Pub/Sub Topic | Change | Create a Pub/Sub topic (optionally with labels and message retention). | project_id, topic*, labels_json, message_retention | name, labels |
| Delete Pub/Sub Topic | Destructive | Delete a topic (its subscriptions are detached, not deleted). | project_id, topic* | — |
| Publish Pub/Sub Message | Change | Publish one message. message is sent as UTF-8 text (objects as JSON); base64 encoding is done for you. | project_id, topic, message, attributes_json, ordering_key | message_id, messageIds |
| List Pub/Sub Subscriptions | Read | Subscriptions in the project. | project_id, paging | subscriptions, nextPageToken |
| Create Pub/Sub Subscription | Change | Create a pull (or push, with push_config_json) subscription on a topic. | project_id, subscription, topic, ack_deadline_seconds, filter, push_config_json, labels_json | name, topic, ackDeadlineSeconds |
| Delete Pub/Sub Subscription | Destructive | Delete a subscription and its unacknowledged messages. | project_id, subscription* | — |
| Pull Pub/Sub Messages | Change | Pull messages from a subscription, decoded (data_text, data_json when JSON). auto_acknowledge acknowledges them; otherwise pass the ack_ids to Acknowledge Messages after processing. | project_id, subscription*, max_messages, auto_acknowledge | messages, count, acknowledged |
| Acknowledge Pub/Sub Messages | Change | Acknowledge pulled messages so they are not delivered again. | project_id, subscription, ack_ids | — |
Secret Manager#
Enable: secretmanager.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| List Secrets | Read | Secrets (metadata only: names, labels, replication; never values). | project_id, filter, paging | secrets, nextPageToken |
| Get Secret Metadata | Read | A secret's metadata (not its value). | project_id, secret* | name, labels, replication, createTime, etag |
| Create Secret | Destructive | Create an empty secret (automatic replication). Add its value with Add Secret Version. | project_id, secret*, labels_json | name, createTime |
| Add Secret Version | Destructive | Store a new value for a secret (it becomes "latest"). The value is never written to call logs. | project_id, secret, secret_value | name, state, createTime |
| Access Secret Version | Destructive | Read a secret value (secret_value). High risk: agents ask a person first, and the value is masked in call logs. | project_id, secret*, version | name, secret_value, data_crc32c |
| List Secret Versions | Read | Versions of a secret and their state (ENABLED, DISABLED, DESTROYED). | project_id, secret*, filter, paging | versions, nextPageToken |
| Disable Secret Version | Destructive | Disable a version (it can no longer be accessed; reversible). | project_id, secret, version | name, state |
| Destroy Secret Version | Destructive | Destroy a version's value permanently. | project_id, secret, version | name, state |
| Delete Secret | Destructive | Delete a secret and all its versions. | project_id, secret* | — |
Cloud Logging and Monitoring#
Enable: logging.googleapis.com, monitoring.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| Query Logs | Read | Log entries matching a Logging query, newest first by default. Always bound it in time, e.g. severity>=ERROR AND timestamp>="2026-11-28T00:00:00Z". | project_id, filter*, order_by, paging | entries, nextPageToken |
| Write Log Entry | Change | Write an entry to a Cloud Logging log (e.g. an approval decision, for audit). Give text or payload_json. | project_id, log_id*, severity, text, payload_json, labels_json | — |
| List Metric Time Series | Read | Cloud Monitoring metric data, e.g. CPU of VMs: filter metric.type="compute.googleapis.com/instance/cpu/utilization". | project_id, filter, start_time, end_time*, alignment_period, per_series_aligner, cross_series_reducer, group_by_field, view, paging | timeSeries, nextPageToken, unit |
| List Alert Policies | Read | Cloud Monitoring alert policies (conditions, enabled, notification channels). | project_id, filter, paging | alertPolicies, nextPageToken |
| Enable or Disable Alert Policy | Change | Turn an alert policy on or off (e.g. mute during a maintenance window). | project_id, alert_policy, enabled | name, displayName, enabled |
Billing#
Enable: cloudbilling.googleapis.com, billingbudgets.googleapis.com.
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| Get Project Billing Info | Read | Whether billing is enabled on the project and its billing account. | project_id | name, projectId, billingAccountName, billingEnabled |
| List Budgets | Read | Budgets of a billing account (amount, thresholds, scope), e.g. a 5,000 USD monthly budget. | billing_account_id, paging | budgets, nextPageToken |
| Get Budget | Read | One budget: amount, filter (projects, services) and alert thresholds. | billing_account_id, budget* | name, displayName, amount, budgetFilter, thresholdRules, etag |
Operations and any Google Cloud API#
| Action | Risk | What it does | Inputs (* required) | Outputs |
|---|---|---|---|---|
| Get Operation Status | Read | The current state of a long-running operation started by another action (pass its operation_url). wait_for_completion waits for it to finish. | operation_url*, wait | operation |
| Call Google Cloud API (Read) | Read | GET any Google Cloud REST URL on googleapis.com (the long tail not covered by other actions), e.g. https://compute.googleapis.com/compute/v1/projects/my-project/regions. | url*, query_json, paging | data |
| Call Google Cloud API | Destructive | Call any Google Cloud REST method on googleapis.com with any HTTP method. Treated as destructive (agents ask first). Operations in the answer are normalised and can be awaited. | url, method, body_json, query_json, wait | operation |