geeViz.cloudStorageManagerLib

Helpful functions for managing Google Cloud Storage (GCS) buckets and blobs

geeViz.cloudStorageManagerLib includes functions for renaming, seeing if a blob exists, and deleting blobs.

Functions

bucket_exists(bucket_name)

Checks if a GCS bucket exists.

create_bucket(bucket_name)

Creates a GCS bucket.

delete_blob(bucket, filename)

Deletes a specified file from a GCS bucket.

gcs_exists(bucket, filename)

Checks if a specific file exists in a GCS bucket.

list_blobs(bucket_name)

Lists all blob objects in a bucket.

list_files(bucket_name)

Lists filenames in a bucket.

rename_blobs(bucket_name, old_name, new_name)

Renames a group of blobs in a bucket.