Packagecom.distriqt.extension.firebase.storage
Classpublic class StorageMetadata
InheritanceStorageMetadata Inheritance Object



Public Properties
 PropertyDefined By
  bucket : String
[read-only] the owning Google Cloud Storage bucket for the StorageReference
StorageMetadata
  cacheControl : String
the Cache Control for the StorageReference
StorageMetadata
  contentDisposition : String
the content disposition for the StorageReference
StorageMetadata
  contentEncoding : String
the content encoding for the StorageReference
StorageMetadata
  contentLanguage : String
the content language for the StorageReference
StorageMetadata
  contentType : String
the content Type of this associated StorageReference
StorageMetadata
  creationTime : Number
[read-only] the time the StorageReference was created
StorageMetadata
  downloadUrl : String
Deprecated: Use getDownloadUrl() from StorageReference instead
[read-only] Returns a long lived download URL with a revokable token.
StorageMetadata
  generation : String
[read-only] a version String indicating what version of the StorageReference
StorageMetadata
  md5Hash : String
[read-only] the MD5Hash of the StorageReference object
StorageMetadata
  metadataGeneration : String
[read-only] a version String indicating the version of this StorageMetadata
StorageMetadata
  name : String
[read-only] a simple name of the StorageReference object
StorageMetadata
  path : String
[read-only] the path of the StorageReference object
StorageMetadata
  size : Number
[read-only] the stored Size in bytes of the StorageReference object
StorageMetadata
  updatedTime : Number
[read-only] the time the StorageReference was last updated
StorageMetadata
Public Methods
 MethodDefined By
  
Constructor
StorageMetadata
  
[static]
StorageMetadata
  
getCustomMetadata(key:String):String
Returns custom metadata for a StorageReference
StorageMetadata
  
StorageMetadata
  
setCustomMetadata(key:String, value:String):void
Sets custom metadata
StorageMetadata
Property Detail
bucketproperty
bucket:String  [read-only]

the owning Google Cloud Storage bucket for the StorageReference


Implementation
    public function get bucket():String
cacheControlproperty 
cacheControl:String

the Cache Control for the StorageReference


Implementation
    public function get cacheControl():String
    public function set cacheControl(value:String):void
contentDispositionproperty 
contentDisposition:String

the content disposition for the StorageReference


Implementation
    public function get contentDisposition():String
    public function set contentDisposition(value:String):void
contentEncodingproperty 
contentEncoding:String

the content encoding for the StorageReference


Implementation
    public function get contentEncoding():String
    public function set contentEncoding(value:String):void
contentLanguageproperty 
contentLanguage:String

the content language for the StorageReference


Implementation
    public function get contentLanguage():String
    public function set contentLanguage(value:String):void
contentTypeproperty 
contentType:String

the content Type of this associated StorageReference


Implementation
    public function get contentType():String
    public function set contentType(value:String):void
creationTimeproperty 
creationTime:Number  [read-only]

the time the StorageReference was created


Implementation
    public function get creationTime():Number
downloadUrlproperty 
downloadUrl:String  [read-only]
Deprecated: Use getDownloadUrl() from StorageReference instead

Returns a long lived download URL with a revokable token. This can be used to share the file with others, but can be revoked by a developer in the Firebase Console if desired.


Implementation
    public function get downloadUrl():String
generationproperty 
generation:String  [read-only]

a version String indicating what version of the StorageReference


Implementation
    public function get generation():String
md5Hashproperty 
md5Hash:String  [read-only]

the MD5Hash of the StorageReference object


Implementation
    public function get md5Hash():String
metadataGenerationproperty 
metadataGeneration:String  [read-only]

a version String indicating the version of this StorageMetadata


Implementation
    public function get metadataGeneration():String
nameproperty 
name:String  [read-only]

a simple name of the StorageReference object


Implementation
    public function get name():String
pathproperty 
path:String  [read-only]

the path of the StorageReference object


Implementation
    public function get path():String
sizeproperty 
size:Number  [read-only]

the stored Size in bytes of the StorageReference object


Implementation
    public function get size():Number
updatedTimeproperty 
updatedTime:Number  [read-only]

the time the StorageReference was last updated


Implementation
    public function get updatedTime():Number
Constructor Detail
StorageMetadata()Constructor
public function StorageMetadata()

Constructor

Method Detail
fromObject()method
public static function fromObject(data:Object):StorageMetadata

Parameters

data:Object

Returns
StorageMetadata
getCustomMetadata()method 
public function getCustomMetadata(key:String):String

Returns custom metadata for a StorageReference

Parameters

key:String — The key for which the metadata should be returned

Returns
String — the metadata stored in the object the given key or null if it doesn't exist
getCustomMetadataKeys()method 
public function getCustomMetadataKeys():Array

Returns
Array — the keys for custom metadata
setCustomMetadata()method 
public function setCustomMetadata(key:String, value:String):void

Sets custom metadata

Parameters

key:String — the key of the new value
 
value:String — the value to set