AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::AutomatedBackupPolicy::QuantityBasedRetention (v0.8.0)

Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::AutomatedBackupPolicy::QuantityBasedRetention.

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

def count() -> ::Integer
Returns
  • (::Integer) — The number of backups to retain.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of backups to retain.
Returns
  • (::Integer) — The number of backups to retain.