AlloyDB V1 API - Class Google::Cloud::AlloyDB::V1::AutomatedBackupPolicy::QuantityBasedRetention (v0.9.2)

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