Enum TransferTypes.MetadataOptions.Acl (1.40.0)

public enum TransferTypes.MetadataOptions.Acl extends Enum<TransferTypes.MetadataOptions.Acl> implements ProtocolMessageEnum

Options for handling Cloud Storage object ACLs.

Protobuf enum google.storagetransfer.v1.MetadataOptions.Acl

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACL_DESTINATION_BUCKET_DEFAULT

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

ACL_DESTINATION_BUCKET_DEFAULT = 1;

ACL_DESTINATION_BUCKET_DEFAULT_VALUE

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

ACL_DESTINATION_BUCKET_DEFAULT = 1;

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 must not be enabled on either the source or destination buckets.

ACL_PRESERVE = 2;

ACL_PRESERVE_VALUE

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.

ACL_PRESERVE = 2;

ACL_UNSPECIFIED

ACL behavior is unspecified.

ACL_UNSPECIFIED = 0;

ACL_UNSPECIFIED_VALUE

ACL behavior is unspecified.

ACL_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()