开始使用 Cloud Billing API
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
概览
  使用此 API,您可以执行以下任何操作。
  对于 Cloud Billing Account API:
  - 获取所有 Cloud Billing 账号的列表。
  
 - 获取有关特定 Cloud Billing 账号的信息。
  
 - 列出与 Cloud Billing 账号关联的所有 Google Cloud 项目。
  
 - 获取 Google Cloud 项目的结算信息。
 - 为 Google Cloud 项目启用结算功能(通过将相应项目与 Cloud Billing 账号相关联)。
 - 为 Google Cloud 项目停用结算功能(通过移除相应项目的 Cloud Billing 账号)。
  
 - 更改与 Google Cloud 项目关联的 Cloud Billing 账号。
 
  对于 Cloud Billing Catalog API:
  - 以编程方式访问整个公共 Google Cloud 目录,该目录包括:
    
  
 
您可以通过以下任一方式访问 Cloud Billing API:
如需开始使用 Cloud Billing API,有多种方案可选。
一小时体验
如需了解介绍如何上手使用的分步教程,请按照您的第一个应用中的相关说明进行操作。
参考文档
如需查询特定资源类型或方法,请参阅参考文档。
  
  
  
    
  
  
 
  
    
    
      
       
         
  
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-10-31。
  
  
    
    
    
      
  
    
  
  
    
      [[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-10-31。"],[],[]]