Attivazione dell'API

In questa pagina viene spiegato come attivare l'API Recommender. È necessario abilitare l'API per visualizzare e gestire suggerimenti e approfondimenti utilizzando le interfacce gcloud e REST.

Per abilitare l'API Recommender:

gcloud

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

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

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

    gcloud services enable recommender.googleapis.com
    

console

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  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