GetBackupRunResult constructor

const GetBackupRunResult({
  1. required String backupKind,
  2. required String description,
  3. required DiskEncryptionConfigurationResponse diskEncryptionConfiguration,
  4. required DiskEncryptionStatusResponse diskEncryptionStatus,
  5. required String endTime,
  6. required String enqueuedTime,
  7. required OperationErrorResponse error,
  8. required String instance,
  9. required String kind,
  10. required String location,
  11. required String selfLink,
  12. required String startTime,
  13. required String status,
  14. required String timeZone,
  15. required String type,
  16. required String windowStartTime,
})

Creates a new GetBackupRunResult. backupKind Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. description The description of this run, only applicable to on-demand backups. diskEncryptionConfiguration Encryption configuration specific to a backup. diskEncryptionStatus Encryption status specific to a backup. endTime The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. enqueuedTime The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. error Information about why the backup operation failed. This is only present if the run has the FAILED status. instance Name of the database instance. kind This is always sql#backupRun. location Location of the backups. selfLink The URI of this resource. startTime The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. status The status of this run. timeZone Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server. type The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests. windowStartTime The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Implementation

const GetBackupRunResult({
  required this.backupKind,
  required this.description,
  required this.diskEncryptionConfiguration,
  required this.diskEncryptionStatus,
  required this.endTime,
  required this.enqueuedTime,
  required this.error,
  required this.instance,
  required this.kind,
  required this.location,
  required this.selfLink,
  required this.startTime,
  required this.status,
  required this.timeZone,
  required this.type,
  required this.windowStartTime,
});