Properties | |||
---|---|---|---|
Bucket | string Returns | the owning Google Cloud Storage bucket for the StorageReference | |
CacheControl | string Returns | the Cache Control setting of the StorageReference | |
ContentDisposition | string Returns | the content disposition of the StorageReference | |
ContentEncoding | string Returns | the content encoding for the StorageReference | |
ContentLanguage | string Returns | the content language for the StorageReference | |
ContentType | string Returns | the content type of the StorageReference | |
CreationTimeMillis | DateTime Returns | the time the StorageReference was created. | |
CustomMetadataKeys | IEnumerable< string > Returns | the keys for custom metadata. | |
Generation | string Returns | a version String indicating what version of the StorageReference | |
Md5Hash | string Returns | the MD5Hash of the StorageReference object | |
MetadataGeneration | string Returns | a version String indicating the version of this StorageMetadata | |
Name | string Returns | a simple name of the StorageReference object | |
Path | string Returns | the path of the StorageReference object | |
Reference | Returns | the associated StorageReference for which this metadata belongs to. | |
SizeBytes | long Returns | the stored Size in bytes of the StorageReference object | |
UpdatedTimeMillis | DateTime Returns | the time the StorageReference was last updated. |
Public functions | |
---|---|
GetCustomMetadata(string key) | string Returns custom metadata for a StorageReference |
stringContentDisposition
Details | |
---|---|
Returns | the content disposition of the StorageReference |
DateTimeCreationTimeMillis
Details | |
---|---|
Returns | the time the StorageReference was created. |
IEnumerable<string>CustomMetadataKeys
Details | |
---|---|
Returns | the keys for custom metadata. |
stringGeneration
Details | |
---|---|
Returns | a version String indicating what version of the StorageReference |
stringMetadataGeneration
Details | |
---|---|
Returns | a version String indicating the version of this StorageMetadata |
StorageReferenceReference
Details | |
---|---|
Returns | the associated StorageReference for which this metadata belongs to. |
DateTimeUpdatedTimeMillis
Details | |
---|---|
Returns | the time the StorageReference was last updated. |
stringGetCustomMetadata(stringkey)
Returns custom metadata for a StorageReference
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | the metadata stored in the object the given key. |
StorageMetadata()
Creates a StorageMetadata object to hold metadata for a StorageReference
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.