Sha256: ef3992e0922b3bdef1de92d3de76e604cfe42d6ffbd27d5999d8f305bef286fc
Contents?: true
Size: 930 Bytes
Versions: 14
Compression:
Stored size: 930 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) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems