Sha256: 3a3d43eab13d4fa530f0bdd1717e1031573518770ff07dadf1f703fa4a7d2085
Contents?: true
Size: 888 Bytes
Versions: 7
Compression:
Stored size: 888 Bytes
Contents
module Fog module Google class SQL ## # Updates settings of a Cloud SQL instance # # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/update class Real def update_instance(instance_id, settings_version, tier, settings = {}) settings = ::Google::Apis::SqladminV1beta4::Settings.new(settings) settings.tier = tier settings.settings_version = settings_version @sql.update_instance( @project, instance_id, ::Google::Apis::SqladminV1beta4::DatabaseInstance.new(:settings => settings) ) end end class Mock def update_instance(_instance_id, _settings_version, _tier, _settings = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems