Marketplace API は Kubernetes カスタム リソースを使用し、Kubernetes リソースモデルに依存しています。API は、インストール、アップグレード、アンインストールなどのアクションを通じて、特定のプロジェクトで Marketplace サービスのプロビジョニングと管理に使用されます。GDC Marketplace API は、利用可能なバージョンの確認、プロジェクト内のオブジェクトの作成、変更、削除にも使用され、サービスのインスタンスのインストール、アップグレード、アンインストールを行います。
サービス エンドポイントとディスカバリ ドキュメント
次の URL は、Marketplace API の API エンドポイントです。
https://MANAGEMENT_API_SERVER_ENDPOINT/apis/marketplace.gdc.goog/v1
ここで、MANAGEMENT_API_SERVER_ENDPOINT は Management API サーバーのエンドポイントです。
kubectl proxy コマンドを使用すると、ブラウザまたは curl などのツールでその URL にアクセスして、Marketplace API のディスカバリ ドキュメントを取得できます。kubectl proxy コマンドは、ローカルマシンの Kubernetes API サーバーへのプロキシを開きます。コマンドの実行中に、次の URL でドキュメントにアクセスします。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eThe Marketplace API utilizes Kubernetes custom resources and the Kubernetes Resource Model for managing Marketplace services.\u003c/p\u003e\n"],["\u003cp\u003eActions like installing, upgrading, and uninstalling services within a project are facilitated through the Marketplace APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe API endpoint for the Marketplace APIs is located at \u003ccode\u003ehttps://\u003c/code\u003e\u003cvar translate=no\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e\u003ccode\u003e/apis/marketplace.gdc.goog/v1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe discovery document for the Marketplace API can be accessed via the \u003ccode\u003ekubectl proxy\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ekubectl create\u003c/code\u003e, \u003ccode\u003ekubectl apply\u003c/code\u003e, \u003ccode\u003ekubectl patch\u003c/code\u003e, \u003ccode\u003ekubectl edit\u003c/code\u003e, and \u003ccode\u003ekubectl delete\u003c/code\u003e commands are used to manage service instances.\u003c/p\u003e\n"]]],[],null,["# Marketplace API overview\n\nThe Marketplace API uses Kubernetes custom resources and relies on the Kubernetes Resource Model. The APIs are used for the provisioning and administration of the Marketplace services in a given project through actions that include installing, upgrading, and uninstalling. The GDC Marketplace APIs are also used to see available versions, create, modify, or delete objects in your project to install, upgrade, or uninstall instances of a service.\n\nService endpoint and discovery document\n---------------------------------------\n\nThe following URL is the API endpoint for the Marketplace APIs:\n`https://`\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e`/apis/marketplace.gdc.goog/v1`\nwhere \u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e is the endpoint of the\nManagement API server.\n\nUsing the `kubectl proxy` command, you can access that URL in your browser or with a tool such as `curl` to get the discovery document for the Marketplace API.\nThe `kubectl proxy` command opens up a proxy to the Kubernetes API server on your local machine. When the command is running, access the document at the following URL:\n\n`http://127.0.0.1:8001/apis/marketplace.gdc.goog/v1`\n\nCreate an object in a project's namespace with `kubectl create` to install the service you want. To upgrade a service instance, modify it to indicate which version of that service. You can modify the object directly with an HTTP client or by using the `kubectl apply`, `kubectl patch`, or `kubectl edit` commands. To uninstall a service instance, delete the object with `kubectl delete`."]]