Cloud Endpoints 提供配額,讓您控管應用程式呼叫您 API 的頻率。您可以設定配額來指定使用量限制,藉此保護 API 免於收到呼叫應用程式的過量要求。要求過多可能是因為簡單的錯字,或是系統設計不當,導致不必要地呼叫 API。無論原因為何,一旦流量達到特定程度,就必須封鎖來自特定來源的流量,才能確保 API 整體運作正常。設定配額可確保一個應用程式不會對使用您 API 的其他應用程式造成負面影響。
[[["容易理解","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 (世界標準時間)。"],[[["\u003cp\u003eThis is a Beta feature, governed by the "Pre-GA Offerings Terms," available "as is," and may have limited support, as detailed in the launch stage descriptions.\u003c/p\u003e\n"],["\u003cp\u003eCloud Endpoints provides quota controls that allow you to limit the rate at which applications can call your API.\u003c/p\u003e\n"],["\u003cp\u003eSetting quotas is important for preventing excessive requests and protecting your API's health from a specific application impacting the API performance for other applications.\u003c/p\u003e\n"],["\u003cp\u003eDetailed quota information can be found in the documentation for OpenAPI, gRPC, and Frameworks implementations.\u003c/p\u003e\n"]]],[],null,["# Cloud Endpoints Quotas\n\n| **Beta**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nCloud Endpoints provides quotas, which let you control the rate at which\napplications can call your API. Setting a quota allows you to specify usage\nlimits to protect your API from an excessive number of requests from\ncalling applications. The excessive requests might have been caused\nby a simple typo or from an inefficiently designed system that makes needless\ncalls to your API. Regardless of the cause, blocking traffic from a specific\nsource once it reaches a certain level is necessary for the overall health of\nyour API. By setting a quota, you ensure that one application cannot negatively\nimpact other applications that use your API.\n\nTo learn more about quotas, see the \"About Quotas\" page in the documentation for\nyour API implementation:\n\n- [Endpoints OpenAPI documentation](/endpoints/docs/openapi/quotas-overview)\n- [Endpoints gRPC documentation](/endpoints/docs/grpc/quotas-overview)\n- [Endpoints Frameworks documentation](/endpoints/docs/frameworks/quotas-overview)"]]