GetBucketObjectResult

data class GetBucketObjectResult(val bucket: String? = null, val cacheControl: String, val content: String, val contentDisposition: String, val contentEncoding: String, val contentLanguage: String, val contentType: String, val crc32c: String, val customerEncryptions: List<GetBucketObjectCustomerEncryption>, val detectMd5hash: String, val eventBasedHold: Boolean, val id: String, val kmsKeyName: String, val md5hash: String, val mediaLink: String, val metadata: Map<String, String>, val name: String? = null, val outputName: String, val selfLink: String, val source: String, val storageClass: String, val temporaryHold: Boolean)

A collection of values returned by getBucketObject.

Constructors

Link copied to clipboard
constructor(bucket: String? = null, cacheControl: String, content: String, contentDisposition: String, contentEncoding: String, contentLanguage: String, contentType: String, crc32c: String, customerEncryptions: List<GetBucketObjectCustomerEncryption>, detectMd5hash: String, eventBasedHold: Boolean, id: String, kmsKeyName: String, md5hash: String, mediaLink: String, metadata: Map<String, String>, name: String? = null, outputName: String, selfLink: String, source: String, storageClass: String, temporaryHold: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bucket: String? = null
Link copied to clipboard

(Computed) Cache-Control directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600

Link copied to clipboard
Link copied to clipboard

(Computed) Content-Disposition of the object data.

Link copied to clipboard

(Computed) Content-Encoding of the object data.

Link copied to clipboard

(Computed) Content-Language of the object data.

Link copied to clipboard

(Computed) Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".

Link copied to clipboard

(Computed) Base 64 CRC32 hash of the uploaded data.

Link copied to clipboard
Link copied to clipboard

(Computed) Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard
Link copied to clipboard

(Computed) Base 64 MD5 hash of the uploaded data.

Link copied to clipboard

(Computed) A url reference to download this object.

Link copied to clipboard
Link copied to clipboard
val name: String? = null
Link copied to clipboard
Link copied to clipboard

(Computed) A url reference to this object.

Link copied to clipboard
Link copied to clipboard

(Computed) The StorageClass of the new bucket object. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default storage class or to a standard class.

Link copied to clipboard

(Computed) Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.