GetSpacesBucketObjectResult

data class GetSpacesBucketObjectResult(val body: String, val bucket: String, val cacheControl: String, val contentDisposition: String, val contentEncoding: String, val contentLanguage: String, val contentLength: Int, val contentType: String, val etag: String, val expiration: String, val expires: String, val id: String, val key: String, val lastModified: String, val metadata: Map<String, String>, val range: String? = null, val region: String, val versionId: String, val websiteRedirectLocation: String)

A collection of values returned by getSpacesBucketObject.

Constructors

Link copied to clipboard
constructor(body: String, bucket: String, cacheControl: String, contentDisposition: String, contentEncoding: String, contentLanguage: String, contentLength: Int, contentType: String, etag: String, expiration: String, expires: String, id: String, key: String, lastModified: String, metadata: Map<String, String>, range: String? = null, region: String, versionId: String, websiteRedirectLocation: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Object data (see limitations above to understand cases in which this field is actually available)

Link copied to clipboard
Link copied to clipboard

Specifies caching behavior along the request/reply chain.

Link copied to clipboard

Specifies presentational information for the object.

Link copied to clipboard

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

Link copied to clipboard

The language the content is in.

Link copied to clipboard

Size of the body in bytes.

Link copied to clipboard

A standard MIME type describing the format of the object data.

Link copied to clipboard

ETag generated for the object (an MD5 sum of the object content in case it's not encrypted)

Link copied to clipboard

If the object expiration is configured (see object lifecycle management), the field includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.

Link copied to clipboard

The date and time at which the object is no longer cacheable.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard
val key: String
Link copied to clipboard

Last modified date of the object in RFC1123 format (e.g. Mon, 02 Jan 2006 15:04:05 MST)

Link copied to clipboard

A map of metadata stored with the object in Spaces

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

The latest version ID of the object returned.

Link copied to clipboard

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Spaces stores the value of this header in the object metadata.