Class MetadataOptions
Specifies the metadata options for running a transfer.
Implements
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1.Data
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class MetadataOptions : IDirectResponseSchema
Properties
Acl
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.
Declaration
[JsonProperty("acl")]
public virtual string Acl { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Gid
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.
Declaration
[JsonProperty("gid")]
public virtual string Gid { get; set; }
Property Value
Type | Description |
---|---|
string |
KmsKey
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.
Declaration
[JsonProperty("kmsKey")]
public virtual string KmsKey { get; set; }
Property Value
Type | Description |
---|---|
string |
Mode
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.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageClass
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.
Declaration
[JsonProperty("storageClass")]
public virtual string StorageClass { get; set; }
Property Value
Type | Description |
---|---|
string |
Symlink
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.
Declaration
[JsonProperty("symlink")]
public virtual string Symlink { get; set; }
Property Value
Type | Description |
---|---|
string |
TemporaryHold
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.
Declaration
[JsonProperty("temporaryHold")]
public virtual string TemporaryHold { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeCreated
Specifies how each object's timeCreated
metadata is preserved for transfers. If unspecified, the default
behavior is the same as TIME_CREATED_SKIP. This behavior is supported for transfers to Cloud Storage buckets
from Cloud Storage, Amazon S3, S3-compatible storage, and Azure sources.
Declaration
[JsonProperty("timeCreated")]
public virtual string TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
string |
Uid
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.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |