Abilita l'API

In questa pagina viene spiegato come abilitare l'API Recommender. Abilitazione dell'API è necessaria per visualizzare e gestire i consigli e gli approfondimenti utilizzando gcloud e REST interfacce.

Per abilitare l'API Recommender:

gcloud

  1. Se non hai ancora un progetto Google Cloud, creane uno per ora.

  2. Imposta il progetto predefinito, dove PROJECT_ID è l'ID del tuo progetto:

    gcloud config set project PROJECT_ID
    
  3. Abilita le API richieste:

    gcloud services enable recommender.googleapis.com
    

console

  1. Accedi al tuo account Google Cloud. Se non conosci Google Cloud, crea un account per valutare le prestazioni dei nostri prodotti in scenari reali. I nuovi clienti ricevono anche 300 $di crediti gratuiti per l'esecuzione, il test e il deployment dei carichi di lavoro.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Enable the Recommender API.

    Enable the API

  4. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  5. Enable the Recommender API.

    Enable the API