OmniIndex Google Cloud collection
Number of APIs: 17
OmniIndex GCP API
I have only worked on the Cloud Functions.
/james 20/04/2024
To generate the Oauth token, Google has a very specific method, which involves generation of an identity token, from an authorized service/user account
gcloud auth print-identity-token
You can read more here
[Get and ID token](https://cloud.google.com/docs/authentication/get-id-token#generic-dev)
-
Cloud Functions - Apply terraform POST https://oidx-initiate-y5hq5c4yaa-uw.a.run.app/trigger
-
Cloud Functions - Destroy terraform POST https://oidx-initiate-mv5aqx4sja-uc.a.run.app/trigger
-
Cloud Functions - OCI ons -> Google Chat POST https://chat.googleapis.com/v1/spaces/gvbKAUAAAAE/messages?key={{vault:g-chat}}&token=5MpzP-Z5lOARB2AR2scjUjuy0LZIzF51LPQDQLJrlak
-
Compute - Discover Compute APIs GET https://www.googleapis.com/discovery/v1/apis/compute/v1/rest
-
Compute - Create instance POST https://compute.googleapis.com/compute/v1/projects/:projectId/zones/:zone/instances
-
Compute - Get instance GET https://compute.googleapis.com/compute/v1/projects/:project/zones/:zone/instances/:instance
-
Storage - Discover Storage APIs GET https://www.googleapis.com/discovery/v1/apis/storage/v1/rest
-
Storage - Create bucket POST https://storage.googleapis.com/storage/v1/b?project={{my-project-id}}
-
Storage - Get buckets GET https://storage.googleapis.com/storage/v1/b?project={{my-project-id}}
-
Storage - Upload objects from files POST https://storage.googleapis.com/upload/storage/v1/b/:bucketName/o?uploadType=media&name={{object-name}}