Sha256: d4aeff5cedcfb7e3796609a7c01ba071b8e527e074e27f5150ba64dbd730c58c

Contents?: true

Size: 794 Bytes

Versions: 21

Compression:

Stored size: 794 Bytes

Contents

module Fog
  module Google
    class SQL
      ##
      # Deletes all client certificates and generates a new server SSL certificate for the instance.
      # The changes will not take effect until the instance is restarted. Existing instances without
      # a server certificate will need to call this once to set a server certificate
      #
      # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/resetSslConfig

      class Real
        def reset_instance_ssl_config(instance_id)
          @sql.reset_instance_ssl_config(@project, instance_id)
        end
      end

      class Mock
        def reset_instance_ssl_config(_instance_id)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fog-google-1.10.0 lib/fog/google/requests/sql/reset_instance_ssl_config.rb