Google Cloud Storage
Google Cloud Storage via the official @google-cloud/storage SDK. Application Default Credentials by default.
Installation
@google-cloud/storage is an optional peer dependency of files-sdk - install alongside the SDK so the adapter's imports resolve at runtime.
Google Cloud Storage via the official @google-cloud/storage SDK. Auth follows the standard Google chain - Application Default Credentials by default, with explicit overrides if you need them.
import { Files } from "files-sdk";import { gcs } from "files-sdk/gcs";const files = new Files({ adapter: gcs({ bucket: "uploads", // No credentials needed in most setups - the @google-cloud/storage // SDK auto-discovers Application Default Credentials from // GOOGLE_APPLICATION_CREDENTIALS, gcloud auth, or the runtime // service account on Cloud Run / GKE / GCE. }),});