Sha256: 9e8dbb256ce31c354786ddcc3c6cbed27de7a37439b1b553318ba5c156bcb630
Contents?: true
Size: 740 Bytes
Versions: 14
Compression:
Stored size: 740 Bytes
Contents
module Fog module Compute class Google class Mock def delete_region_operation(_region, _operation) Fog::Mock.not_implemented end end class Real # https://developers.google.com/compute/docs/reference/latest/regionOperations def delete_region_operation(region_name, operation) if region_name.start_with? "http" region_name = region_name.split("/")[-1] end api_method = @compute.region_operations.delete parameters = { "project" => @project, "region" => region_name, "operation" => operation } request(api_method, parameters) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems