Skip to content

feat: add GCP Cloud Storage (GCS) bucket and object operations#95

Open
atharva-nagane wants to merge 1 commit intoc2siorg:mainfrom
atharva-nagane:feat/gcp-cloud-storage
Open

feat: add GCP Cloud Storage (GCS) bucket and object operations#95
atharva-nagane wants to merge 1 commit intoc2siorg:mainfrom
atharva-nagane:feat/gcp-cloud-storage

Conversation

@atharva-nagane
Copy link
Contributor

@atharva-nagane atharva-nagane commented Mar 16, 2026

Closes #94

Adds GcsClient with 7 GCS JSON API operations: create_bucket, delete_bucket,
list_buckets, upload_object, download_object, delete_object, list_objects.

Note: The existing gcp_storage.rs implements Compute Engine persistent disk
operations (create_disk, delete_disk, create_snapshot) — not Cloud Storage. This PR
adds the missing GCS object storage layer as a separate gcp_object_storage.rs.

  • Follows the existing GCP struct pattern (retrieve_token() + reqwest)
  • Supports prefix-filtered object listing
  • URL-encodes object names to handle path separators correctly
  • 5 integration tests covering full bucket + object lifecycle
  • Usage guide at examples/gcp/storage/cloud_storage.md

@atharva-nagane atharva-nagane force-pushed the feat/gcp-cloud-storage branch from af031e6 to ecfa0d2 Compare March 17, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add GCP Cloud Storage bucket and object operations

1 participant