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

Request Parameter of PUT Object acl

Type Definition

type SetObjectAclInput struct

Parameter Description

Field

Type

Optional or Mandatory

Description

Bucket

string

Mandatory

Bucket name

Key

string

Mandatory

Object name

VersionId

string

Optional

Object version ID

ACL

AclType

Optional

Pre-defined ACL

Owner

Owner

Optional

Object owner

Grants

[]Grant

Optional

Grantees' ACL information

Owner and Grants must be used together and they cannot be used with ACL.