class Google::Apis::SqladminV1beta4::BackupRun
A database instance backup run resource.
Attributes
The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. Corresponds to the JSON property `endTime` @return [DateTime]
The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. Corresponds to the JSON property `enqueuedTime` @return [DateTime]
Database instance operation error. Corresponds to the JSON property `error` @return [Google::Apis::SqladminV1beta4::OperationError]
A unique identifier for this backup run. Note that this is unique only within the scope of a particular Cloud SQL instance. Corresponds to the JSON property `id` @return [String]
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]
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 format, for example 2012-11-15T16:19:00.094Z. Corresponds to the JSON property `startTime` @return [DateTime]
The status of this run. Corresponds to the JSON property `status` @return [String]
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. Corresponds to the JSON property `windowStartTime` @return [DateTime]
Public Class Methods
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 163 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 168 def update!(**args) @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) @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) @window_start_time = args[:window_start_time] if args.key?(:window_start_time) end