Help Center> Object Storage Service> SDK Reference> Go> Data Types> Request Parameter of Initiating a Multipart Upload

Request Parameter of Initiating a Multipart Upload

Type Definition

type InitiateMultipartUploadInput struct

Parameter Description

Field

Type

Optional or Mandatory

Description

Bucket

string

Mandatory

Bucket name

Key

string

Mandatory

Object name

ACL

AclType

Optional

Pre-defined ACL

WebsiteRedirectLocation

string

Optional

Location where the object is redirected to, when the bucket is configured with website hosting.

ContentType

string

Optional

MIME type of the object

SseHeader

SseCHeader

or

SseKmsHeader

Optional

Header for server-side encryption

StorageClass

StorageClassType

Optional

Storage class of the object

Metadata

map[string]string

Optional

Customized metadata of the object

GrantReadId

string

Optional

Grants specific tenants the permission required to read objects and obtain object metadata.

GrantReadAcpId

string

Optional

Grants specific tenants the permission required to obtain the object ACL.

GrantWriteAcpId

string

Optional

Grants specific tenants the permission required to write the object ACL.

GrantFullControlId

string

Optional

Grants specific tenants the permission required to read objects, obtain object metadata, as well as obtain and write the object ACL.

Expires

int64

Optional

Specifies when the object will expire.