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 \ MetadataOptionsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
ACL_UNSPECIFIED
Value: 0ACL behavior is unspecified.
Generated from protobuf enum ACL_UNSPECIFIED = 0;
ACL_DESTINATION_BUCKET_DEFAULT
Value: 1Use the destination bucket's default object ACLS, if applicable.
Generated from protobuf enum ACL_DESTINATION_BUCKET_DEFAULT = 1;
ACL_PRESERVE
Value: 2Preserve 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;