Response Result of Obtain Object Metadata
Type Definition
type GetObjectMetadataOutput 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 |
|
StorageClass |
Storage class of the object |
|
|
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 |
|
ContentLength |
int64 |
Object size in bytes |
|
ContentType |
string |
MIME type of the object |
|
LastModified |
time.Time |
Time when the last modification was made to the object |
|
ETag |
string |
Object ETag |
|
VersionId |
string |
Object version ID |
|
Restore |
string |
Restore status of the Archive object. If the object is not in the OBS Archive storage class, the value is nil. |
|
Expiration |
string |
Expiration details |
|
SseHeader |
or |
Header for server-side encryption |
|
WebsiteRedirectLocation |
string |
Location where the object is redirected to, when the bucket is configured with website hosting. |
|
Metadata |
map[string]string |
Customized metadata of the object |
Last Article: Request Parameter of GET Bucket metadata
Next Article: Request Parameter of PUT Object acl
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.