Help Center> Object Storage Service> SDK Reference> Go> Data Types> Request Parameters for Modifying an Object

Request Parameters for Modifying an Object

Type Definition

type ModifyObjectInput struct

Parameter Description

Field

Type

Optional or Mandatory

Description

Bucket

string

Mandatory

Bucket name

Key

string

Mandatory

Object name

Position

int64

Mandatory

Position from which the object is modified

ContentLength

int64

Optional

Size of the data to be uploaded

Body

io.Reader

Optional

Data stream of the object to be uploaded