Google Cloud

Apigee / API Gateway 完全ガイド|API 管理・OAuth・Developer Portal

2026-05-24
NicheeLab編集部

GCP には 3 つの API 管理ソリューションがあります — API Gateway (シンプル + 安価)、Cloud Endpoints (ESPv2 ベース)、Apigee (エンタープライズ機能完備)。本記事ではそれぞれの違い、用途別選択基準、料金、他クラウド比較をまとめます。

3 つのサービス比較

項目API GatewayCloud EndpointsApigee X
位置づけ軽量 API ゲートESPv2 ベースエンタープライズ API 管理
料金$3/100 万 callCloud Run 料金$500/月〜
OAuth 2.0
Rate Limit○ (Quota)○ (Quota)
Developer Portal
Monetization
変換 / 集約限定限定◎ (XSLT / JS / Java)
gRPC

API Gateway 詳細

主要機能

  • OpenAPI 2.0 仕様で API 定義
  • API Key 認証 + OAuth 2.0 + JWT
  • バックエンド: Cloud Run / Cloud Functions / GKE / Compute / 外部 HTTPS
  • Rate Limiting (Quota)
  • Cloud Monitoring / Logging 統合
  • マルチリージョン HA

API 定義例 (OpenAPI)

swagger: "2.0"
info:
  title: "My API"
  version: "1.0"
host: "my-api.endpoints.PROJECT.cloud.goog"
schemes: ["https"]
paths:
  /users:
    get:
      summary: "List users"
      operationId: "listUsers"
      x-google-backend:
        address: "https://my-cloud-run-service.run.app"
      security:
        - api_key: []
      responses:
        '200': {description: "OK"}
securityDefinitions:
  api_key:
    type: "apiKey"
    name: "key"
    in: "query"

Apigee X 詳細

主要機能

  • API Proxy: バックエンド API のラッパー (Apigee Edge 互換)
  • Policies: 認証 / 変換 / Rate Limit / キャッシュ / ログ 等 50+ 種類
  • Developer Portal: API 利用者向け公開ポータル
  • Monetization: API 利用課金 (従量 / サブスクリプション)
  • Analytics: トラフィック / レイテンシ / Top Apps 等の分析
  • Apigee Sense: 不正検知 (Bot / API 悪用)
  • Hybrid: Runtime をオンプレ GKE で実行

Policy 例 (Quota)

<Quota name="QuotaPolicy">
  <Allow count="1000"/>
  <Interval>1</Interval>
  <TimeUnit>hour</TimeUnit>
  <Identifier ref="developer.app.id"/>
</Quota>

使い分けマトリクス

要件推奨
Cloud Run / Functions の前段 (シンプル)API Gateway
gRPC API 公開Cloud Endpoints
パートナー / 外部 API 公開 + PortalApigee X
API マネタイズApigee X
レガシー SOAP → REST 変換Apigee X
規制対応 + オンプレ RuntimeApigee Hybrid

他クラウド比較

項目API Gateway / ApigeeAWS API GatewayAzure APIM
シンプル料金$3/M call$3.50/M call
エンタープライズApigee XAPIM Standard $200/月〜
Developer Portal◎ (Apigee)
Mutual TLS

典型的なユースケース

  • マイクロサービスの統一エントリポイント (API Gateway)
  • パートナー向け API 公開 + Portal (Apigee X)
  • レガシー API のモダン化 (SOAP → REST、Apigee X)
  • API マネタイゼーション (Apigee X)
  • 多言語 gRPC マイクロサービス (Cloud Endpoints)

Apigee と API Gateway どちらを選ぶ?

API Gateway = シンプル + 安価 (~$3/100 万 call)、サーバレス API の前段に適。Apigee = エンタープライズ API 管理 (Developer Portal / Monetization / 高度ポリシー)、月数千ドル〜。

Apigee X と Apigee Hybrid の違いは?

Apigee X = 完全 SaaS (GCP マネージド)、Hybrid = Runtime をオンプレ/他クラウドの GKE で実行 + Management Plane は GCP。規制対応で Hybrid 選択。

Cloud Endpoints はまだ使える?

使えるが新規は API Gateway 推奨。Endpoints は ESPv2 ベースで gRPC 対応など特定用途に強い。

Cloud Armor との関係は?

Cloud Armor = L7 WAF + DDoS、Apigee/API Gateway = API レイヤ管理 (認証 + Rate Limit + 変換)。両方併用が一般的。

料金体系は?

API Gateway: $3/100 万 call + Cloud Run 料金。Apigee X: Standard $500/月〜、Enterprise $5000/月〜。Pay-as-you-go 試用版あり。

認証方式は?

API Key、OAuth 2.0、OpenID Connect、JWT、SAML、Mutual TLS、Custom (JavaScript / Java Callout)。

Developer Portal とは?

API 利用者向けのドキュメント + Try it now + API Key 発行ポータル。Apigee の主要機能。マネタイズも可能。

AWS API Gateway / Azure API Management との比較は?

AWS は Lambda 統合が強い、Azure APIM は多機能でやや高価、Apigee は OAuth / GraphQL / Monetization で老舗強み。

関連記事・API 管理

GCP Professional Cloud Developer (PCD) 完全ガイド|Cloud Run・GKE・CI/CD・APM

Google Cloud Professional Cloud Developer の試験範囲、Cloud Run / GKE / Cloud Build / Cloud Trace、AWS DVA / Azure AZ-204 比較、学習ロードマップを徹底解説。

GCP Professional Cloud Network Engineer (PCNE) 完全ガイド|VPC・Interconnect・Load Balancing

Google Cloud Professional Cloud Network Engineer の試験範囲、VPC / Cloud Interconnect / Cloud Load Balancing / Cloud Armor、AWS ANS・Azure AZ-700 比較を詳解。

GCP Professional Cloud DevOps Engineer (PCDOE) 完全ガイド|SRE・GKE・CI/CD・SLO

Google Cloud Professional Cloud DevOps Engineer の試験範囲、SRE / SLI / SLO / Error Budget、GKE / Cloud Build / Cloud Deploy、AWS DOP・Azure AZ-400 比較を徹底解説。

GCP Professional Cloud Database Engineer (PCDBE) 完全ガイド|Spanner・AlloyDB・Cloud SQL

Google Cloud Professional Cloud Database Engineer の試験範囲、Spanner / AlloyDB / Cloud SQL / Bigtable / Firestore、AWS DBS・Azure DP-300 比較を詳解。

※ Google Cloud、Apigee は Google LLC の商標です。最新情報は Apigee 公式 / API Gateway 公式 をご確認ください。

この記事で学んだ内容を問題で確認しましょう

16,000問以上の問題で実力チェック

GCP 試験対策ページを見る
この記事の著者

NicheeLab編集部

データエンジニアリング・クラウド資格の専門家。Databricks・Snowflake等の認定資格を保有し、実務経験に基づいた問題作成・解説を行っています。NicheeLab運営。


関連記事
Google Cloud

Google Cloud (GCP) 認定資格ロードマップ 2026 完全版|全 15 試験を体系化

Google Cloud 認定資格 全 15 試験 (Foundational 2 + Associate 3 + Pr...

Google Cloud

Cloud Digital Leader (CDL) 完全ガイド|出題範囲・学習リソース・合格戦略

Google Cloud Cloud Digital Leader (CDL) の完全ガイド。6 ドメイン 92 bul...

Google Cloud

Generative AI Leader (GAIL) 完全ガイド|Google Cloud 生成 AI 認定

Google Cloud Generative AI Leader (GAIL、2025-05-14 リリース) の完全...

Google Cloud

Vertex AI 入門|Google Cloud 統合 ML プラットフォームの全機能

Google Cloud Vertex AI の入門解説。Vertex AI Studio / Agent Builde...

Google Cloud

GCP Associate Cloud Engineer (ACE) 完全ガイド|試験範囲・受験料・学習ロードマップ

Google Cloud Associate Cloud Engineer (ACE) の試験範囲・受験料 125 US...

Google Cloudの記事一覧 (102件)
© 2026 NicheeLab All rights reserved.