public final class MetadataOptions
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Storage Transfer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MetadataOptions() |
| Modifier and Type | Method and Description |
|---|---|
MetadataOptions |
clone() |
String |
getAcl()
Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage
buckets.
|
String |
getGid()
Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
|
String |
getKmsKey()
Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for
transfers between Google Cloud Storage buckets.
|
String |
getMode()
Specifies how each file's mode attribute should be handled by the transfer.
|
String |
getStorageClass()
Specifies the storage class to set on objects being transferred to Google Cloud Storage
buckets.
|
String |
getSymlink()
Specifies how symlinks should be handled by the transfer.
|
String |
getTemporaryHold()
Specifies how each object's temporary hold status should be preserved for transfers between
Google Cloud Storage buckets.
|
String |
getTimeCreated()
Specifies how each object's `timeCreated` metadata is preserved for transfers.
|
String |
getUid()
Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
|
MetadataOptions |
set(String fieldName,
Object value) |
MetadataOptions |
setAcl(String acl)
Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage
buckets.
|
MetadataOptions |
setGid(String gid)
Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer.
|
MetadataOptions |
setKmsKey(String kmsKey)
Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for
transfers between Google Cloud Storage buckets.
|
MetadataOptions |
setMode(String mode)
Specifies how each file's mode attribute should be handled by the transfer.
|
MetadataOptions |
setStorageClass(String storageClass)
Specifies the storage class to set on objects being transferred to Google Cloud Storage
buckets.
|
MetadataOptions |
setSymlink(String symlink)
Specifies how symlinks should be handled by the transfer.
|
MetadataOptions |
setTemporaryHold(String temporaryHold)
Specifies how each object's temporary hold status should be preserved for transfers between
Google Cloud Storage buckets.
|
MetadataOptions |
setTimeCreated(String timeCreated)
Specifies how each object's `timeCreated` metadata is preserved for transfers.
|
MetadataOptions |
setUid(String uid)
Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAcl()
null for nonepublic MetadataOptions setAcl(String acl)
acl - acl or null for nonepublic String getGid()
null for nonepublic MetadataOptions setGid(String gid)
gid - gid or null for nonepublic String getKmsKey()
null for nonepublic MetadataOptions setKmsKey(String kmsKey)
kmsKey - kmsKey or null for nonepublic String getMode()
null for nonepublic MetadataOptions setMode(String mode)
mode - mode or null for nonepublic String getStorageClass()
null for nonepublic MetadataOptions setStorageClass(String storageClass)
storageClass - storageClass or null for nonepublic String getSymlink()
null for nonepublic MetadataOptions setSymlink(String symlink)
symlink - symlink or null for nonepublic String getTemporaryHold()
null for nonepublic MetadataOptions setTemporaryHold(String temporaryHold)
temporaryHold - temporaryHold or null for nonepublic String getTimeCreated()
null for nonepublic MetadataOptions setTimeCreated(String timeCreated)
timeCreated - timeCreated or null for nonepublic String getUid()
null for nonepublic MetadataOptions setUid(String uid)
uid - uid or null for nonepublic MetadataOptions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MetadataOptions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.