Skip to main content

GCSStorageConfig

GCSStorageConfig represents the configuration that will be used if storage type is gcs within the client usage.
It composes of bucket, api endpoint and credentials.

Each instance is produced automatically when creating a new rac-delta client with gcs storage type.


Structure

export interface GCSStorageConfig extends BaseStorageConfig {
type: 'gcs';
bucket: string;
apiEndpoint?: string;
credentials: {
projectId: string;
clientEmail?: string;
privateKey?: string;
};
}

Properties

PropertyTypeDescription
typegcsConst string that identifies this configuration as gcs storage configuration.
bucketstringBucket name of the storage.
apiEndpointstringOptional endpoint to GCS api.
credentialsObjectCredentials object composed of project ID, client email and private key.