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)

  1. Cloud Functions - Apply terraform POST https://oidx-initiate-y5hq5c4yaa-uw.a.run.app/trigger

  2. Cloud Functions - Destroy terraform POST https://oidx-initiate-mv5aqx4sja-uc.a.run.app/trigger

  3. Cloud Functions - OCI ons -> Google Chat POST https://chat.googleapis.com/v1/spaces/gvbKAUAAAAE/messages?key={{vault:g-chat}}&token=5MpzP-Z5lOARB2AR2scjUjuy0LZIzF51LPQDQLJrlak

  4. Compute - Discover Compute APIs GET https://www.googleapis.com/discovery/v1/apis/compute/v1/rest

  5. Compute - Create instance POST https://compute.googleapis.com/compute/v1/projects/:projectId/zones/:zone/instances

  6. Compute - Get instance GET https://compute.googleapis.com/compute/v1/projects/:project/zones/:zone/instances/:instance

  7. Storage - Discover Storage APIs GET https://www.googleapis.com/discovery/v1/apis/storage/v1/rest

  8. Storage - Create bucket POST https://storage.googleapis.com/storage/v1/b?project={{my-project-id}}

  9. Storage - Get buckets GET https://storage.googleapis.com/storage/v1/b?project={{my-project-id}}

  10. Storage - Upload objects from files POST https://storage.googleapis.com/upload/storage/v1/b/:bucketName/o?uploadType=media&name={{object-name}}