Help Center> OBS GO SDK> API Reference> Data Types> Request Parameter of PUT Part - Copy
Updated on 2022-02-10 GMT+08:00

Request Parameter of PUT Part - Copy

Type Definition

type CopyPartInput struct

Parameter Description

Field

Type

Optional or Mandatory

Description

Bucket

string

Mandatory

Target bucket name

Key

string

Mandatory

Target object name

PartNumber

int

Mandatory

Part number, which ranges from 1 to 10000

UploadId

string

Mandatory

Multipart upload ID

CopySourceBucket

string

Mandatory

Source bucket name

CopySourceKey

string

Mandatory

Source object name

CopySourceVersionId

string

Optional

Source object version ID

CopySourceRangeStart

int64

Optional

Start position for object copy. The value is a non-negative integer.

CopySourceRangeEnd

int64

Optional

Endpoint for object copy. If the value is larger than the source object length minus 1, the actual object length = Source object length - 1.

SseHeader

SseCHeader

Optional

Header for server-side encryption. It is used to encrypt the target object.

SourceSseHeader

SseCHeader

Optional

Header for server-side decryption. It is used to decrypt the source object.