class Google::Apis::SqladminV1beta4::RestoreBackupContext
Database instance restore from backup context.
Attributes
backup_run_id[RW]
The ID of the backup run to restore from. Corresponds to the JSON property `backupRunId` @return [String]
instance_id[RW]
The ID of the instance that the backup was taken from. Corresponds to the JSON property `instanceId` @return [String]
kind[RW]
This is always sql#restoreBackupContext. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1528 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1533 def update!(**args) @backup_run_id = args[:backup_run_id] if args.key?(:backup_run_id) @instance_id = args[:instance_id] if args.key?(:instance_id) @kind = args[:kind] if args.key?(:kind) end