code: function getBucket(bucketName: string): Object {
    if (!(process.env.GOOGLE_CLOUD_PROJECT && process.env.GOOGLE_CLOUD_AUTH)) {
      throw new Error("Cannot get GCS bucket, missing GCP environment variables");
    } else if (!gcs) {
      gcs = require("@google-cloud/storage");
    }
  
    const config = {
      projectId: process.env.GOOGLE_CLOUD_PROJECT,
      keyFilename: null,
      credentials: JSON.parse(
        Buffer.from(process.env.GOOGLE_CLOUD_AUTH, "base64").toString()
      ),
      promise: Bluebird,
      maxRetries: 5,
    };
  
    return gcs(config).bucket(bucketName);
  }
docs: Given a bucketName, fetch GCS bucket
  @param {String} bucketName