Sha256: 0269647a03f6106eafbdb7c826fdd564a27cb621beeffb6065cee212673013aa

Contents?: true

Size: 900 Bytes

Versions: 21

Compression:

Stored size: 900 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_region_operations(_region)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        # Retrieves a list of Operation resources contained within the specified region
        # @see https://developers.google.com/compute/docs/reference/latest/regionOperations/list
        def list_region_operations(region, filter: nil, max_results: nil,
                                   order_by: nil, page_token: nil)
          region = region.split("/")[-1] if region.start_with? "http"
          @compute.list_region_operations(
            @project, region,
            :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_region_operations.rb
fog-google-1.24.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.23.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.22.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.21.1 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.21.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.20.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.19.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.18.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.17.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.16.1 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.16.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.15.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.14.0 lib/fog/compute/google/requests/list_region_operations.rb
gitlab-fog-google-1.14.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.13.0 lib/fog/compute/google/requests/list_region_operations.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.12.1 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.12.0 lib/fog/compute/google/requests/list_region_operations.rb
fog-google-1.11.0 lib/fog/compute/google/requests/list_region_operations.rb