gcloud compute project-info add-metadata --metadata enable-oslogin=TRUE
gcloud compute project-info
Advertising: