Sha256: 78969cbc79ebec04f5fb774d77f5c29056ef5206761f57c18b7c49dfa99c9b64

Contents?: true

Size: 540 Bytes

Versions: 14

Compression:

Stored size: 540 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def set_global_forwarding_rule_target(_rule_name, _target)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def set_global_forwarding_rule_target(rule_name, target_opts)
          @compute.set_global_forwarding_rule_target(
            @project, rule_name,
            ::Google::Apis::ComputeV1::TargetReference.new(**target_opts)
          )
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.24.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.23.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.22.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.21.1 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.21.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.20.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.19.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.18.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.17.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.16.1 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.16.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.15.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb
fog-google-1.14.0 lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb