Sha256: fac3b45b3c126da5dfb231370d98ed7180ebe988a392a64d2734f03831eea679
Contents?: true
Size: 890 Bytes
Versions: 20
Compression:
Stored size: 890 Bytes
Contents
module Fog module Google class SQL ## # Restores a backup of a Cloud SQL instance # # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/restoreBackup class Real def restore_instance_backup(instance_id, backup_run_id) request = ::Google::Apis::SqladminV1beta4::RestoreInstancesBackupRequest.new( :restore_backup_context => ::Google::Apis::SqladminV1beta4::RestoreBackupContext.new( :backup_run_id => backup_run_id, :instance_id => instance_id, :kind => "sql#restoreBackupContext" ) ) @sql.restore_instance_backup(@project, instance_id, request) end end class Mock def restore_instance_backup(_instance_id, _backup_run_id) Fog::Mock.not_implemented end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems