RepositoryCleanupPolicy

data class RepositoryCleanupPolicy(val action: String? = null, val condition: RepositoryCleanupPolicyCondition? = null, val id: String, val mostRecentVersions: RepositoryCleanupPolicyMostRecentVersions? = null)

Constructors

Link copied to clipboard
constructor(action: String? = null, condition: RepositoryCleanupPolicyCondition? = null, id: String, mostRecentVersions: RepositoryCleanupPolicyMostRecentVersions? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val action: String? = null

Policy action. Possible values are: DELETE, KEEP.

Link copied to clipboard

Policy condition for matching versions. Structure is documented below.

Link copied to clipboard
val id: String

The identifier for this object. Format specified above.

Link copied to clipboard

Policy condition for retaining a minimum number of versions. May only be specified with a Keep action. Structure is documented below.