BucketV2Grant

data class BucketV2Grant(val id: String? = null, val permissions: List<String>, val type: String, val uri: String? = null)

Constructors

Link copied to clipboard
constructor(id: String? = null, permissions: List<String>, type: String, uri: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String? = null

Canonical user id to grant for. Used only when type is CanonicalUser.

Link copied to clipboard

List of permissions to apply for grantee. Valid values are READ, WRITE, READ_ACP, WRITE_ACP, FULL_CONTROL.

Link copied to clipboard

Type of grantee to apply for. Valid values are CanonicalUser and Group. AmazonCustomerByEmail is not supported.

Link copied to clipboard
val uri: String? = null

Uri address to grant for. Used only when type is Group.