AlloyDB V1BETA API - Class Google::Cloud::AlloyDB::V1beta::AutomatedBackupPolicy::QuantityBasedRetention (v0.4.0)

Reference documentation and code samples for the AlloyDB V1BETA API class Google::Cloud::AlloyDB::V1beta::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.