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
#disabled
def disabled() -> ::Boolean-
(::Boolean) — Optional. If
true, automated backups are explicitly disabled on this table. This allows users to opt out of default enablement.
#disabled=
def disabled=(value) -> ::Boolean-
value (::Boolean) — Optional. If
true, automated backups are explicitly disabled on this table. This allows users to opt out of default enablement.
-
(::Boolean) — Optional. If
true, automated backups are explicitly disabled on this table. This allows users to opt out of default enablement.
#frequency
def frequency() -> ::Google::Protobuf::Duration- (::Google::Protobuf::Duration) — How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.
#frequency=
def frequency=(value) -> ::Google::Protobuf::Duration- value (::Google::Protobuf::Duration) — How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.
- (::Google::Protobuf::Duration) — How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.
#keep_hot_duration
def keep_hot_duration() -> ::Google::Protobuf::Duration-
(::Google::Protobuf::Duration) — Optional. The amount of time that the automated backups remain hot.
If specified, the backups created by this policy are
HOTbackups. If not specified, the backups areSTANDARDbackups.The value must be at least 24 hours and at most 10 days, and can't exceed the policy's
retention_period.Only SSD instances support
HOTautomated backups.
#keep_hot_duration=
def keep_hot_duration=(value) -> ::Google::Protobuf::Duration-
value (::Google::Protobuf::Duration) — Optional. The amount of time that the automated backups remain hot.
If specified, the backups created by this policy are
HOTbackups. If not specified, the backups areSTANDARDbackups.The value must be at least 24 hours and at most 10 days, and can't exceed the policy's
retention_period.Only SSD instances support
HOTautomated backups.
-
(::Google::Protobuf::Duration) — Optional. The amount of time that the automated backups remain hot.
If specified, the backups created by this policy are
HOTbackups. If not specified, the backups areSTANDARDbackups.The value must be at least 24 hours and at most 10 days, and can't exceed the policy's
retention_period.Only SSD instances support
HOTautomated backups.
#locations
def locations() -> ::Array<::String>-
(::Array<::String>) — Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
projects/{project}/locations/{zone}. This field can only set for tables in Enterprise Plus instances.
#locations=
def locations=(value) -> ::Array<::String>-
value (::Array<::String>) — Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
projects/{project}/locations/{zone}. This field can only set for tables in Enterprise Plus instances.
-
(::Array<::String>) — Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
projects/{project}/locations/{zone}. This field can only set for tables in Enterprise Plus instances.
#retention_period
def retention_period() -> ::Google::Protobuf::Duration- (::Google::Protobuf::Duration) — Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.
#retention_period=
def retention_period=(value) -> ::Google::Protobuf::Duration- value (::Google::Protobuf::Duration) — Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.
- (::Google::Protobuf::Duration) — Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.