Skip to content

GcsStorageOptions

Defined in: types.ts:5

Options for configuring a GCS storage adapter.

optional apiEndpoint?: string

Defined in: types.ts:19

Custom API endpoint (e.g. emulator: http://localhost:9090).


bucket: string

Defined in: types.ts:7

GCS bucket name.


optional client?: Storage

Defined in: types.ts:11

Pre-configured GCS client. Defaults to a client built from the other options.


optional credentials?: Record<string, unknown>

Defined in: types.ts:17

Service-account credentials object.


optional keyFilename?: string

Defined in: types.ts:15

Path to service-account JSON key file.


optional prefix?: string

Defined in: types.ts:9

Optional key prefix applied to all stored objects.


optional projectId?: string

Defined in: types.ts:13

GCP project ID (defaults to ADC).