class Google::Apis::SqladminV1beta4::BackupRun
A BackupRun
resource.
Attributes
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. Corresponds to the JSON property `backupKind` @return [String]
The description of this run, only applicable to on-demand backups. Corresponds to the JSON property `description` @return [String]
Disk encryption configuration for an instance. Corresponds to the JSON property `diskEncryptionConfiguration` @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
Disk encryption status for an instance. Corresponds to the JSON property `diskEncryptionStatus` @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
The time the backup operation completed in UTC timezone in [RFC 3339](https:// tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. Corresponds to the JSON property `endTime` @return [String]
The time the run was enqueued in UTC timezone in [RFC 3339](tools.ietf. org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. Corresponds to the JSON property `enqueuedTime` @return [String]
Database
instance operation error. Corresponds to the JSON property `error` @return [Google::Apis::SqladminV1beta4::OperationError]
The identifier for this backup run. Unique only for a specific Cloud SQL instance. Corresponds to the JSON property `id` @return [Fixnum]
Name of the database instance. Corresponds to the JSON property `instance` @return [String]
This is always `sql#backupRun`. Corresponds to the JSON property `kind` @return [String]
Location of the backups. Corresponds to the JSON property `location` @return [String]
The URI of this resource. Corresponds to the JSON property `selfLink` @return [String]
The time the backup operation actually started in UTC timezone in [RFC 3339]( tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00. 094Z`. Corresponds to the JSON property `startTime` @return [String]
The status of this run. Corresponds to the JSON property `status` @return [String]
Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server. Corresponds to the JSON property `timeZone` @return [String]
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. Corresponds to the JSON property `type` @return [String]
The start time of the backup window during which this the backup was attempted in [RFC 3339](tools.ietf.org/html/rfc3339) format, for example `2012- 11-15T16:19:00.094Z`. Corresponds to the JSON property `windowStartTime` @return [String]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 321 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 326 def update!(**args) @backup_kind = args[:backup_kind] if args.key?(:backup_kind) @description = args[:description] if args.key?(:description) @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration) @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status) @end_time = args[:end_time] if args.key?(:end_time) @enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time) @error = args[:error] if args.key?(:error) @id = args[:id] if args.key?(:id) @instance = args[:instance] if args.key?(:instance) @kind = args[:kind] if args.key?(:kind) @location = args[:location] if args.key?(:location) @self_link = args[:self_link] if args.key?(:self_link) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) @time_zone = args[:time_zone] if args.key?(:time_zone) @type = args[:type] if args.key?(:type) @window_start_time = args[:window_start_time] if args.key?(:window_start_time) end