Sha256: 2ba5cdd6365d487ad03eb661e00d7fcfafc6914f2039118782c5299e7ecda472
Contents?: true
Size: 887 Bytes
Versions: 14
Compression:
Stored size: 887 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
14 entries across 14 versions & 1 rubygems