Collection Spec
class CollectionSpec(val scopeName: String, val name: String, val maxExpiry: Duration? = null, val history: Boolean? = null)
Information about a collection.
Properties
Link copied to clipboard
Maximum expiry for documents in the collection. Null means the collection's max expiry is always the same as the bucket's max expiry. A duration equal to NEVER_EXPIRE (-1 seconds) means documents in the collection never expire, regardless of the bucket's max expiry.