public interface CloudStorageFileAttributes extends BasicFileAttributes
Interface for attributes on a Cloud Storage file or pseudo-directory.
Implements
BasicFileAttributesMethods
acl()
public abstract Optional<List<Acl>> acl()
Returns access control list. See Also: "https://developers.google.com/storage/docs/reference-headers#acl"
Type | Description |
com.google.common.base.Optional<List<com.google.cloud.storage.Acl>> |
cacheControl()
public abstract Optional<String> cacheControl()
Returns Cache-Control
HTTP header value, if set.
See Also: "https://developers.google.com/storage/docs/reference-headers#cachecontrol"
Type | Description |
com.google.common.base.Optional<String> |
contentDisposition()
public abstract Optional<String> contentDisposition()
Returns Content-Disposition
HTTP header value, if set.
See Also: "https://developers.google.com/storage/docs/reference-headers#contentdisposition"
Type | Description |
com.google.common.base.Optional<String> |
contentEncoding()
public abstract Optional<String> contentEncoding()
Returns Content-Encoding
HTTP header value, if set.
See Also: "https://developers.google.com/storage/docs/reference-headers#contentencoding"
Type | Description |
com.google.common.base.Optional<String> |
etag()
public abstract Optional<String> etag()
Returns HTTP etag hash of object contents. See Also: "https://developers.google.com/storage/docs/hashes-etags"
Type | Description |
com.google.common.base.Optional<String> |
mimeType()
public abstract Optional<String> mimeType()
Returns mime type (e.g. text/plain), if set. See Also: "http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types"
Type | Description |
com.google.common.base.Optional<String> |
userMetadata()
public abstract Map<String,String> userMetadata()
Returns user-specified metadata. See Also: "https://developers.google.com/storage/docs/reference-headers#contentdisposition"
Type | Description |
Map<String,String> |