CONNECT APP
Build with Google Cloud
The Google Cloud Platform, including BigQuery
Infrastructure & Cloud
- API key
MCP
Give your agent Google Cloud tools
Every Google Cloud action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Google Cloud account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "google_cloud",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Bigquery Insert Rows:
const result = await mcp.callTool({
name: "google_cloud-bigquery-insert-rows",
arguments: {
datasetId: "Dataset ID",
tableId: "Table Name",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "google_cloud",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Bigquery Insert Rows:
result = await session.call_tool("google_cloud-bigquery-insert-rows", {
"datasetId": "Dataset ID",
"tableId": "Table Name",
})SDK
Run Google Cloud actions from your backend
Connect a user's Google Cloud account once, then run Bigquery Insert Rows on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "google_cloud-bigquery-insert-rows",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
google_cloud: { authProvisionId: "apn_xxxxxxx" },
datasetId: "Dataset ID",
tableId: "Table Name",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="google_cloud-bigquery-insert-rows",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"google_cloud": {"authProvisionId": "apn_xxxxxxx"},
"datasetId": "Dataset ID",
"tableId": "Table Name",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "google_cloud-bigquery-insert-rows",
"configured_props": {
"google_cloud": { "authProvisionId": "apn_xxxxxxx" },
"datasetId": "Dataset ID",
"tableId": "Table Name"
}
}'TOOLS
Google Cloud actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Bigquery Insert Rows
actionInserts rows into a BigQuery table. See the docs and for an example here.Writev0.0.6 -
Create Bucket
actionCreates a bucket on Google Cloud Storage See the docsWritev0.0.6 -
Create Scheduled Query
actionCreates a scheduled query in Google Cloud. See the documentationWritev0.0.5 -
Delete Object
actionPermanently delete an object from a Google Cloud Storage bucket. See the documentationWritev0.0.3 -
Generate Signed URL
actionGenerate a temporary signed URL that grants time-limited access to a Google Cloud Storage object, without requiring credentials. See the documentationRead-onlyv0.0.3 -
Get Bucket Metadata
actionGets Google Cloud Storage bucket metadata. See the docs.Read-onlyv0.0.7 -
Get Object
actionDownloads an object from a Google Cloud Storage bucket, See the docsRead-onlyv0.0.6 -
List Bucket Name Options
actionRetrieves available options for the Bucket Name field.Read-onlyv0.0.2 -
List Buckets
actionList Google Cloud Storage buckets, See the docsRead-onlyv0.0.6 -
List Dataset ID Options
actionRetrieves available options for the Dataset ID field.Read-onlyv0.0.2 -
List Zone Options
actionRetrieves available options for the Zone field.Read-onlyv0.0.2 -
Logging - Delete Log
actionDelete a log and all of its entries. The log will reappear if new entries are written to it. This cannot be undone. See the documentationWritev0.0.3 -
Logging - List Log Sinks
actionList the log sinks used to export log entries in your project. See the documentationRead-onlyv0.0.2 -
Logging - List Logs
actionList the names of the logs that have entries in your project. Use a returned log name as theLog nameinput of the Logging - Read Log Entries action. See the documentationRead-onlyv0.0.3 -
Logging - Read Log Entries
actionRead log entries from Google Cloud Logging, optionally scoped to a single log viaLog name. TheLog name,Severity, andFilterinputs are combined withAND, and up toMax Resultsentries are returned. See the documentationRead-onlyv0.0.3 -
Logging - Write Log
actionWrites log data to the Logging service, See the docsWritev0.0.7 -
Pub/Sub - List Topics
actionList the Pub/Sub topics in your project. Use a returned topic name as theTopic nameinput of the Pub/Sub - Publish Message action. See the documentationRead-onlyv0.0.3 -
Pub/Sub - Publish Message
actionPublish a message to a Pub/Sub topic. See the documentationWritev0.0.3 -
Run Query
actionRuns a query in BigQuery. See the documentation for more information.Writev0.0.4 -
Search Objects
actionSearch objects by a prefix, See the docsRead-onlyv0.0.6 -
Switch Instance Boot Status
actionSwitch a virtual machine instance boot status to start or stop it. See the documentationWritev0.0.5 -
Update Signature for Email in Organization
actionUpdate the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentationWritev0.0.19 -
Upload An Object
actionUpload an object to a Google Cloud Storage bucket, See the docsWritev0.0.6
EVENTS
Google Cloud triggers
Event sources your backend can deploy for users and receive through a webhook.
-
New Pub/Sub Messages
triggerEmit new Pub/Sub topic in your GCP account. Messages published to this topic are emitted from the Pipedream source.Instantv0.1.8 -
BigQuery - New Row
triggerEmit new events when a new row is added to a tablev0.1.10 -
BigQuery - Query Results
triggerEmit new events with the results of an arbitrary queryv0.1.9
MULTI-APP
Use Google Cloud with other popular apps
Most products don't stop at one integration. Pair Google Cloud with the other apps your users rely on, and ship use cases that span both.
- App slug
- google_cloud
- Authentication
- API key
- Categories
- Infrastructure & Cloud
- Actions
- 23
- Triggers
- 3
- API proxy
- Not available