Mantieni tutto organizzato con le raccolte Salva e classifica i contenuti in base alle tue preferenze.
Per utilizzare le API Google Workspace e creare app o componenti aggiuntivi di Google Workspace è necessario un progetto Google Cloud. Un progetto Cloud costituisce la base per creare, abilitare e utilizzare tutti i servizi Google Cloud, tra cui gestire le API, attivare la fatturazione, aggiungere e rimuovere collaboratori e gestire le autorizzazioni.
Per ulteriori informazioni sui progetti Cloud, consulta la sezione Creare e gestire progetti della documentazione di Google Cloud.
(Facoltativo) Abilita la fatturazione per il tuo progetto Cloud
A seconda delle API e delle funzionalità di Google Workspace che vuoi utilizzare, potresti dover attivare anche la fatturazione per il tuo progetto Cloud:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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,["A 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\nGoogle 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\ngcloud 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\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\nGoogle 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\ngcloud 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[Enable Google Workspace APIs](/workspace/guides/enable-apis)\nin your Cloud project."]]