google-cloud-storage-basics

Manages Google Cloud Storage buckets and objects via CLI, APIs, and client libraries.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Google Cloud Storage involves many surfaces — the gcloud CLI, JSON and XML APIs, client libraries, Terraform, and MCP servers — each with its own commands, authentication patterns, and pitfalls. This Skill consolidates the correct, current way to perform any Cloud Storage operation so you avoid deprecated tools like gsutil and misconfigured buckets. ## Core Features & Use Cases - Bucket and Object Operations: Create, configure, list, upload, download, and delete buckets and objects using gcloud storage, the JSON API, or MCP tools. - 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. - Cost and Performance Optimization: Apply storage classes, lifecycle rules, Autoclass, Storage Transfer Service migrations, Rapid Buckets, Rapid Cache, and GCSFuse mounts for AI/ML workloads. - Use Case: Migrate terabytes of data from Amazon S3 into a GCS bucket, then mount that bucket on a GKE cluster with gcsfuse so a PyTorch training job can read the dataset with local-file semantics. ## Quick Start Ask the assistant to create a Cloud Storage bucket in a specific region and upload a local file to it.

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 Amazon S3 to Google Cloud Storage?▼

Use Storage Transfer Service with gcloud transfer jobs create, providing an S3 credentials JSON file and granting the STS service agent roles/storage.legacyBucketWriter on the destination bucket. STS runs serverless on Google infrastructure, avoiding local bandwidth costs.

Should I use gsutil or gcloud storage for Cloud Storage?▼

Use gcloud storage. The legacy gsutil CLI is minimally maintained and does not support newer features such as soft delete and managed folders, so existing gsutil commands should be converted to their gcloud storage equivalents.

Can I mount a GCS bucket as a local file system?▼

Yes, Cloud Storage FUSE (gcsfuse) mounts buckets on Linux with POSIX-like semantics, but it lacks file locking, random writes, and full POSIX compliance. It suits high-throughput sequential workloads like ML training, not general-purpose file serving.

What is the difference between Nearline, Coldline, and Archive storage classes?▼

They differ in minimum storage duration and retrieval fees: Nearline is 30 days for monthly access, Coldline is 90 days for quarterly access, and Archive is 365 days for yearly access. All serve data with the same millisecond latency as Standard, with no restore step.

When should I not use Google Cloud Storage?▼

Do not use GCS for block storage (use Persistent Disk), data warehousing or analytics queries (use BigQuery), or relational and NoSQL database workloads (use Cloud SQL, Spanner, Bigtable, or Firestore). GCS stores immutable whole objects, not queryable records.