Sha256: 0c8c04e5d537959c1d8a782ce8358e9ae882cd59db1a8cb1a6078594f8dd7d93

Contents?: true

Size: 745 Bytes

Versions: 20

Compression:

Stored size: 745 Bytes

Contents

module Fog
  module Google
    class SQL
      ##
      # Lists all backup runs associated with a given instance and configuration in the
      # reverse chronological order of the enqueued time
      #
      # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/backupRuns/list

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

      class Mock
        def list_backup_runs(_instance_id, _backup_configuration_id)
          Fog::Mock.not_implemented
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
fog-google-1.9.1 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.9.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.8.2 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.8.1 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.8.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.7.1 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.7.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.6.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.5.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.4.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.3.3 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.3.2 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.3.1 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.3.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.2.2 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.2.1 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.2.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.1.0 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.0.1 lib/fog/google/requests/sql/list_backup_runs.rb
fog-google-1.0.0 lib/fog/google/requests/sql/list_backup_runs.rb