acl property

String? acl
getter/setter pair

Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets.

If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT. Possible string values are:

  • "ACL_UNSPECIFIED" : ACL behavior is unspecified.
  • "ACL_DESTINATION_BUCKET_DEFAULT" : Use the destination bucket's default object ACLS, if applicable.
  • "ACL_PRESERVE" : 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.

Implementation

core.String? acl;