Cloud Bigtable Admin V2 API - Class Google::Cloud::Bigtable::Admin::V2::Table::AutomatedBackupPolicy (v0.27.0)

Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::Table::AutomatedBackupPolicy.

Defines an automated backup policy for a table

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#frequency

def frequency() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.

#frequency=

def frequency=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.
Returns
  • (::Google::Protobuf::Duration) — Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.

#retention_period

def retention_period() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Required. How long the automated backups should be retained. The only supported value at this time is 3 days.

#retention_period=

def retention_period=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Required. How long the automated backups should be retained. The only supported value at this time is 3 days.
Returns
  • (::Google::Protobuf::Duration) — Required. How long the automated backups should be retained. The only supported value at this time is 3 days.