Backup class

A backup resource.

Constructors

Backup({Interval? backupInterval, String? backupKind, String? backupRun, String? databaseVersion, String? description, OperationError? error, String? expiryTime, String? instance, String? instanceDeletionTime, DatabaseInstance? instanceSettings, String? kind, String? kmsKey, String? kmsKeyVersion, String? location, String? maxChargeableBytes, String? name, bool? satisfiesPzi, bool? satisfiesPzs, String? selfLink, String? state, String? timeZone, String? ttlDays, String? type})
Backup.fromJson(Map json_)

Properties

backupInterval ↔ Interval?
This output contains the following values: start_time: All database writes up to this time are available.
getter/setter pair
backupKind ↔ String?
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
getter/setter pair
backupRun ↔ String?
The mapping to backup run resource used for IAM validations.
getter/setter pair
databaseVersion ↔ String?
The database version of the instance of at the time this backup was made.
getter/setter pair
description ↔ String?
The description of this backup.
getter/setter pair
error ↔ OperationError?
Information about why the backup operation fails (for example, when the backup state fails).
getter/setter pair
expiryTime ↔ String?
Backup expiration time.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
instance ↔ String?
The name of the source database instance.
getter/setter pair
instanceDeletionTime ↔ String?
Timestamp in UTC of when the instance associated with this backup is deleted.
getter/setter pair
instanceSettings ↔ DatabaseInstance?
The instance setting of the source instance that's associated with this backup.
getter/setter pair
kind ↔ String?
This is always sql#backup.
getter/setter pair
kmsKey ↔ String?
This output contains the encryption configuration for a backup and the resource name of the KMS key for disk encryption.
getter/setter pair
kmsKeyVersion ↔ String?
This output contains the encryption status for a backup and the version of the KMS key that's used to encrypt the Cloud SQL instance.
getter/setter pair
location ↔ String?
The storage location of the backups.
getter/setter pair
maxChargeableBytes ↔ String?
The maximum chargeable bytes for the backup.
getter/setter pair
name ↔ String?
The resource name of the backup.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
satisfiesPzi ↔ bool?
This status indicates whether the backup satisfies PZI.
getter/setter pair
satisfiesPzs ↔ bool?
This status indicates whether the backup satisfies PZS.
getter/setter pair
The URI of this resource.
getter/setter pair
state ↔ String?
The status of this backup.
getter/setter pair
timeZone ↔ String?
This output contains a backup time zone.
getter/setter pair
ttlDays ↔ String?
Input only.
getter/setter pair
type ↔ String?
The type of this 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