Sha256: 0874238e99886ea41edb596103d8bc11ad218fb11fa91f362f92fe411e62cdc4

Contents?: true

Size: 554 Bytes

Versions: 22

Compression:

Stored size: 554 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_region_operations(region)
          Fog::Mock.not_implemented
        end
      end

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

        def list_region_operations(region)
          api_method = @compute.region_operations.list
          parameters = {
            'region' => region,
            'project' => @project,
          }

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

22 entries across 20 versions & 5 rubygems

Version Path
nsidc-fog-1.24.1 lib/fog/google/requests/compute/list_region_operations.rb
fog-1.24.0 lib/fog/google/requests/compute/list_region_operations.rb