Class CleanupPolicyMostRecentVersions (1.10.0)

CleanupPolicyMostRecentVersions(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
package_name_prefixes MutableSequence[str]
List of package name prefixes that will apply this rule.
keep_count int
Minimum number of versions to keep. This field is a member of oneof_ _keep_count.