Sha256: 3d0e6380f4f9dafa37fc4fb16ee6000f458dd6224bda2921e771d4fc73545789

Contents?: true

Size: 584 Bytes

Versions: 7

Compression:

Stored size: 584 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def validate_url_map(_url_map_name, _url_map: {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def validate_url_map(url_map_name, url_map = {})
          @compute.validate_url_map(
            @project, url_map_name,
            ::Google::Apis::ComputeV1::ValidateUrlMapsRequest.new(
              :url_map => ::Google::Apis::ComputeV1::UrlMap.new(url_map)
            )
          )
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
gitlab-fog-google-1.14.0 lib/fog/compute/google/requests/validate_url_map.rb
fog-google-1.13.0 lib/fog/compute/google/requests/validate_url_map.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/requests/validate_url_map.rb
fog-google-1.12.1 lib/fog/compute/google/requests/validate_url_map.rb
fog-google-1.12.0 lib/fog/compute/google/requests/validate_url_map.rb
fog-google-1.11.0 lib/fog/compute/google/requests/validate_url_map.rb
fog-google-1.10.0 lib/fog/compute/google/requests/validate_url_map.rb