Help Center> OBS GO SDK> API Reference> Data Types> Versioning Object in a Bucket
Updated on 2022-02-10 GMT+08:00

Versioning Object in a Bucket

Type Definition

type Version struct

Parameter Description

Field

Type

Description

Key

string

Object name

VersionId

string

Object version ID

LastModified

time.Time

Time when the last modification was made to the object

ETag

string

MD5 value of the object

Size

int64

Object size in bytes

Owner

Owner

Object owner

StorageClass

StorageClassType

Storage class of the object

IsLatest

bool

Whether the object is of the latest version. If the parameter value is True, the object is of the latest version.