OpenAPI 문서를 배포하려면 gcloud endpoints services deploy 명령어를 실행합니다. OpenAPI 문서를 처음 배포할 때 gcloud 명령어는 Service Management API를 호출하고 OpenAPI 문서의 host 필드에 지정된 이름을 사용하여 관리형 서비스를 만듭니다.
Service Management는 날짜 스탬프와 버전 번호로 구성된 예를 들면 2017-02-13r0입니다.
같은 날에 서비스 구성을 다시 배포하면 Service Management는 구성 ID의 버전 번호를 증분시킵니다. 다른 날에 서비스 구성을 다시 배포하면 Service Management는 구성 ID에 새 날짜 스탬프를 할당하고 버전 번호를 0으로 재설정합니다.
Endpoints는 Service Management를 사용하여 서비스 구성을 저장합니다. Service Management는 최근 서비스 구성 100개만 저장합니다.
페이지의 왼쪽 위 근처의 API 이름과 탭 사이에 서비스 이름이 표시됩니다. 서비스 구성 배포 목록에서 구성 ID는 구성을 배포한 주 구성원의 이메일 주소 및 날짜와 함께 표시됩니다. 서비스 구성 배포 목록에는 최근 100개의 구성 배포가 표시됩니다. 가장 최근의 구성이 목록 맨 위에 표시됩니다.
gcloud
다음을 입력하여 Google Cloud 프로젝트의 프로젝트 ID를 표시합니다.
gcloud projects list
이전 단계에서 적절한 프로젝트 ID를 사용하여 기본 프로젝트를 API가 있는 항목으로 설정합니다.
gcloud config set project YOUR_PROJECT_ID
프로젝트의 서비스 목록을 가져옵니다.
gcloud endpoints services list
이전 단계에서 확인한 서비스 이름을 사용하여 서비스의 구성 ID 목록을 가져옵니다.
gcloud endpoints configs list --service=YOUR_SERVICE_NAME
[[["이해하기 쉬움","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\u003eDeploying an OpenAPI document involves using the \u003ccode\u003egcloud endpoints services deploy\u003c/code\u003e command, which creates a managed service via the Service Management API.\u003c/p\u003e\n"],["\u003cp\u003eService Management assigns a configuration ID with a date stamp and revision number each time an OpenAPI document is deployed.\u003c/p\u003e\n"],["\u003cp\u003eRe-deploying the service on the same day increments the configuration ID's revision number, while deploying on a new day resets it and changes the date stamp.\u003c/p\u003e\n"],["\u003cp\u003eEndpoints uses Service Management to manage service configurations, which stores the latest 100 configurations.\u003c/p\u003e\n"]]],[],null,["# Getting the service name and configuration ID\n\nOpenAPI \\| [gRPC](/endpoints/docs/grpc/get-service-name-config-id \"View this page for the Cloud Endpoints gRPC docs\")\n\n\u003cbr /\u003e\n\nTo deploy your OpenAPI document, you run the\n[`gcloud endpoints services deploy`](/sdk/gcloud/reference/endpoints/services/deploy)\ncommand. The first time you deploy your OpenAPI document, the `gcloud` command\ncalls a Service Management API to create a managed service by using the name\nthat you specified in the `host` field of your OpenAPI document.\nService Management automatically assigns a configuration ID, which\nconsists of a date stamp followed by a revision number. For example:\n`2017-02-13r0`\n\nIf you deploy your service configuration again on the same day,\nService Management increments the revision number in the configuration\nID. If you deploy your service configuration again on another day,\nService Management assigns a new date stamp to the configuration ID and\nresets the revision number to 0.\n\nEndpoints uses Service Management to store service\nconfigurations. Service Management stores only the latest 100 service\nconfigurations.\n\nThis page describes how to view the name of your service and configuration IDs.\n\nWhat's next\n-----------\n\n- Learn about [deploying an OpenAPI document](/endpoints/docs/openapi/deploy-endpoints-config).\n- Learn about the [Service Management API](/service-infrastructure/docs/manage-config)."]]