How Can One Use gcloud To Enable APIs

Randy L picture Randy L · Mar 29, 2017 · Viewed 11k times · Source

I'm not able to find a way to use the gcloud command line program to change a project's Enabled APIs. My hunch is that it's going to be in the billing "arena" but I've been trying to find this and having much luck.

Answer

Greg picture Greg · Aug 9, 2018

Use

gcloud services enable <service name>

gcloud Documentation for this

Example:

gcloud services enable containerregistry.googleapis.com