ts-gcloud-sdk
Google Cloud SDK functional wrapper written in TypeScript. Useful for automation and integration.
Settings
- GCP_SDK_PATH
- If your sdk it not added to path, you can specific the env variable to point to the path directly
- export GCP_SDK_PATH=C:\Program Files\google-cloud-sdk\bin\gcloud
- GCP_BQ_PATH
- default value is "bq"
- GCP_GSUTIL_PATH
- default value is "gsutil"
- DEBUG=gcloud
- show all the logs and commands of the sdk
Quick Start
;
Functions
Organizations
Datastore
Gsutil Command
Big Query Command
Run with Service Account
- Please grant the below permission if you use service account
- Cloud Functions Admin
- Cloud Scheduler Admin
- Cloud Datastore Owner
- Service Account User
- Logging Admin