Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)22k · #10217

application-integration-authoring

Skill này làm gì

Skill này giúp lập trình viên viết và quản lý các quy trình tự động trong Google Cloud Application Integration. Skill dành cho các đội muốn quản lý quy trình bằng mã và kiểm soát phiên bản.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo hoặc cập nhật một quy trình Application Integration trên Google Cloud bằng mã.
  • ✓Khi bạn cần xuất bản một phiên bản quy trình hoặc chuyển nó giữa các môi trường như dev và prod.
  • ✓Khi bạn muốn thiết lập trigger API hoặc chạy một quy trình để kiểm thử.

Liên kết skill

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

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/google/skills/blob/main/skills/cloud/application-integration-authoring/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Xuất bản phiên bản quy trình Google Cloud của tôi và chạy thử nghiệm nhanh trên nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill dùng REST API hoặc Python client của Application Integration để tải xuống, tải lên, xuất bản và chạy các phiên bản quy trình. Các lệnh gcloud thông thường chỉ dùng cho đăng nhập và quyền.

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 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, and executions.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 as auth/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

  1. Install Google Cloud SDK: Follow Install the gcloud CLI if gcloud is not installed.
  2. 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
    
  3. Enable required APIs:
    gcloud services enable integrations.googleapis.com connectors.googleapis.com secretmanager.googleapis.com
    
  4. Provision the region: Application Integration is regional: confirm the target region is supported on Application Integration locations and use us-central1 as a well-supported default when the user has no preference. The region is the LOCATION in every REST path; no gcloud default-region setting applies to Application Integration. The target LOCATION must be provisioned via the Cloud console or POST .../clients:provision before authoring integrations (see application-integration-basics).
  5. Authenticate:
    • For curl: run gcloud 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"): run gcloud auth application-default login and gcloud auth application-default set-quota-project PROJECT_ID (or set GOOGLE_APPLICATION_CREDENTIALS for a service account) (changes host or credential state; get the user's approval first).
    • For service account impersonation: run `gcloud config set auth/imperso
Câu hỏi thường gặp

Có lệnh gcloud cho quy trình không?

Không. Skill dùng REST API hoặc Python client, vì không có nhóm lệnh gcloud nào cho việc này.

Skill có giúp chuyển quy trình giữa các môi trường không?

Có. Skill bao gồm việc đẩy các phiên bản qua các môi trường như một phần của quy trình CI/CD.

Skill có sửa các lần chạy quy trình bị lỗi không?

Không. Việc chẩn đoán các lần chạy lỗi hoặc bị treo do skill xử lý sự cố riêng đảm nhiệm.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
22k
Vị trí xếp hạng
#10217
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự