Sha256: 0fe7044f2628fd5b8f6723047cae6234da2f2321ee2ead6829a0dcc10387786a

Contents?: true

Size: 710 Bytes

Versions: 21

Compression:

Stored size: 710 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_target_instances(_zone, _opts: {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def list_target_instances(zone, filter: nil, max_results: nil,
                                  order_by: nil, page_token: nil)
          zone = zone.split("/")[-1] if zone.start_with? "http"
          @compute.list_target_instances(
            @project, zone,
            :filter => filter,
            :max_results => max_results,
            :order_by => order_by,
            :page_token => page_token
          )
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.24.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.23.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.22.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.21.1 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.21.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.20.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.19.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.18.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.17.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.16.1 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.16.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.15.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.14.0 lib/fog/compute/google/requests/list_target_instances.rb
gitlab-fog-google-1.14.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.13.0 lib/fog/compute/google/requests/list_target_instances.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.12.1 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.12.0 lib/fog/compute/google/requests/list_target_instances.rb
fog-google-1.11.0 lib/fog/compute/google/requests/list_target_instances.rb