Google Cloud Storage Transfer V1 Client - Class Acl (2.0.1)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class Acl.

Options for handling Cloud Storage object ACLs.

Protobuf type google.storagetransfer.v1.MetadataOptions.Acl

Namespace

Google \ Cloud \ StorageTransfer \ V1 \ MetadataOptions

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ACL_UNSPECIFIED

Value: 0

ACL behavior is unspecified.

Generated from protobuf enum ACL_UNSPECIFIED = 0;

ACL_DESTINATION_BUCKET_DEFAULT

Value: 1

Use the destination bucket's default object ACLS, if applicable.

Generated from protobuf enum ACL_DESTINATION_BUCKET_DEFAULT = 1;

ACL_PRESERVE

Value: 2

Preserve the object's original ACLs. This requires the service account to have storage.objects.getIamPolicy permission for the source object.

Uniform bucket-level access must not be enabled on either the source or destination buckets.

Generated from protobuf enum ACL_PRESERVE = 2;