Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::FinalBackupConfig (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::FinalBackupConfig.

Config used to determine the final backup settings for the instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether the final backup is enabled for the instance.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the final backup is enabled for the instance.
Returns
  • (::Boolean) — Whether the final backup is enabled for the instance.

#retention_days

def retention_days() -> ::Integer
Returns
  • (::Integer) — The number of days to retain the final backup after the instance deletion. The final backup will be purged at (time_of_instance_deletion + retention_days).

#retention_days=

def retention_days=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of days to retain the final backup after the instance deletion. The final backup will be purged at (time_of_instance_deletion + retention_days).
Returns
  • (::Integer) — The number of days to retain the final backup after the instance deletion. The final backup will be purged at (time_of_instance_deletion + retention_days).