您必须拥有一个 Google Cloud 项目,才能使用 Google Workspace API 并构建 Google Workspace 插件或应用。Cloud 项目是执行下列操作的基础:创建、启用和使用所有 Google Cloud 服务,包括管理 API、启用结算功能、添加和移除协作者以及管理权限。
[null,null,["最后更新时间 (UTC):2024-12-22。"],[[["A Google Cloud project is a prerequisite for utilizing Google Workspace APIs and developing Google Workspace add-ons or applications."],["You can create a new Cloud project through the Google Cloud console or the gcloud command-line interface, providing a foundation for your Google Workspace integrations."],["Depending on your usage of Google Workspace APIs, enabling billing for your Cloud project might be necessary to access certain features and services."],["After creating your Cloud project, the next crucial step is to enable the specific Google Workspace APIs that your application or add-on will interact with."]]],["A Google Cloud project is necessary for using Google Workspace APIs. To create one, use the Google Cloud console by navigating to **IAM & Admin** \u003e **Create a Project**, entering a project name and selecting a location. Alternatively, use the `gcloud projects create` command in the Cloud Shell or a local environment. Optionally, enable billing through the console by going to **Billing** and choosing a billing account or using the `gcloud billing projects link` command.\n"]]