Sha256: 5d15a7c8691fca7865d1587cb2c4b60c4e5c02fbba097f0c252bad07b50f01f4
Contents?: true
Size: 863 Bytes
Versions: 7
Compression:
Stored size: 863 Bytes
Contents
module Fog module Compute class Google class Mock def add_target_pool_health_checks(_target_pool, _region, _health_checks) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: 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
7 entries across 7 versions & 2 rubygems