tech/google/cloud/storage

STORAGE

GCP storage skill (stub). Use when: (1) storing objects in Cloud Storage — buckets, lifecycle, versioning, signed URLs,

production Cloud Storage v1, gsutil, Filestore v1
requires: tech/google/cloud

GCP Storage (stub)

Status: stub. Production depth pending.

In scope

AreaService
Object storageCloud Storage (buckets, objects, versioning)
Storage classesStandard, Nearline, Coldline, Archive
File systemsFilestore (NFSv3/v4.1), Filestore Enterprise
Bulk transferStorage Transfer Service, Transfer Appliance
BackupBackup and DR Service

Quick start

# Create bucket in SA region, uniform access, default encryption
gcloud storage buckets create gs://my-raw-uploads \
  --location africa-south1 \
  --uniform-bucket-level-access \
  --public-access-prevention

# Lifecycle: auto-move objects >30d to Nearline, >365d to Coldline
gcloud storage buckets update gs://my-raw-uploads \
  --lifecycle-file=lifecycle.json

# Signed URL (V4) for time-limited client upload (skip your server)
gcloud storage sign-url gs://my-raw-uploads/incoming/file.pdf \
  --duration=1h --http-verb=PUT

Storage classes

ClassMin storage durationBest for
StandardnoneFrequently accessed
Nearline30 daysMonthly access
Coldline90 daysQuarterly access
Archive365 daysAnnual access, compliance

Retrieval costs grow as classes get colder. Lifecycle rules auto-transition.

Gotchas (high-level)

See Also