class Google::Apis::SqladminV1beta4::RestoreBackupContext
Database
instance restore from backup context. Backup context contains source instance id and project id.
Attributes
backup_run_id[RW]
The ID of the backup run to restore from. Corresponds to the JSON property `backupRunId` @return [Fixnum]
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]
project[RW]
The full project ID of the source instance. Corresponds to the JSON property `project` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2756 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 2761 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) @project = args[:project] if args.key?(:project) end