BucketSoftDeletePolicy class
Constructors
-
BucketSoftDeletePolicy({Input<String?>? effectiveTime, Input<int?>? retentionDurationSeconds})
-
Creates a new BucketSoftDeletePolicy.
effectiveTime Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
retentionDurationSeconds The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). Note: To disable the soft delete policy on a bucket, This field must be set to 0.
const
-
BucketSoftDeletePolicy.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
effectiveTime
→ Input<String?>?
-
Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
retentionDurationSeconds
→ Input<int?>?
-
The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted. Default value is 604800. The value must be in between 604800(7 days) and 7776000(90 days). Note: To disable the soft delete policy on a bucket, This field must be set to 0.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited