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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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 HTTPGETcalls tohttps://integrations.googleapis.com/v1/...orhttps://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:provisionorterraform applyongoogle_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-bindingorgcloud iam service-accounts add-iam-policy-binding). - Creating, uploading, publishing, unpublishing, executing, testing, or deleting any integration, version, auth profile, or connection.
- Enabling APIs (
- 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 asauth/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
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。