이 문서에서는 Cloud Quotas API를 사용하도록 개발 환경을 설정하는 방법과 전체 애플리케이션 개발 환경을 설정하지 않고 API를 테스트하도록 curl 명령어를 설정하는 방법을 설명합니다. Google Cloud 콘솔을 사용하여 서비스를 나열, 사용 설정 또는 중지하려는 경우에는 이 안내를 완료할 필요가 없습니다.
Cloud Quotas API 사용 설정
Cloud Quotas API를 사용하려면 먼저 사용하려는 Google Cloud 프로젝트에서 Cloud Quotas 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-08-08(UTC)"],[[["\u003cp\u003eThis page outlines the steps to set up a development environment for the Cloud Quotas API and configure \u003ccode\u003ecurl\u003c/code\u003e for API testing.\u003c/p\u003e\n"],["\u003cp\u003eEnabling the Cloud Quotas API in a specific Google Cloud project is a prerequisite, which can be done through the Google Cloud console or via the \u003ccode\u003egcloud\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eThe setup process includes defining a shell alias (\u003ccode\u003egcurl\u003c/code\u003e) for streamlined REST API calls and setting the \u003ccode\u003ePROJECT_ID\u003c/code\u003e environment variable.\u003c/p\u003e\n"],["\u003cp\u003eVerifying the setup involves using \u003ccode\u003egcurl\u003c/code\u003e to list enabled APIs and services in your project, ensuring the Cloud Quotas API is included in the results.\u003c/p\u003e\n"]]],[],null,["# Set up the Cloud Quotas API\n\nTo use the Cloud Quotas API, you must first enable it for your\nGoogle Cloud project. This document describes how to enable the Cloud Quotas API.\n\nEnable the API\n--------------\n\nYou can enable the Cloud Quotas API by using the Google Cloud console or the\n[Google Cloud CLI](/sdk/gcloud). \n\n### Console\n\n1. Go to the Google Cloud console **API Library** page.\n\n\n [Go to API Library](https://console.cloud.google.com/project/_/apis/library/cloudquotas.googleapis.com)\n\n \u003cbr /\u003e\n\n2. Select the Google Cloud project that you want to access the API.\n\n3. On the API Library page, enable **Cloud Quotas API**.\n\n4. Make sure that your user account has the required [IAM\n roles](/docs/quotas/permissions).\n\n### gcloud\n\nBefore you begin\n----------------\n\nAuthenticate to the gcloud CLI before you use it to enable\nAPIs. For more information about the authentication process, see\n[Authorize the gcloud CLI](/sdk/docs/authorizing).\n\nEnable the API\n--------------\n\n1. Run the [`gcloud services enable`](/sdk/gcloud/reference/services/enable)\n command and specify the Cloud Quotas API:\n\n gcloud services enable cloudquotas.googleapis.com --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with the ID of the project\n that needs access to the Cloud Quotas API. You can find your project ID on the\n [Welcome](https://console.cloud.google.com/welcome) page of the Google Cloud console.\n2. To confirm that the Cloud Quotas API is enabled in your project, run the\n [`gcloud services list`](/sdk/gcloud/reference/services/list) command\n and filter for `cloudquotas.googleapis.com` by passing the output to a\n command such as `grep` or using a gcloud CLI\n [`filter`](/sdk/gcloud/reference/topic/filters):\n\n gcloud services list --filter=\"cloudquotas.googleapis.com\"\n\nWhat's next\n-----------\n\n- About the [Cloud Quotas API](/docs/quotas/api-overview)\n\n- Cloud Quotas API [reference](/docs/quotas/reference/rest)"]]