設定配額後,配額限制會套用至呼叫 API 的所有應用程式。在「Endpoints Services」(Endpoints 服務) 頁面中,依序按一下「Quotas」(配額) >「Default quotas」(預設配額),畫面就會顯示您為 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 page describes how to override default quota limits for specific consumer projects that call your API.\u003c/p\u003e\n"],["\u003cp\u003eDefault quota limits apply to all applications that call your API, but they can be modified for individual projects.\u003c/p\u003e\n"],["\u003cp\u003eOverriding a project's quota limit requires obtaining the project number of the consumer project.\u003c/p\u003e\n"],["\u003cp\u003eYou can edit the quota limit for a specific project through the \u003cstrong\u003eEndpoints Services\u003c/strong\u003e page in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is subject to "Pre-GA Offerings Terms", indicating it's in a beta stage and might have limited support.\u003c/p\u003e\n"]]],[],null,["# Overriding the default quota limit\n\n[OpenAPI](/endpoints/docs/openapi/quotas-override \"View this page for the Cloud Endpoints OpenAPI docs\") \\| gRPC\n\n\u003cbr /\u003e\n\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\nAfter you configure a quota, the limit applies to all applications that call\nyour API. The **Endpoints Services** page displays the quotas configured for\neach method in your API under **Quotas** \\\u003e **Default quotas**. If needed, you\ncan set a different limit for a specific consumer project.\n\nTo override the default quota limit:\n\n1. Get the [project number](/resource-manager/docs/creating-managing-projects#identifying_projects) of the project whose limit you want to override. If you don't have permission to access the API consumer's project, ask someone who has permission to get the project number for you.\n2. In the Google Cloud console, go to the **Endpoints Services** page\n for your project.\n\n\n [Go to the Endpoints Services page](https://console.cloud.google.com/endpoints)\n\n \u003cbr /\u003e\n\n3. If you have more than one API, select the API that you want to configure\n from the list.\n\n4. Click the **Quotas** tab.\n\n5. Under **Project quotas** , enter the project number and click **View project\n quotas**.\n\n6. For the quota you want to change, click **Edit limit**.\n\n7. In the **Edit limit** dialog box that displays, click **Custom** and enter\n the new limit.\n\n8. Click **Save**."]]