Sha256: fe5ca336eb19f8e9303d9d1613f7b5e771c857f1ba898ff2d112bef037e841df

Contents?: true

Size: 822 Bytes

Versions: 21

Compression:

Stored size: 822 Bytes

Contents

module Fog
  module Google
    class SQL
      ##
      # Lists all instance operations that have been performed on the given Cloud SQL instance
      # in the reverse chronological order of the start time
      #
      # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/operations/list

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

      class Mock
        def list_operations(_instance_id, _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.10.0 lib/fog/google/requests/sql/list_operations.rb