Also: Google Play
services
public class StorageMetadata extends Object
Metadata for a StorageReference
.
Metadata stores default attributes such as size and content type. You may also store custom
metadata key value pairs. Metadata values may be used to authorize operations using
declarative validation rules.
Nested Class Summary
class | StorageMetadata.Builder | Creates a StorageMetadata object. |
Public Constructor Summary
StorageMetadata()
Creates a
StorageMetadata
object to hold metadata for a StorageReference
|
Public Method Summary
String | |
String | |
String | |
String | |
String | |
String | |
long | |
String | |
Set<String> | |
String | |
String | |
String | |
String |
getName()
|
String |
getPath()
|
StorageReference | |
long | |
long |
Inherited Method Summary
Public Constructors
public StorageMetadata ()
Also:
Google Play services
Creates a StorageMetadata
object to hold metadata for a StorageReference
Public Methods
public String getBucket ()
Also: Google
Play services
Returns
- the owning Google Cloud Storage bucket for the
StorageReference
public String getCacheControl ()
Also:
Google Play services
Returns
- the Cache Control setting of the
StorageReference
public String getContentDisposition ()
Also:
Google Play services
Returns
- the content disposition of the
StorageReference
public String getContentEncoding ()
Also:
Google Play services
Returns
- the content encoding for the
StorageReference