什么是 Service Usage API?
Service Usage API 是 Google Cloud 的基础架构服务,可让您列出和管理 Google Cloud 项目中的 API 和服务。您可以列出和管理 Google、Google Cloud 和第三方制作者提供的 API 和服务。
为何使用 Service Usage?
您可以使用 Service Usage API 在您的 Google Cloud 项目中执行以下任务:
对于大多数 Google API,您必须先在 Google Cloud 项目中启用它们。如需了解详情,请参阅以下资源:
- 如需了解如何列出 Google Cloud 项目中的可用和已启用的服务,请参阅列出服务。
- 如需了解如何启用和停用服务,请参阅启用和停用服务。
- 如需了解如何列出和管理针对服务的配额限制,请参阅管理服务配额。
您可以通过 Google Cloud 控制台或 Google Cloud CLI 使用 Service Usage,也可以从某个 Google API 客户端库以编程方式使用 Service Usage API。