什么是 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。

后续步骤

  • 如需了解如何执行常见的 Service Usage 任务,请参阅方法指南
  • 如需详细了解 Service Usage,请参阅概念指南