Stone.js API
    Preparing search index...

    Options for the Google Cloud Storage driver.

    interface GcsDriverOptions {
        baseUrl?: string;
        bucket: string;
        credentials?: { client_email: string; private_key: string };
        keyFilename?: string;
        name?: string;
        projectId?: string;
        root?: string;
        signedUrlExpiresIn?: number;
    }

    Hierarchy

    • FileSystemOptions
      • GcsDriverOptions
    Index
    baseUrl?: string

    An optional base URL used by FileSystem.url for public assets.

    bucket: string

    The bucket name.

    credentials?: { client_email: string; private_key: string }

    Inline service-account credentials (alternative to keyFilename).

    keyFilename?: string

    Path to a service-account key file.

    name?: string

    The disk name.

    projectId?: string

    The GCP project id (optional when inferred from credentials/environment).

    root?: string

    The root directory (local) or bucket/prefix (object store) all paths are resolved against.

    signedUrlExpiresIn?: number

    Default expiry (seconds) for signed URLs. Defaults to 900 (15 min).