StorageMetadata

actual class StorageMetadata(source)

The metadata of an object in Cloud Storage, as the Android SDK's StorageMetadata: the server-set fields are read from a fetched object, the settable fields are built with Builder (chained setters or, from Kotlin, properties: storageMetadata { contentType = "text/plain" }).

expect class StorageMetadata(source)

The metadata of an object in Cloud Storage, as the Android SDK's StorageMetadata: the server-set fields are read from a fetched object, the settable fields are built with Builder (chained setters or, from Kotlin, properties: storageMetadata { contentType = "text/plain" }).

actual class StorageMetadata(source)

The metadata of an object in Cloud Storage, as the Android SDK's StorageMetadata: the server-set fields are read from a fetched object, the settable fields are built with Builder (chained setters or, from Kotlin, properties: storageMetadata { contentType = "text/plain" }).

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
actual constructor()

Types

Link copied to clipboard
actual class Builder

Builds the settable metadata, from scratch or from an existing StorageMetadata.

expect class Builder

Builds the settable metadata, from scratch or from an existing StorageMetadata.

actual class Builder

Builds the settable metadata, from scratch or from an existing StorageMetadata.

Properties

Link copied to clipboard
actual val bucket: String?

The bucket, once fetched.

expect val bucket: String?

The bucket, once fetched.

actual val bucket: String?

The bucket, once fetched.

Link copied to clipboard
actual val cacheControl: String?

The Cache-Control header.

expect val cacheControl: String?

The Cache-Control header.

actual val cacheControl: String?

The Cache-Control header.

Link copied to clipboard

The Content-Disposition header.

The Content-Disposition header.

The Content-Disposition header.

Link copied to clipboard
actual val contentEncoding: String?

The Content-Encoding header.

expect val contentEncoding: String?

The Content-Encoding header.

actual val contentEncoding: String?

The Content-Encoding header.

Link copied to clipboard
actual val contentLanguage: String?

The Content-Language header.

expect val contentLanguage: String?

The Content-Language header.

actual val contentLanguage: String?

The Content-Language header.

Link copied to clipboard
actual val contentType: String?

The Content-Type header.

expect val contentType: String?

The Content-Type header.

actual val contentType: String?

The Content-Type header.

Link copied to clipboard

When the object was created, in milliseconds since the epoch; 0 until fetched.

When the object was created, in milliseconds since the epoch; 0 until fetched.

When the object was created, in milliseconds since the epoch; 0 until fetched.

Link copied to clipboard

The keys of the custom metadata.

The keys of the custom metadata.

The keys of the custom metadata.

Link copied to clipboard
actual val generation: String?

The object's generation, once fetched.

expect val generation: String?

The object's generation, once fetched.

actual val generation: String?

The object's generation, once fetched.

Link copied to clipboard
actual val md5Hash: String?

The MD5 hash of the content, once fetched.

expect val md5Hash: String?

The MD5 hash of the content, once fetched.

actual val md5Hash: String?

The MD5 hash of the content, once fetched.

Link copied to clipboard

The metadata's generation, once fetched.

The metadata's generation, once fetched.

The metadata's generation, once fetched.

Link copied to clipboard
actual val name: String?

The object's name (the last path segment), once fetched.

expect val name: String?

The object's name (the last path segment), once fetched.

actual val name: String?

The object's name (the last path segment), once fetched.

Link copied to clipboard
actual val path: String

The object's full path; empty until fetched.

expect val path: String

The object's full path; empty until fetched.

actual val path: String

The object's full path; empty until fetched.

Link copied to clipboard

The reference of the object, once fetched.

The reference of the object, once fetched.

The reference of the object, once fetched.

Link copied to clipboard
actual val sizeBytes: Long

The size in bytes; 0 until fetched.

expect val sizeBytes: Long

The size in bytes; 0 until fetched.

actual val sizeBytes: Long

The size in bytes; 0 until fetched.

Link copied to clipboard

When the object was last updated, in milliseconds since the epoch; 0 until fetched.

When the object was last updated, in milliseconds since the epoch; 0 until fetched.

When the object was last updated, in milliseconds since the epoch; 0 until fetched.

Functions

Link copied to clipboard
actual fun getCustomMetadata(key: String): String?

The custom metadata value of key, or null if it is not set.

expect fun getCustomMetadata(key: String): String?

The custom metadata value of key, or null if it is not set.

actual fun getCustomMetadata(key: String): String?

The custom metadata value of key, or null if it is not set.

Link copied to clipboard
open override fun toString(): String