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.Flags
AbstractMap.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.
|
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 |
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 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.GenericJson
public BulkRestoreObjectsRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.