application-integration-basics
Skill này làm gì
Skill này giải thích Google Cloud Application Integration là gì và cách bắt đầu sử dụng. Skill dành cho những người đang cân nhắc dịch vụ này có phù hợp với dự án của họ không và cách thiết lập nó.
Khi nào nên dùng
- ✓Khi bạn đang cân nhắc Google Cloud Application Integration có phù hợp với dự án của mình không.
- ✓Khi bạn cần bật API, thiết lập khu vực hoặc gán vai trò cho Application Integration.
- ✓Khi bạn muốn chọn giữa REST, Python, Terraform hoặc ADK cho Application Integration.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/application-integration-basics/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Google Cloud Application Integration có phù hợp để kết nối CRM với cơ sở dữ liệu của tôi không, và tôi thiết lập nó như thế nào?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill giải thích dịch vụ làm gì và khi nào nên dùng thay vì mã tùy chỉnh. Sau đó skill hướng dẫn cách thiết lập dự án, các vai trò và tài khoản chạy quy trình, cùng công cụ nào phù hợp với từng tác vụ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 |
Câu hỏi thường gặp
Khi nào nó tốt hơn viết mã tùy chỉnh?
Nó phù hợp để kết nối các ứng dụng SaaS và dịch vụ của Google bằng connector dựng sẵn, còn mã tùy chỉnh phù hợp với các nhu cầu khác.
Có cần quản lý máy chủ không?
Không. Dịch vụ này không cần máy chủ (serverless) và tự mở rộng.
Tài khoản dịch vụ run-as là gì?
Đó là danh tính mà quy trình dùng khi chạy, và skill giải thích cách thiết lập nó.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10218
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.