Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bạn cần có một dự án Google Cloud để sử dụng API Google Workspace và tạo các tiện ích bổ sung hoặc ứng dụng Google Workspace. Dự án trên Google Cloud là nền tảng để tạo, bật và sử dụng tất cả các dịch vụ của Google Cloud, bao gồm cả việc quản lý API, bật tính năng thanh toán, thêm và xoá cộng tác viên cũng như quản lý quyền.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-12-22 UTC."],[[["\u003cp\u003eA Google Cloud project is a prerequisite for utilizing Google Workspace APIs and developing Google Workspace add-ons or applications.\u003c/p\u003e\n"],["\u003cp\u003eYou 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.\u003c/p\u003e\n"],["\u003cp\u003eDepending on your usage of Google Workspace APIs, enabling billing for your Cloud project might be necessary to access certain features and services.\u003c/p\u003e\n"],["\u003cp\u003eAfter 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.\u003c/p\u003e\n"]]],["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"],null,["# Create a Google Cloud project\n\nA Google Cloud project is required to use Google Workspace APIs and build\nGoogle Workspace add-ons or apps. A Cloud project forms the\nbasis for creating, enabling, and using all Google Cloud services, including\nmanaging APIs, enabling billing, adding and removing collaborators, and managing\npermissions.\n\nCreate a Cloud project\n----------------------\n\n### Google Cloud console\n\n1. In the Google Cloud console, go to Menu menu \\\u003e **IAM \\& Admin** \\\u003e **Create a Project** .\n\n [Go to Create a Project](https://console.cloud.google.com/projectcreate)\n2. In the **Project Name** field, enter a descriptive name for your project.\n\n\n Optional: To edit the **Project ID** , click **Edit**. The project ID can't be changed\n after the project is created, so choose an ID that meets your needs for the lifetime of the\n project.\n3. In the **Location** field, click **Browse** to display potential locations for your project. Then, click **Select** . **Caution: Can't find your Google Workspace organization?** \n | This means you aren't signed in to a Google Workspace account. Some of the features described in Google Workspace developer documentation are only available to projects associated with an organization.\n4. Click **Create**. The Google Cloud console navigates to the Dashboard page and your project is created within a few minutes.\n\n### gcloud CLI\n\nIn one of the following development environments, access the Google Cloud\nCLI (`gcloud`):\n\n- **Cloud Shell** : To use an online terminal with the gcloud CLI already set up, activate Cloud Shell. \n [Activate Cloud Shell](https://console.cloud.google.com/?cloudshell=true)\n- **Local Shell** : To use a local development environment, [install](https://cloud.google.com/sdk/docs/install) and [initialize](https://cloud.google.com/sdk/docs/initializing) the gcloud CLI. \n To create a Cloud project, use the `gcloud projects create` command: \n\n gcloud projects create \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e by setting the ID for the project you want to create.\n\nFor further information on Cloud projects, refer to\n[Creating and managing projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects)\nin the Google Cloud documentation.\n\nOptional: Enable billing for your Cloud project\n-----------------------------------------------\n\nDepending on the Google Workspace APIs and features that you want to\nuse, you might also need to enable billing for your Cloud project:\n| If you're unable to link a billing account, you don't have the permissions needed to make this change. For more information, see [Permissions required to enable billing](https://cloud.google.com/billing/docs/how-to/modify-project#required-permissions-enable).\n\n### Google Cloud console\n\n1. In the Google Cloud console, go to **Billing** . Click **Menu** menu \\\u003e **Billing** \\\u003e **My Projects** .\n\n [Go to Billing for My Projects](https://console.cloud.google.com/billing/projects)\n2. In **Select an organization**, choose the organization associated with your Google Cloud project.\n3. In the project row, open the **Actions** menu (more_vert), click **Change billing**, and choose the Cloud Billing account.\n4. Click **Set account**.\n\n### gcloud CLI\n\n1. To list available billing accounts, run: \n\n gcloud billing accounts list\n\n2. Link a billing account with a Google Cloud project: \n\n gcloud billing projects link \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e --billing-account=\u003cvar translate=\"no\"\u003eBILLING_ACCOUNT_ID\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is the **Project ID** for the Cloud project for which you want to enable billing.\n - \u003cvar translate=\"no\"\u003eBILLING_ACCOUNT_ID\u003c/var\u003e is the **billing account ID** to link with the Google Cloud project.\n\nFor further information about billing, see\n[Enable, disable, or change billing for a project](https://cloud.google.com/billing/docs/how-to/modify-project)\nin the Google Cloud Billing documentation.\n\nNext step\n---------\n\n[Enable Google Workspace APIs](/workspace/guides/enable-apis)\nin your Cloud project."]]