MetadataOptionsArgs

data class MetadataOptionsArgs(val acl: Output<MetadataOptionsAcl>? = null, val gid: Output<MetadataOptionsGid>? = null, val kmsKey: Output<MetadataOptionsKmsKey>? = null, val mode: Output<MetadataOptionsMode>? = null, val storageClass: Output<MetadataOptionsStorageClass>? = null, val symlink: Output<MetadataOptionsSymlink>? = null, val temporaryHold: Output<MetadataOptionsTemporaryHold>? = null, val timeCreated: Output<MetadataOptionsTimeCreated>? = null, val uid: Output<MetadataOptionsUid>? = null) : ConvertibleToJava<MetadataOptionsArgs>

Specifies the metadata options for running a transfer.

Constructors

Link copied to clipboard
fun MetadataOptionsArgs(acl: Output<MetadataOptionsAcl>? = null, gid: Output<MetadataOptionsGid>? = null, kmsKey: Output<MetadataOptionsKmsKey>? = null, mode: Output<MetadataOptionsMode>? = null, storageClass: Output<MetadataOptionsStorageClass>? = null, symlink: Output<MetadataOptionsSymlink>? = null, temporaryHold: Output<MetadataOptionsTemporaryHold>? = null, timeCreated: Output<MetadataOptionsTimeCreated>? = null, uid: Output<MetadataOptionsUid>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MetadataOptionsArgs

Properties

Link copied to clipboard
val acl: Output<MetadataOptionsAcl>? = null

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.

Link copied to clipboard
val gid: Output<MetadataOptionsGid>? = null

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.

Link copied to clipboard
val kmsKey: Output<MetadataOptionsKmsKey>? = null

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.

Link copied to clipboard
val mode: Output<MetadataOptionsMode>? = null

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.

Link copied to clipboard

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.

Link copied to clipboard
val symlink: Output<MetadataOptionsSymlink>? = null

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.

Link copied to clipboard

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.

Link copied to clipboard

Specifies how each object's timeCreated metadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TIME_CREATED_SKIP.

Link copied to clipboard
val uid: Output<MetadataOptionsUid>? = null

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.