GetR2BucketLockRule

data class GetR2BucketLockRule(val condition: GetR2BucketLockRuleCondition, val enabled: Boolean, val id: String, val prefix: String)

Constructors

Link copied to clipboard
constructor(condition: GetR2BucketLockRuleCondition, enabled: Boolean, id: String, prefix: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Condition to apply a lock rule to an object for how long in seconds

Link copied to clipboard

Whether or not this rule is in effect

Link copied to clipboard
val id: String

Unique identifier for this rule

Link copied to clipboard

Rule will only apply to objects/uploads in the bucket that start with the given prefix, an empty prefix can be provided to scope rule to all objects/uploads