MetadataOptions class
Specifies the metadata options for running a transfer.
Constructors
-
MetadataOptions({Input<
MetadataOptionsAcl> ? acl, Input<MetadataOptionsGid> ? gid, Input<MetadataOptionsKmsKey> ? kmsKey, Input<MetadataOptionsMode> ? mode, Input<MetadataOptionsStorageClass> ? storageClass, Input<MetadataOptionsSymlink> ? symlink, Input<MetadataOptionsTemporaryHold> ? temporaryHold, Input<MetadataOptionsTimeCreated> ? timeCreated, Input<MetadataOptionsUid> ? uid}) -
Creates a new MetadataOptions.
aclSpecifies 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.gidSpecifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.kmsKeySpecifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as KMS_KEY_DESTINATION_BUCKET_DEFAULT.modeSpecifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.storageClassSpecifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT.symlinkSpecifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.temporaryHoldSpecifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TEMPORARY_HOLD_PRESERVE.timeCreatedSpecifies how each object'stimeCreatedmetadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TIME_CREATED_SKIP.uidSpecifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.const -
MetadataOptions.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
acl
→ Input<
MetadataOptionsAcl> ? -
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.
final
-
gid
→ Input<
MetadataOptionsGid> ? -
Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKey
→ Input<
MetadataOptionsKmsKey> ? -
Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as KMS_KEY_DESTINATION_BUCKET_DEFAULT.
final
-
mode
→ Input<
MetadataOptionsMode> ? -
Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageClass
→ Input<
MetadataOptionsStorageClass> ? -
Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT.
final
-
symlink
→ Input<
MetadataOptionsSymlink> ? -
Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
final
-
temporaryHold
→ Input<
MetadataOptionsTemporaryHold> ? -
Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TEMPORARY_HOLD_PRESERVE.
final
-
timeCreated
→ Input<
MetadataOptionsTimeCreated> ? -
Specifies how each object's
timeCreatedmetadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TIME_CREATED_SKIP.final -
uid
→ Input<
MetadataOptionsUid> ? -
Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited