Firebase.
  Metadata for a StorageReference Metadata stores default attributes such as size and content type.
Summary
You may also store custom metadata key value pairs. Metadata values may be used to authorize operations using declarative validation rules. This class is readonly. To create or change metadata, use MetadataChange.
| Constructors and Destructors | |
|---|---|
| StorageMetadata()Creates a StorageMetadata object to hold metadata for a StorageReference | 
| Properties | |||
|---|---|---|---|
| Bucket | stringReturns |  | the owning Google Cloud Storage bucket for the StorageReference | 
| CacheControl | stringReturns |  | the Cache Control setting of the StorageReference | 
| ContentDisposition | stringReturns |  | the content disposition of the StorageReference | 
| ContentEncoding | stringReturns |  | the content encoding for the StorageReference | 
| ContentLanguage | stringReturns |  | the content language for the StorageReference | 
| ContentType | stringReturns |  | the content type of the StorageReference | 
| CreationTimeMillis | DateTimeReturns |  | the time the StorageReference was created.  | 
| CustomMetadataKeys | IEnumerable< string >Returns |  | the keys for custom metadata. | 
| Generation | stringReturns |  | a version String indicating what version of the StorageReference | 
| Md5Hash | stringReturns |  | the MD5Hash of the StorageReference object  | 
| MetadataGeneration | stringReturns |  | a version String indicating the version of this StorageMetadata | 
| Name | stringReturns |  | a simple name of the StorageReference object  | 
| Path | stringReturns |  | the path of the StorageReference object  | 
| Reference | | Returns |  | the associated StorageReference for which this metadata belongs to.  | 
| SizeBytes | longReturns |  | the stored Size in bytes of the StorageReference object  | 
| UpdatedTimeMillis | DateTimeReturns |  | the time the StorageReference was last updated.  | 
| Public functions | |
|---|---|
| GetCustomMetadata(string key) | stringReturns custom metadata for a StorageReference | 
Properties
Bucket
string Bucket
| Details | |
|---|---|
| Returns | the owning Google Cloud Storage bucket for the StorageReference | 
ContentDisposition
string ContentDisposition
| Details | |
|---|---|
| Returns | the content disposition of the StorageReference | 
ContentEncoding
string ContentEncoding
| Details | |
|---|---|
| Returns | the content encoding for the StorageReference | 
ContentLanguage
string ContentLanguage
| Details | |
|---|---|
| Returns | the content language for the StorageReference | 
CreationTimeMillis
DateTime CreationTimeMillis
| Details | |
|---|---|
| Returns | the time the StorageReference was created.  | 
CustomMetadataKeys
IEnumerable< string > CustomMetadataKeys
| Details | |
|---|---|
| Returns | the keys for custom metadata. | 
Generation
string Generation
| Details | |
|---|---|
| Returns | a version String indicating what version of the StorageReference | 
MetadataGeneration
string MetadataGeneration
| Details | |
|---|---|
| Returns | a version String indicating the version of this StorageMetadata | 
Reference
StorageReference Reference
| Details | |
|---|---|
| Returns | the associated StorageReference for which this metadata belongs to.  | 
UpdatedTimeMillis
DateTime UpdatedTimeMillis
| Details | |
|---|---|
| Returns | the time the StorageReference was last updated.  | 
Public functions
GetCustomMetadata
string GetCustomMetadata( string key )
Returns custom metadata for a StorageReference
| Details | |||
|---|---|---|---|
| Parameters | 
 | ||
| Returns | the metadata stored in the object the given key. | 
StorageMetadata
StorageMetadata()
Creates a StorageMetadata object to hold metadata for a StorageReference