Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

reoim/enable-gcp-api

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

enable-gcp-api

Enable Google Cloud APIs at Org or Folder level

Prerequisite

gcloud auth login
gcloud config set project PROJECT_ID

Usage

Run help command to see example of usage

python enable-api.py --help

Output>
usage: enable-api.py [-h] -o ORG [-f FOLDER] -s SERVICE [SERVICE ...]

options:
  -h, --help            show this help message and exit
  -o ORG                Example) -o 302793038411
  -f FOLDER             Example) -f 112793038411
  -s SERVICE [SERVICE ...]
                        Example) -s "policyanalyzer.googleapis.com" "bigquery.googleapis.com"

Enbable APIs at Organization level: Run the script with org id and service names arguments

python enable-api.py -o ORG_ID -s SERVICES

Enbable APIs at Folder level: Run the script with org id, folder id and service names arguments

python enable-api.py -o ORG_ID -f FOLDER_ID -s SERVICES

About

Enable Google Cloud APIs at Org or Folder level

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.