• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Python SDK)
  4. Data Types
  5. Response Result of Obtain Object Metadata

Response Result of Obtain Object Metadata

Namespace

Class

Module

GetObjectMetadataResponse

com.obs.response.get_object_metadata_response

Parameter Description

Field

Type

Description

storageClass

str

Storage class of the object. When the storage class is OBS Standard, the value is None.

accessContorlAllowOrigin

str

If origin in the request meets the CORS rules of the server, allowedOrigin in the CORS rules is returned.

accessContorlAllowHeaders

str

If requestHeaders in the request meets the CORS rules of the server, allowedHeader in the CORS rules is returned.

accessContorlAllowMethods

str

allowedMethod in the CORS rules of the server

accessContorlExposeHeaders

str

exposeHeader in the CORS rules of the server

accessContorlMaxAge

int

maxAgeSecond in the CORS rules of the server

contentLength

int

Object size in bytes

contentType

str

MIME type of the object

lastModified

str

Time when the last modification was made to the object

etag

str

Object ETag

versionId

str

Object version ID

restore

str

Restore status of the object in the OBS Cold storage class. If the object is not in the OBS Cold storage class, the value is None.

expiration

str

Expiration details

sseKms

str

SSE-KMS algorithm

sseKmsKey

str

Master key used in SSE-KMS decryption

sseC

str

SSE-C algorithm

sseCKeyMd5

str

MD5 value of the key used in SSE-C decryption

websiteRedirectLocation

str

Location where the object is redirected to, when the bucket is configured with website hosting.