Updated on 2022-02-10 GMT+08:00

Object in a Bucket

Type Definition

type Content struct

Parameter Description

Field

Type

Description

Key

string

Object name

LastModified

time.Time

Time when the last modification was made to the object

ETag

string

MD5 value of the object (If the object is encrypted using server-side encryption, the ETag is not the MD5 value of the object.)

Size

int64

Object size in bytes

Owner

Owner

Object owner

StorageClass

string

Storage class of the object