Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cloud Endpoints est un système de gestion d'API qui vous aide à sécuriser, surveiller, analyser et définir des quotas sur les API en utilisant la même infrastructure que celle utilisée par Google pour ses propres API. Endpoints assure la gestion des API à l'aide d'Extensible Service Proxy (ESP) et d'Extensible Service Proxy V2 (ESPv2). Pour en savoir plus sur Endpoints, ESP et ESPv2, consultez la page À propos de Endpoints.
Endpoints est compatible avec la version 2 de la spécification OpenAPI (précédemment connue sous le nom de spécification Swagger), le standard du secteur pour la définition des API REST. Si vous ne connaissez pas la spécification OpenAPI, reportez-vous à la section Présentation d'OpenAPI.
Cet ensemble de documentations explique comment utiliser Endpoints avec OpenAPI. Pour plus d'informations sur les autres options d'Endpoints, consultez l'ensemble des documents Endpoints.
Pour commencer, nous vous recommandons de consulter la documentation dans l'ordre suivant :
Pour voir les fonctionnalités Cloud Endpoints en action, suivez le guide de démarrage rapide de Cloud Endpoints, qui utilise des scripts pour déployer un exemple d'API dans l'environnement flexible App Engine.
Vous devez maintenant choisir quelle plate-forme de calcul vous souhaitez utiliser pour votre API. Pour vous aider dans cette décision, vous pouvez consulter la page Choisir une option de calcul et la section Plates-formes de calcul compatibles ci-dessous.
Une fois que vous avez choisi le backend de votre API, suivez le tutoriel de votre plate-forme de calcul préférée.
Plates-formes de calcul compatibles
Endpoints pour OpenAPI repose sur ESP ou ESPv2 pour la gestion des API. ESP et ESPv2 sont des projets Open Source qui vous sont proposés comme suit :
Dans l'environnement flexible App Engine, ESP est automatiquement déployé lorsque vous ajoutez quelques lignes au fichier app.yaml. Pour plus d'informations, consultez la section Déployer l'API et ESP. ESPv2 n'est pas compatible avec l'environnement flexible App Engine.
Pour l'environnement standard App Engine de génération 1, vous devez utiliser Endpoints Frameworks. Si vous déployez plutôt le conteneur selon l'une des options de calcul ci-dessus, vous pouvez utiliser un proxy pour l'une ou l'autre génération de l'environnement d'exécution standard App Engine.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/08 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/08 (UTC)."],[[["\u003cp\u003eCloud Endpoints is an API management system that utilizes the Extensible Service Proxy (ESP) and Extensible Service Proxy V2 (ESPv2) to help secure, monitor, analyze, and set quotas on APIs.\u003c/p\u003e\n"],["\u003cp\u003eEndpoints supports version 2 of the OpenAPI Specification, the industry standard for defining REST APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation recommends starting with the Quickstart to see Endpoints in action, then choosing a compute platform, followed by a tutorial for that platform.\u003c/p\u003e\n"],["\u003cp\u003eESP and ESPv2, which are open source, can be run in various environments including App Engine, Compute Engine, Kubernetes, and locally.\u003c/p\u003e\n"],["\u003cp\u003eWhile ESP is automatically deployed on the App Engine flexible environment, ESPv2 is not supported there, and the App Engine standard environment requires Endpoints Frameworks instead.\u003c/p\u003e\n"]]],[],null,["# Cloud Endpoints for OpenAPI\n\nCloud Endpoints is an API management system that helps you secure, monitor,\nanalyze, and set quotas on your APIs using the same infrastructure Google uses\nfor its own APIs. Endpoints works with the [Extensible Service\nProxy (ESP)](/endpoints/docs/openapi/glossary#extensible_service_proxy) and the [Extensible Service Proxy V2](/endpoints/docs/openapi/glossary#extensible_service_proxy_v2) (ESPv2) to\nprovide API management. You can find out more about Endpoints, ESP, and ESPv2 in [About\nEndpoints](/endpoints/docs/openapi/about-cloud-endpoints).\n\nEndpoints supports version 2 of the\n[OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md)\n(formerly known as the Swagger spec)---the industry standard for defining REST\nAPIs. If you are unfamiliar with the OpenAPI Specification, see\n[OpenAPI Overview](/endpoints/docs/openapi/openapi-overview).\n\nThis documentation set shows you how to use Endpoints with OpenAPI. For\ndocumentation on the other Endpoints options, see\n[All Endpoints Docs](/endpoints/docs).\n\nTo get started, we recommend the following path through the documentation:\n\n1. To see Endpoints features in action, do the [Quickstart for\n Cloud Endpoints](/endpoints/docs/deploy-api), which uses scripts to\n deploy a sample API to the App Engine flexible environment.\n\n2. Now you need to decide which compute platform you want to use for your API.\n To help you make that decision,\n see [Choosing a Computing Option](/docs/choosing-a-compute-option),\n and see the [Supported compute platforms](#supported_compute_platforms)\n section below.\n\n3. After you have decided on the backend for your API, walk through a\n [tutorial](/endpoints/docs/openapi/tutorials) for your preferred\n compute platform.\n\nSupported compute platforms\n---------------------------\n\nEndpoints for OpenAPI depends on either ESP or ESPv2 for API management. Both ESP and ESPv2 are Open Source projects and are available to you in the following ways:\n\n- A container in Artifact Registry.\n - See the [ESP release notes](https://github.com/cloudendpoints/esp/releases) for the current ESP Docker image.\n - See the [ESPv2 release notes](https:/github.com/GoogleCloudPlatform/esp-v2/releases) for the current ESPv2 Docker image.\n- Source code in GitHub.\n - See the [ESP README](https://github.com/cloudendpoints/esp/blob/master/README.md) for details on building ESP.\n - See the [ESPv2 README](https://github.com/GoogleCloudPlatform/esp-v2/blob/master/README.md) for details on building ESPv2.\n\nYou can run the ESP container on the following:\n\n- App Engine flexible environment\n- Compute Engine\n- Kubernetes, including Google Kubernetes Engine\n- A [Linux or macOS computer or another platform](/endpoints/docs/openapi/running-esp-localdev)\n\nYou can run the ESPv2 container on the following:\n\n- App Engine\n- Cloud Run functions\n- Cloud Run\n- Knative serving\n- GKE\n- Compute Engine\n- Kubernetes\n\nSee [About Cloud Endpoints](/endpoints/docs/openapi/about-cloud-endpoints) for more.\n\nOn the [App Engine flexible environment](/appengine/docs/flexible), ESP is\nautomatically deployed for you when you add a few lines to your\n[`app.yaml`](/appengine/docs/flexible/nodejs/reference/app-yaml) file. For more\ninformation, see [Deploying your API and\nESP](/endpoints/docs/openapi/deploy-api-backend#deploying_your_api_and_esp). ESPv2 does not support App Engine flexible environment.\n\nFor the [App Engine standard generation 1 environment](/appengine/docs/standard),\nyou must use [Endpoints\nFrameworks](/endpoints/docs/frameworks/about-cloud-endpoints-frameworks). If you\ninstead deploy the container to one of the compute options above, you can proxy\nto either generation of App Engine standard runtime."]]