public static interface Bucket.RetentionPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Timestamp |
getEffectiveTime()
Server-determined value that indicates the time from which policy was
enforced and effective.
|
com.google.protobuf.TimestampOrBuilder |
getEffectiveTimeOrBuilder()
Server-determined value that indicates the time from which policy was
enforced and effective.
|
boolean |
getIsLocked()
Once locked, an object retention policy cannot be modified.
|
long |
getRetentionPeriod()
The duration in seconds that objects need to be retained.
|
boolean |
hasEffectiveTime()
Server-determined value that indicates the time from which policy was
enforced and effective.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasEffectiveTime()
Server-determined value that indicates the time from which policy was enforced and effective. This value is in [https://tools.ietf.org/html/rfc3339][RFC 3339] format.
.google.protobuf.Timestamp effective_time = 1;com.google.protobuf.Timestamp getEffectiveTime()
Server-determined value that indicates the time from which policy was enforced and effective. This value is in [https://tools.ietf.org/html/rfc3339][RFC 3339] format.
.google.protobuf.Timestamp effective_time = 1;com.google.protobuf.TimestampOrBuilder getEffectiveTimeOrBuilder()
Server-determined value that indicates the time from which policy was enforced and effective. This value is in [https://tools.ietf.org/html/rfc3339][RFC 3339] format.
.google.protobuf.Timestamp effective_time = 1;boolean getIsLocked()
Once locked, an object retention policy cannot be modified.
bool is_locked = 2;long getRetentionPeriod()
The duration in seconds that objects need to be retained. Retention duration must be greater than zero and less than 100 years. Note that enforcement of retention periods less than a day is not guaranteed. Such periods should only be used for testing purposes.
int64 retention_period = 3;Copyright © 2021 Google LLC. All rights reserved.