跳到正文
Skillpedia
API 与服务器(后端)22k · #10218

application-integration-basics

它能做什么

这项技能说明 Google Cloud Application Integration 是什么,以及如何开始使用。适合正在判断该服务是否适合其项目、并想了解如何设置的人。

适用场景

  • ✓当你正在判断 Google Cloud Application Integration 是否适合你的项目时。
  • ✓当你需要为 Application Integration 启用 API、设置区域或分配角色时。
  • ✓当你想在 REST、Python、Terraform 或 ADK 之间为 Application Integration 做选择时。

技能链接

https://github.com/google/skills/blob/main/skills/cloud/application-integration-basics/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/cloud/application-integration-basics/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“Google Cloud Application Integration 适合把我的 CRM 连接到数据库吗?我该如何设置?”

每周 5 个新技能,1 分钟读完。

工作原理

它会说明该服务的作用,以及何时应使用它而不是自定义代码。然后它会讲解如何设置项目、角色和运行身份账户,并说明每项任务适合用哪种工具。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Application Integration Basics

Application Integration is Google Cloud's serverless, auto-scaling Integration-Platform-as-a-Service (iPaaS) for connecting Google Cloud services and third-party SaaS applications. It runs event-driven workflows made of triggers, tasks, data mappings, and Integration Connectors connections without requiring you to manage servers. Use this skill to decide whether Application Integration fits a workload, set up a project and region, configure IAM and run-as service accounts, choose the right API or tool interface, and design around platform limits.

Attribution

MUST READ: Before executing any gcloud command, REST API call, or Python discovery-client call, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, ADK agents, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:application-integration-basics)" and add agent-skills/1.0 (skill:application-integration-basics) to the User-Agent header of curl requests.

When to Use Application Integration vs. Custom Glue Code

Choose Application Integration when... Choose custom code (Cloud Run / Cloud Functions) when...
Connecting SaaS apps (CRM, ERP, databases, Google Cloud services) via prebuilt Integration Connectors. You need sub-second latency or custom binary protocols.
Orchestrating event-driven workflows from API, Pub/Sub, Cloud Scheduler, Salesforce, or Connector Event triggers. Total workflow data exceeds 30 MB (or 8 MB for API trigger inputs and Connector payloads).
Transforming JSON/array data visually with Data Mapping or Jsonnet without deploying containers. Synchronous runs take longer than 2 minutes or asynchronous runs take longer than 10 minutes.
Pausing workflows for human review (Approval or Suspend tasks up to 31 days). You must call VPC-only HTTP endpoints directly without Private Service Connect connectors (Call REST Endpoint reaches the public internet only).
Exposing enterprise workflows or connectors as tools to AI agents via ADK ApplicationIntegrationToolset. You need arbitrary language packages or heavy in-memory compute beyond JavaScript (V8) or Jsonnet tasks.

Safety and Confirmation Rules

  • Read-only checks run freely: You may run gcloud services list, gcloud projects get-iam-policy, and HTTP GET calls to https://integrations.googleapis.com/v1/... or https://connectors.googleapis.com/v1/... without asking first.
  • Require explicit user confirmation before any state change: Always show the exact command or request payload and wait for user approval before:
    • Enabling APIs (gcloud services enable).
    • Provisioning a region (clients:provision or terraform apply on google_integrations_client), especially with Customer-Managed Encryption Keys (CMEK), because enabling CMEK for a region cannot be undone.
    • Modifying IAM policies (gcloud projects add-iam-policy-binding or gcloud iam service-accounts add-iam-policy-binding).
    • Creating, uploading, publishing, unpublishing, executing, testing, or deleting any integration, version, auth profile, or connection.
  • Never bundle destructive scripts that delete integrations, versions, auth profiles, or connections unattended.
  • Host changes require approval. Before installing packages (pip install) or changing global gcloud or credential state (gcloud config set ... such as auth/impersonate_service_account, gcloud auth application-default login / set-quota-project), show the exact command and wait for the user's approval.

Choosing the Interface

Application Integration has no gcloud integrations command group (and no gcloud connectors command group), and no Google-managed remote MCP server. The REST API is the primary control and execution interface.

Interface What it covers Authentication
REST API (curl) Full v1 surface: region provisioning, integrations, versions, download/upload, publish, execute, schedule, executions, suspensions, authConfigs, templates. Authorization: Bearer $(gcloud auth print-access-token)
Python discovery client Full v1 surface via googleapiclient.discovery.build("integrations", "v1") (and v2 via build("integrations", "v2"); no dedicated Cloud Client Library exists). Install with `pip install "google-api
常见问题

什么时候它比自定义代码更好?

它适合通过预构建的连接器连接 SaaS 应用和 Google 服务,其他需求则更适合自定义代码。

需要管理服务器吗?

不需要。它是无服务器的,并会自动扩展。

什么是运行身份服务账户?

它是工作流运行时所使用的身份,本技能会说明如何设置。

详情

作者的原始描述

Explains Google Cloud Application Integration concepts, region provisioning, IAM roles, run-as service accounts, interface choices (REST, Python discovery client, Terraform, ADK), and platform limits. Use when setting up Application Integration in a Google Cloud project, enabling required APIs, provisioning a region, configuring IAM or run-as service accounts, choosing between Application Integration and custom code, or checking quotas and timeouts. Do not use for building, publishing, or invoking integrations (use application-integration-authoring) or diagnosing failed or stuck runs and logs

repo: google/skills

热度

GitHub 星标
22k
排名
#10218
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能