Class: Google::Cloud::BackupDR::V1::BackupRule
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::BackupRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupplan.rb
Overview
BackupRule binds the backup schedule to a retention policy.
Instance Attribute Summary collapse
-
#backup_retention_days ⇒ ::Integer
Required.
-
#rule_id ⇒ ::String
Required.
-
#standard_schedule ⇒ ::Google::Cloud::BackupDR::V1::StandardSchedule
Optional.
Instance Attribute Details
#backup_retention_days ⇒ ::Integer
Returns Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault.
Minimum value is 1 and maximum value is 36159 for custom retention on-demand backup. Minimum and maximum values are workload specific for all other rules.
155 156 157 158 |
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 155 class BackupRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rule_id ⇒ ::String
Returns Required. Immutable. The unique id of this BackupRule. The rule_id is
unique per BackupPlan.The rule_id must start with a lowercase letter
followed by up to 62 lowercase letters, numbers, or hyphens. Pattern,
/[a-z][a-z0-9-]{,62}/.
155 156 157 158 |
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 155 class BackupRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#standard_schedule ⇒ ::Google::Cloud::BackupDR::V1::StandardSchedule
Returns Optional. Defines a schedule that runs within the confines of a defined window of time.
155 156 157 158 |
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 155 class BackupRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |