GcsStorageOptions
Defined in: types.ts:5
Options for configuring a GCS storage adapter.
Properties
Section titled “Properties”apiEndpoint?
Section titled “apiEndpoint?”
optionalapiEndpoint?:string
Defined in: types.ts:19
Custom API endpoint (e.g. emulator: http://localhost:9090).
bucket
Section titled “bucket”bucket:
string
Defined in: types.ts:7
GCS bucket name.
client?
Section titled “client?”
optionalclient?:Storage
Defined in: types.ts:11
Pre-configured GCS client. Defaults to a client built from the other options.
credentials?
Section titled “credentials?”
optionalcredentials?:Record<string,unknown>
Defined in: types.ts:17
Service-account credentials object.
keyFilename?
Section titled “keyFilename?”
optionalkeyFilename?:string
Defined in: types.ts:15
Path to service-account JSON key file.
prefix?
Section titled “prefix?”
optionalprefix?:string
Defined in: types.ts:9
Optional key prefix applied to all stored objects.
projectId?
Section titled “projectId?”
optionalprojectId?:string
Defined in: types.ts:13
GCP project ID (defaults to ADC).