Sha256: b010bc6ba662a974c88f8d5435b6f7cfc5c101e71fc8094d79487ecf89f0b0a5

Contents?: true

Size: 744 Bytes

Versions: 21

Compression:

Stored size: 744 Bytes

Contents

module Fog
  module Google
    class SQL
      ##
      # Lists instances under a given project in the alphabetical order of the instance name
      #
      # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/list

      class Real
        def list_instances(filter: nil, max_results: nil, page_token: nil)
          @sql.list_instances(@project,
                              :filter => filter,
                              :max_results => max_results,
                              :page_token => page_token)
        end
      end

      class Mock
        def list_instances(_options: {})
          # :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.24.1 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.24.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.23.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.22.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.21.1 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.21.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.20.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.19.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.18.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.17.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.16.1 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.16.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.15.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.14.0 lib/fog/google/requests/sql/list_instances.rb
gitlab-fog-google-1.14.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.13.0 lib/fog/google/requests/sql/list_instances.rb
gitlab-fog-google-1.13.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.12.1 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.12.0 lib/fog/google/requests/sql/list_instances.rb
fog-google-1.11.0 lib/fog/google/requests/sql/list_instances.rb