Sha256: 89d24728bd5408653d278d41ae16e12a91978882d6b286f3c3c4f916dba63135
Contents?: true
Size: 708 Bytes
Versions: 22
Compression:
Stored size: 708 Bytes
Contents
module Fog module Compute class Google class Mock def set_metadata(instance, zone, fingerprint, metadata={}) Fog::Mock.not_implemented end end class Real def remove_target_pool_instances(target_pool, instances) api_method = @compute.target_pools.remove_instance parameters = { 'project' => @project, 'targetPool' => target_pool.name, 'region' => target_pool.region.split('/')[-1] } body = { 'instances' => instances.map { |i| { 'instance' => i } } } request(api_method, parameters, body_object=body) end end end end end
Version data entries
22 entries across 20 versions & 5 rubygems