ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying @google-cloud/storage Storage client for anything not wrapped here.
Upload (or overwrite) an object. data may be a Buffer or string;
options is passed straight through to file.save() (e.g.
{ contentType, metadata, resumable }).
Download an object's contents as a Buffer. Throws if the object does not exist.
Delete an object. Throws if the object does not exist.
Returns whether an object exists.
List objects in a bucket, optionally restricted to those whose name
starts with prefix. Returns the raw File objects from the driver.
Optionalprefix: stringFetch an object's metadata (size, contentType, updated, custom metadata, etc).
Google Cloud Storage store, implementing the minimal
NoSqlStoremarker interface. Unlike the SQL dialects there is noquery(sql)- GCS's operations are object-shaped (bucket(name).file(key).<op>()) and that shape is preserved here rather than forced into a SQL string.