Help Center> OBS GO SDK> API Reference> Data Types> Response Result of GET Bucket metadata
Updated on 2022-02-10 GMT+08:00

Response Result of GET Bucket metadata

Type Definition

type GetBucketMetadataOutput struct

Parameter Description

Field

Type

Description

StatusCode

int

HTTP status code

RequestId

string

Request ID returned by the OBS server

ResponseHeaders

map[string][]string

HTTP response headers

Location

string

Bucket location

StorageClass

StorageClassType

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

AllowOrigin

string

If Origin in the request meets the CORS rules of the bucket, AllowedOrigin in the CORS rules is returned.

AllowHeader

string

If RequestHeader in the request meets the CORS rules of the bucket, AllowedHeader in the CORS rules is returned.

AllowMethod

string

AllowedMethod in the CORS rules of the bucket

ExposeHeader

string

ExposeHeader in the CORS rules of the bucket

MaxAgeSeconds

int

MaxAgeSeconds in the CORS rules of the bucket