• Object Storage Service

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

Response Result of GET Bucket metadata

Namespace

Class

Module

GetBucketMetadataResponse

com.obs.response.get_bucket_metadata_response

Parameter Description

Field

Type

Description

location

str

Bucket location

storageClass

str

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

accessContorlAllowOrigin

str

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

accessContorlAllowHeaders

str

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

accessContorlAllowMethods

str

allowedMethod in the CORS rules of the bucket

accessContorlExposeHeaders

str

exposeHeader in the CORS rules of the bucket

accessContorlMaxAge

int

maxAgeSecond in the CORS rules of the bucket