Sha256: 4a1f21e2f43175d72dff225a5bb23ac1f142f8dda741699dd475a62f18a2e0be
Contents?: true
Size: 811 Bytes
Versions: 20
Compression:
Stored size: 811 Bytes
Contents
module Fog module Compute class Google class Mock def add_target_pool_health_checks(_target_pool, _region, _health_checks) Fog::Mock.not_implemented end end class Real def add_target_pool_health_checks(target_pool, region, health_checks) check_list = health_checks.map do |health_check| ::Google::Apis::ComputeV1::HealthCheckReference.new( :health_check => health_check ) end @compute.add_target_pool_health_check( @project, region.split("/")[-1], target_pool, ::Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest.new( :health_checks => check_list ) ) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems