#import <FIRStorageMetadata.h>
Class which represents the metadata on an object in Firebase Storage. This metadata is returned on successful operations, and can be used to retrieve download URLs, content types, and a FIRStorage reference to the object in question. Full documentation can be found at the GCS Objects::resource docs.
- See also
- https://cloud.google.com/storage/docs/json_api/v1/objects#resource
| - (NSDictionary *) dictionaryRepresentation |
|
|
|
Creates an NSDictionary from the contents of the metadata.
- Returns
- An NSDictionary that represents the contents of the metadata.
| - (nullable NSURL *) downloadURL |
|
|
|
Retrieves a download URL for the given object, or nil if none exist. Note that if there are many valid download tokens, this will always return the first valid token created.
| - (nullable instancetype) initWithDictionary: |
|
(NSDictionary *) |
NS_DESIGNATED_INITIALIZER |
|
The name of the bucket containing this object.
| - (NSString*) cacheControl |
|
readwritenonatomiccopy |
Cache-Control directive for the object data.
| - (NSString*) contentDisposition |
|
readwritenonatomiccopy |
Content-Disposition of the object data.
| - (NSString*) contentEncoding |
|
readwritenonatomiccopy |
Content-Encoding of the object data.
| - (NSString*) contentLanguage |
|
readwritenonatomiccopy |
Content-Language of the object data.
| - (NSString*) contentType |
|
readwritenonatomiccopy |
Content-Type of the object data.
| - (NSDictionary<NSString *, NSString *>*) customMetadata |
|
readwritenonatomiccopy |
User-provided metadata, in key/value pairs.
| - (NSArray<NSURL *>*) downloadURLs |
|
readnonatomicstrong |
An array containing all download URLs available for the object.
Determines if the current metadata represents a "file".
Determines if the current metadata represents a "folder".
The content generation of this object. Used for object versioning.
| - (int64_t) metageneration |
|
readatomicassign |
The version of the metadata for this object at this generation. Used for preconditions and for detecting changes in metadata. A metageneration number is only meaningful in the context of a particular generation of a particular object.
The name of this object, in gs://bucket/path/to/object.txt, this is object.txt.
The full path of this object, in gs://bucket/path/to/object.txt, this is path/to/object.txt.
Content-Length of the data in bytes.
A reference to the object in Firebase Storage.
The creation time of the object in RFC 3339 format.
The modification time of the object metadata in RFC 3339 format.
The documentation for this class was generated from the following file: