# Google Cloud Storage Transfer V1 Client - Class Acl (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 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](https://cloud.google.com/storage/docs/uniform-bucket-level-access)
must not be enabled on either the source or destination buckets.

Generated from protobuf enum `ACL_PRESERVE = 2;`