google-cloud-storage-basics

Manages Google Cloud Storage buckets and objects via gcloud CLI, JSON API, and client libraries.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/Lathika-laa/Recipe_Box --skill google-cloud-storage-basics-lathika-laa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: google-cloud-storage-basics
Source: https://github.com/Lathika-laa/Recipe_Box/tree/main/.github/.gemini/skills/google-cloud-storage-basics
Command: npx skills add https://github.com/Lathika-laa/Recipe_Box --skill google-cloud-storage-basics-lathika-laa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Google Cloud Storage involves many surfaces — the gcloud storage CLI, JSON and XML APIs, client libraries, Terraform, and MCP servers — each with its own commands, flags, and pitfalls. This Skill gives an AI agent the correct, current commands and decision guidance for storing, retrieving, securing, and managing objects in GCS buckets without guesswork. ## Core Features & Use Cases - Bucket and Object Operations: Create buckets, upload, download, copy, and delete objects using gcloud storage or the JSON API, with guidance on locations, storage classes, and lifecycle rules. - Security and Data Protection: Configure IAM roles, uniform bucket-level access, public access prevention, signed URLs, encryption (CMEK/CSEK), versioning, soft delete, retention policies, and Bucket Lock. - Transfers and Performance: Choose between gcloud storage cp/rsync, parallel composite uploads, and Storage Transfer Service for S3/Azure migrations, plus Rapid Bucket, Rapid Cache, hierarchical namespace, and gcsfuse mounts for AI/ML workloads. - Use Case: Migrate an on-premises dataset to GCS, enable Autoclass for cost optimization, set a retention policy for compliance, and mount the bucket on a GKE cluster for ML training — all with correct commands. ## Quick Start Ask the agent to create a Cloud Storage bucket in a specific region and upload a local file to it using the gcloud storage CLI.

Frequently Asked Questions about google-cloud-storage-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Google Cloud Storage bucket with gcloud?▼

Run gcloud storage buckets create gs://my-bucket --location=us-central1 after enabling the storage.googleapis.com API. Bucket names share a single global namespace, so short or common names are usually taken; omitting the location defaults to the US multi-region.

How do I transfer data from AWS S3 to Google Cloud Storage?▼

Use Storage Transfer Service with gcloud transfer jobs create, providing an S3 credentials JSON file containing your access key ID and secret. STS runs serverless on Google infrastructure, avoiding local bandwidth use for multi-terabyte migrations.

What is the difference between gcloud storage and gsutil?▼

gcloud storage is the recommended CLI; gsutil is minimally maintained and lacks newer features like soft delete and managed folders. Existing gsutil commands should be replaced with their gcloud storage equivalents.

Does Cloud Storage FUSE support full POSIX file system semantics?▼

No. gcsfuse does not support file locking, random writes, hard links, or extended attributes, and chmod/chown are silently ignored. It is optimized for high-throughput sequential reads and writes, not as a drop-in NFS replacement.

When should I use a Rapid Bucket versus a standard bucket?▼

Use a Rapid Bucket for new latency-critical workloads colocated with compute in one zone, such as AI/ML training, since it offers sub-millisecond latency but no cross-zone redundancy. Standard regional or multi-region buckets remain the right default for most workloads.

Why should I avoid parallel composite uploads on buckets with retention policies?▼

Parallel composite uploads create temporary component objects that cannot be deleted until the retention period expires, increasing storage costs. By default gcloud skips PCU when the destination bucket has a retention policy or default object holds.