Represents a reference to a Google Cloud Storage object in React Native Firebase.
A reference can be used to upload and download storage objects, get/set storage object metadata, retrieve storage object download urls and delete storage objects.
Get a reference to a specific storage path.
const ref = firebase.storage().ref('invertase/logo.png');
Get a reference to a specific storage path on another bucket in the same firebase project.
const ref = firebase.storage().refFromURL('gs://other-bucket/invertase/logo.png');
The name of the bucket containing this reference's object.
The full path of this object.
The short name of this object, which is the last component of the full path. For example, if fullPath is 'full/path/image.png', name is 'image.png'.
A reference pointing to the parent location of this reference, or null if this reference is the root.
parent: Reference | null;
Fetches a long lived download URL for this object.
Fetches metadata for the object at this location, if one exists.
List items (files) and prefixes (folders) under this storage reference.
List all items (files) and prefixes (folders) under this storage reference.
Puts data onto the storage bucket.
Puts a file from local disk onto the storage bucket.
Puts a string on the storage bucket. Depending on the string type, set a
Returns a gs:// URL for this object in the form
Updates the metadata for this reference object on the storage bucket.