AutomatedBackupPolicy class
Message describing the user-specified automated backup policy.
All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.
Constructors
-
AutomatedBackupPolicy({String? backupWindow, bool? enabled, EncryptionConfig? encryptionConfig, Map<
String, String> ? labels, String? location, QuantityBasedRetention? quantityBasedRetention, TimeBasedRetention? timeBasedRetention, WeeklySchedule? weeklySchedule}) - AutomatedBackupPolicy.fromJson(Map json_)
Properties
- backupWindow ↔ String?
-
The length of the time window during which a backup can be taken.
getter/setter pair
- enabled ↔ bool?
-
Whether automated automated backups are enabled.
getter/setter pair
- encryptionConfig ↔ EncryptionConfig?
-
The encryption config can be specified to encrypt the backups with a
customer-managed encryption key (CMEK).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Labels to apply to backups created using this configuration.
getter/setter pair
- location ↔ String?
-
The location where the backup will be stored.
getter/setter pair
- quantityBasedRetention ↔ QuantityBasedRetention?
-
Quantity-based Backup retention policy to retain recent backups.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeBasedRetention ↔ TimeBasedRetention?
-
Time-based Backup retention policy.
getter/setter pair
- weeklySchedule ↔ WeeklySchedule?
-
Weekly schedule for the Backup.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited