Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetObjectResponse

Hierarchy

  • GetObjectResponse

Properties

archivalState

archivalState: string

Archival state of an object. This field is set only for objects in Archive tier.

cacheControl

cacheControl: string

Cache-Control header, as described in RFC 2616.

contentDisposition

contentDisposition: string

Content-Disposition header, as described in RFC 2616.

contentEncoding

contentEncoding: string

Content-Encoding header, as described in RFC 2616.

contentLanguage

contentLanguage: string

Content-Language header, as described in RFC 2616.

contentLength

contentLength: number

The object size in bytes.

contentMd5

contentMd5: string

Content-MD5 header, as described in RFC 2616. Unavailable for objects uploaded using multipart upload.

contentRange

contentRange: Range

Content-Range header for range requests, per RFC 7233.

contentType

contentType: string

Content-Type header, as described in RFC 2616.

eTag

eTag: string

The entity tag (ETag) for the object.

expires

expires: Date

The date and time after which the object is no longer cached by a browser, proxy, or other caching entity. See RFC 2616.

isNotModified

isNotModified: boolean

Flag to indicate whether or not the object was modified. If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like 'if-match'/'if-none-match').

lastModified

lastModified: Date

The object modification time, as described in RFC 2616.

opcClientRequestId

opcClientRequestId: string

Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.

opcMeta

opcMeta: object

The user-defined metadata for the object.

Type declaration

  • [key: string]: string

opcMultipartMd5

opcMultipartMd5: string

Only applicable to objects uploaded using multipart upload. Base-64 representation of the multipart object hash. The multipart object hash is calculated by taking the MD5 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the MD5 hash of the concatenated values.

opcRequestId

opcRequestId: string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide this request ID.

storageTier

storageTier: string

The storage tier that the object is stored in.

timeOfArchival

timeOfArchival: Date

Time that the object is returned to the archived state. This field is only present for restored objects.

value

value: stream.Readable | ReadableStream

The returned stream.Readable | ReadableStream instance, or null if {@link #isNotModified()} is true.

versionId

versionId: string

VersionId of the object requested