Enabling billing and APIs

You must have the Billing Account Administrator role (roles/billing.admin) and complete a series of one-time tasks per project and VPC network to create a connection from the user's environment to the Cloud Volumes Service. For more information, see Pricing.

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

    Go to the project selector page

  2. Make sure that billing is enabled for your project. Learn how to confirm that billing is enabled for your project.

  3. In the Google Cloud console, open Cloud Shell.

    Open Cloud Shell
  4. In Cloud Shell, run the following command to determine whether the Service Networking API, the Service Management API, and the NetApp Cloud Volumes API are enabled in your project:

    gcloud --project=my-cvs-prj services list

    If the APIs are not listed in the output, then they are not enabled.

  5. If the APIs are not already enabled, then run the corresponding commands in Cloud Shell to enable them:

        gcloud --project=my-cvs-prj services enable servicenetworking.googleapis.com
        gcloud --project=my-cvs-prj services enable servicemanagement.googleapis.com
        gcloud --project=my-cvs-prj services enable cloudvolumesgcp-api.netapp.com

    For more information, see Service Networking API, Service Management API and NetApp Cloud Volumes API.

  6. Grant the Cloud Volumes Service IAM role to your designated volume administrators.

What's next