Skip to content

Instantly share code, notes, and snippets.

@thoughtful-solutions
Last active May 9, 2025 09:23
Show Gist options
  • Save thoughtful-solutions/1e1899602d2df2fc8bc589d33f05354f to your computer and use it in GitHub Desktop.
Save thoughtful-solutions/1e1899602d2df2fc8bc589d33f05354f to your computer and use it in GitHub Desktop.
GCLOUD config

#Install GCLOUD cli

scoop install gcloud

Authenticate

gcloud auth login

Projects config

List projects

gcloud projects list

and then join one

gcloud config set project gcalcpi

or create one

gcloud projects create PROJECT_ID --name="Project Name"

Enable Calendar API for project

gcloud services enable calendar-json.googleapis.com --project=gcalcpi

Ensure Quotas are enables

gcloud auth application-default set-quota-project gcalcpi

Enable OAuth

gcloud auth application-default login
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/calendar.readonly,https://www.googleapis.com/auth/cloud-platform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment