class Google::Apis::SqladminV1beta4::BackupRun

A BackupRun resource.

Attributes

backup_kind[RW]

Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. Corresponds to the JSON property `backupKind` @return [String]

description[RW]

The description of this run, only applicable to on-demand backups. Corresponds to the JSON property `description` @return [String]

disk_encryption_configuration[RW]

Disk encryption configuration for an instance. Corresponds to the JSON property `diskEncryptionConfiguration` @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]

disk_encryption_status[RW]

Disk encryption status for an instance. Corresponds to the JSON property `diskEncryptionStatus` @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]

end_time[RW]

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]

enqueued_time[RW]

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]

error[RW]

Database instance operation error. Corresponds to the JSON property `error` @return [Google::Apis::SqladminV1beta4::OperationError]

id[RW]

The identifier for this backup run. Unique only for a specific Cloud SQL instance. Corresponds to the JSON property `id` @return [Fixnum]

instance[RW]

Name of the database instance. Corresponds to the JSON property `instance` @return [String]

kind[RW]

This is always `sql#backupRun`. Corresponds to the JSON property `kind` @return [String]

location[RW]

Location of the backups. Corresponds to the JSON property `location` @return [String]

start_time[RW]

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]

status[RW]

The status of this run. Corresponds to the JSON property `status` @return [String]

type[RW]

The type of this run; can be either “AUTOMATED” or “ON_DEMAND”. This field defaults to “ON_DEMAND” and is ignored, when specified for insert requests. Corresponds to the JSON property `type` @return [String]

window_start_time[RW]

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

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 314
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 319
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)
  @type = args[:type] if args.key?(:type)
  @window_start_time = args[:window_start_time] if args.key?(:window_start_time)
end