Class: Google::Cloud::BackupDR::V1::BackupRule

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Integer)

    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.



126
127
128
129
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 126

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}/.

Returns:

  • (::String)

    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}/.



126
127
128
129
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 126

class BackupRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#standard_schedule::Google::Cloud::BackupDR::V1::StandardSchedule

Returns Required. Defines a schedule that runs within the confines of a defined window of time.

Returns:



126
127
128
129
# File 'proto_docs/google/cloud/backupdr/v1/backupplan.rb', line 126

class BackupRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end