Sha256: 0b17778ae0797beb2bcd1d829d1910862b693d684dfee71e8e9a75b1013a7a46

Contents?: true

Size: 601 Bytes

Versions: 41

Compression:

Stored size: 601 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def get_region_operation(_region, _operation)
          raise Fog::Errors::MockNotImplemented
        end
      end

      class Real
        # Retrieves the specified region-specific Operations resource
        # @see https://developers.google.com/compute/docs/reference/latest/regionOperations/get
        def get_region_operation(region, operation)
          region = region.split("/")[-1] if region.start_with? "http"
          @compute.get_region_operation(@project, region, operation)
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

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