Help Center> OBS GO SDK> API Reference> Data Types> Transition Policy of a Noncurrent Object Version
Updated on 2022-02-10 GMT+08:00

Transition Policy of a Noncurrent Object Version

Type Definition

type NoncurrentVersionTransition struct

Parameter Description

Field

Type

Optional or Mandatory

Description

StorageClass

StorageClassType

Mandatory when used as a request parameter

Storage class of the noncurrent object version after transition

NOTE:

The Standard storage class is not supported.

NoncurrentDays

int

Mandatory when used as a request parameter

Number of days after which an object will be transited since it becomes a noncurrent version. The parameter value must be a positive integer.