public final class BulkRestoreObjectsRequest
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 Cloud Storage JSON 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 |
|---|
BulkRestoreObjectsRequest() |
| Modifier and Type | Method and Description |
|---|---|
BulkRestoreObjectsRequest |
clone() |
Boolean |
getAllowOverwrite()
If false (default), the restore will not overwrite live objects with the same name at the
destination.
|
Boolean |
getCopySourceAcl()
If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL.
|
com.google.api.client.util.DateTime |
getCreatedAfterTime()
Restores only the objects that were created after this time.
|
com.google.api.client.util.DateTime |
getCreatedBeforeTime()
Restores only the objects that were created before this time.
|
List<String> |
getMatchGlobs()
Restores only the objects matching any of the specified glob(s).
|
com.google.api.client.util.DateTime |
getSoftDeletedAfterTime()
Restores only the objects that were soft-deleted after this time.
|
com.google.api.client.util.DateTime |
getSoftDeletedBeforeTime()
Restores only the objects that were soft-deleted before this time.
|
BulkRestoreObjectsRequest |
set(String fieldName,
Object value) |
BulkRestoreObjectsRequest |
setAllowOverwrite(Boolean allowOverwrite)
If false (default), the restore will not overwrite live objects with the same name at the
destination.
|
BulkRestoreObjectsRequest |
setCopySourceAcl(Boolean copySourceAcl)
If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL.
|
BulkRestoreObjectsRequest |
setCreatedAfterTime(com.google.api.client.util.DateTime createdAfterTime)
Restores only the objects that were created after this time.
|
BulkRestoreObjectsRequest |
setCreatedBeforeTime(com.google.api.client.util.DateTime createdBeforeTime)
Restores only the objects that were created before this time.
|
BulkRestoreObjectsRequest |
setMatchGlobs(List<String> matchGlobs)
Restores only the objects matching any of the specified glob(s).
|
BulkRestoreObjectsRequest |
setSoftDeletedAfterTime(com.google.api.client.util.DateTime softDeletedAfterTime)
Restores only the objects that were soft-deleted after this time.
|
BulkRestoreObjectsRequest |
setSoftDeletedBeforeTime(com.google.api.client.util.DateTime softDeletedBeforeTime)
Restores only the objects that were soft-deleted before this time.
|
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 Boolean getAllowOverwrite()
null for nonepublic BulkRestoreObjectsRequest setAllowOverwrite(Boolean allowOverwrite)
allowOverwrite - allowOverwrite or null for nonepublic Boolean getCopySourceAcl()
null for nonepublic BulkRestoreObjectsRequest setCopySourceAcl(Boolean copySourceAcl)
copySourceAcl - copySourceAcl or null for nonepublic com.google.api.client.util.DateTime getCreatedAfterTime()
null for nonepublic BulkRestoreObjectsRequest setCreatedAfterTime(com.google.api.client.util.DateTime createdAfterTime)
createdAfterTime - createdAfterTime or null for nonepublic com.google.api.client.util.DateTime getCreatedBeforeTime()
null for nonepublic BulkRestoreObjectsRequest setCreatedBeforeTime(com.google.api.client.util.DateTime createdBeforeTime)
createdBeforeTime - createdBeforeTime or null for nonepublic List<String> getMatchGlobs()
null for nonepublic BulkRestoreObjectsRequest setMatchGlobs(List<String> matchGlobs)
matchGlobs - matchGlobs or null for nonepublic com.google.api.client.util.DateTime getSoftDeletedAfterTime()
null for nonepublic BulkRestoreObjectsRequest setSoftDeletedAfterTime(com.google.api.client.util.DateTime softDeletedAfterTime)
softDeletedAfterTime - softDeletedAfterTime or null for nonepublic com.google.api.client.util.DateTime getSoftDeletedBeforeTime()
null for nonepublic BulkRestoreObjectsRequest setSoftDeletedBeforeTime(com.google.api.client.util.DateTime softDeletedBeforeTime)
softDeletedBeforeTime - softDeletedBeforeTime or null for nonepublic BulkRestoreObjectsRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BulkRestoreObjectsRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.