StorageMetadata class

Metadata for a StorageReference. Metadata stores default attributes such as size and content type.

Constructors

StorageMetadata({String cacheControl, String contentDisposition, String contentEncoding, String contentLanguage, String contentType, Map<String, String> customMetadata })

Properties

bucket → String
The owning Google Cloud Storage bucket for the StorageReference.
final
cacheControl → String
The Cache Control setting of the StorageReference.
final
contentDisposition → String
The content disposition of the StorageReference.
final
contentEncoding → String
The content encoding for the StorageReference.
final
contentLanguage → String
The content language for the StorageReference, specified as a 2-letter lowercase language code defined by ISO 639-1.
final
contentType → String
The content type (MIME type) of the StorageReference.
final
creationTimeMillis → int
The time the StorageReference was created in milliseconds since the epoch.
final
customMetadata → Map<String, String>
An unmodifiable map with custom metadata for the StorageReference.
final
generation → String
A version String indicating what version of the StorageReference.
final
md5Hash → String
The MD5Hash of the StorageReference object.
final
metadataGeneration → String
A version String indicating the version of this StorageMetadata.
final
name → String
A simple name of the StorageReference object.
final
path → String
The path of the StorageReference object.
final
sizeBytes → int
The stored Size in bytes of the StorageReference object.
final
updatedTimeMillis → int
The time the StorageReference was last updated in milliseconds since the epoch.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited