stack

Home > @infiniteobjects/data-types > StorageObject

StorageObject class

Google Storage Object

Signature:

export declare class StorageObject implements IStorageObject 

Implements: IStorageObject

Remarks

For use in the browser

Properties

Property Modifiers Type Description
bucket   string The bucket where the file is
file   string The path f=of the file in the bucket
publicUrl   string | false A url of this file or false if is private
storagePath readonly string A full storage path in the form of gs://{bucket}/{file}