Sha256: 75a57ec8bb81db33427e499fc6cabdcbcd54c07b7524a41623fbbea6230cd5ab

Contents?: true

Size: 691 Bytes

Versions: 20

Compression:

Stored size: 691 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def list_routes(_options = {})
          Fog::Mock.not_implemented
        end
      end

      class Real
        # Retrieves the list of Route resources available to the specified project.
        #
        # @see https://cloud.google.com/compute/docs/reference/latest/routes/list
        def list_routes(filter: nil, max_results: nil, order_by: nil, page_token: nil)
          @compute.list_routes(
            @project,
            :filter => filter,
            :max_results => max_results,
            :order_by => order_by,
            :page_token => page_token
          )
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
fog-google-1.9.1 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.9.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.8.2 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.8.1 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.8.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.7.1 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.7.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.6.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.5.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.4.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.3.3 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.3.2 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.3.1 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.3.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.2.2 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.2.1 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.2.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.1.0 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.0.1 lib/fog/compute/google/requests/list_routes.rb
fog-google-1.0.0 lib/fog/compute/google/requests/list_routes.rb