public static final class Bucket.SoftDeletePolicy
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SoftDeletePolicy() |
| Modifier and Type | Method and Description |
|---|---|
Bucket.SoftDeletePolicy |
clone() |
com.google.api.client.util.DateTime |
getEffectiveTime()
Server-determined value that indicates the time from which the policy, or one with a greater
retention, was effective.
|
Long |
getRetentionDurationSeconds()
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be
permanently deleted.
|
Bucket.SoftDeletePolicy |
set(String fieldName,
Object value) |
Bucket.SoftDeletePolicy |
setEffectiveTime(com.google.api.client.util.DateTime effectiveTime)
Server-determined value that indicates the time from which the policy, or one with a greater
retention, was effective.
|
Bucket.SoftDeletePolicy |
setRetentionDurationSeconds(Long retentionDurationSeconds)
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be
permanently deleted.
|
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 com.google.api.client.util.DateTime getEffectiveTime()
null for nonepublic Bucket.SoftDeletePolicy setEffectiveTime(com.google.api.client.util.DateTime effectiveTime)
effectiveTime - effectiveTime or null for nonepublic Long getRetentionDurationSeconds()
null for nonepublic Bucket.SoftDeletePolicy setRetentionDurationSeconds(Long retentionDurationSeconds)
retentionDurationSeconds - retentionDurationSeconds or null for nonepublic Bucket.SoftDeletePolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Bucket.SoftDeletePolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.