Sha256: b35eb99059f7977056d0a4467de18c1299e595b374cd41d1c5624d9d477de8af

Contents?: true

Size: 538 Bytes

Versions: 14

Compression:

Stored size: 538 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_zone_operations(_zone)
          Fog::Mock.not_implemented
        end
      end

      class Real
        # https://developers.google.com/compute/docs/reference/latest/zoneOperations

        def list_zone_operations(zone)
          api_method = @compute.zone_operations.list
          parameters = {
            "zone" => zone,
            "project" => @project
          }

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.5.5 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.5.4 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.5.3 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.5.2 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.5.1 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.5.0 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.4.2 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.4.1 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.4.0 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.3.2 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.3.1 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.3.0 lib/fog/compute/google/requests/list_zone_operations.rb
fog-google-0.2.0 lib/fog/compute/google/requests/list_zone_operations.rb