application-integration-authoring
它能做什么
这项技能帮助开发者在 Google Cloud Application Integration 中编写和管理自动化工作流。适合希望用代码和版本控制来管理工作流的团队。
适用场景
- ✓当你想通过代码在 Google Cloud 上创建或更新 Application Integration 工作流时。
- ✓当你需要发布工作流版本,或在 dev 和 prod 等环境之间迁移它时。
- ✓当你想设置 API 触发器,或运行工作流进行测试时。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/application-integration-authoring/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请发布我在 Google Cloud 上的工作流版本,并对它运行一次快速测试。”
每周 5 个新技能,1 分钟读完。
工作原理
它会使用 Application Integration REST API 或 Python 客户端来下载、上传、发布和运行工作流版本。普通的 gcloud 命令只用于登录和权限设置。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Application Integration Authoring
Google Cloud Application Integration workflows are authored, versioned, published, and executed programmatically through the REST API (https://integrations.googleapis.com/v1/...) or the discovery-based Google API Python client (googleapiclient.discovery.build("integrations", "v1")).
There is no gcloud integrations command group, no Google-managed MCP server for Application Integration, and no documented Terraform resource for integrations or versions. Use gcloud only for authentication, enabling APIs, and IAM bindings. Use Terraform only for region provisioning (google_integrations_client), authentication profiles (google_integrations_auth_config), and Integration Connectors (google_integration_connectors_connection).
For initial project setup, region provisioning, and IAM role definitions, use the application-integration-basics skill. For diagnosing failed or stuck runs, execution logs, and quota errors, use the application-integration-troubleshooting skill.
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-authoring)"
and add agent-skills/1.0 (skill:application-integration-authoring) to the
User-Agent header of curl requests.
Safety and Confirmation Rules
- Read-only operations run freely:
integrations.list,integrations:search,versions.list,versions.get,versions:download,authConfigs.list, andexecutions.list. - Confirm before any state change or execution: Before creating, uploading, patching, publishing, unpublishing, testing, executing, scheduling, or deleting an integration or version, or modifying IAM or auth configs, show the exact command and payload to the user and get explicit confirmation.
- 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. - Never store secrets in config variables: Config variables (
CONFIG_*) are stored and exported in plain text. Always use authentication profiles (projects.locations.authConfigs) or the Secret Manager access task for credentials.
Prerequisites Checklist
- Install Google Cloud SDK: Follow Install the gcloud CLI if
gcloudis not installed. - Billing and project: Ensure the Google Cloud project has an active billing account attached (required even when usage stays within the free tier), then set the target project (changes global gcloud state; get the user's approval first):
gcloud config set project PROJECT_ID - Enable required APIs:
gcloud services enable integrations.googleapis.com connectors.googleapis.com secretmanager.googleapis.com - Provision the region: Application Integration is regional: confirm the target region is supported on Application Integration locations and use
us-central1as a well-supported default when the user has no preference. The region is theLOCATIONin every REST path; nogclouddefault-region setting applies to Application Integration. The targetLOCATIONmust be provisioned via the Cloud console orPOST .../clients:provisionbefore authoring integrations (seeapplication-integration-basics). - Authenticate:
- For
curl: rungcloud auth login(changes host or credential state; get the user's approval first) and pass-H "Authorization: Bearer $(gcloud auth print-access-token)". - For the Python client (install with
pip install "google-api-python-client>=2.100.0,<3" "google-auth>=2.20.0,<3"): rungcloud auth application-default loginandgcloud auth application-default set-quota-project PROJECT_ID(or setGOOGLE_APPLICATION_CREDENTIALSfor a service account) (changes host or credential state; get the user's approval first). - For service account impersonation: run `gcloud config set auth/imperso
- For
常见问题
有用于工作流的 gcloud 命令吗?
没有。本技能使用 REST API 或 Python 客户端,因为没有针对此服务的 gcloud 命令组。
它能帮助在环境之间迁移工作流吗?
可以。它涵盖在 CI/CD 流程中跨环境推进版本的操作。
它能修复失败的工作流运行吗?
不能。诊断失败或卡住的运行由单独的故障排除技能负责。
详情
作者的原始描述
Builds, versions, publishes, tests, and executes Google Cloud Application Integration workflows through the REST API and Python discovery client, and promotes versions across environments. Use when listing integrations, downloading or uploading integration versions as JSON, configuring API triggers or config variables, publishing drafts, invoking integrations, or automating CI/CD promotion. Do not use for initial region provisioning and IAM setup (use application-integration-basics) or diagnosing failed runs and logs (use application-integration-troubleshooting).
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10217
- 许可证
- 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 上的第一步,包括选择项目、关联计费,以及部署第一个资源。