class Fog::Compute::Google::TargetHttpProxies

Public Instance Methods

all(filters={}) click to toggle source
# File lib/fog/google/models/compute/target_http_proxies.rb, line 10
def all(filters={})
  data = service.list_target_http_proxies.body['items'] || []
  load(data)
end
get(identity) click to toggle source
# File lib/fog/google/models/compute/target_http_proxies.rb, line 15
def get(identity)
  if target_http_proxy = service.get_target_http_proxy(identity).body
    new(target_http_proxy)
  end
rescue Fog::Errors::NotFound
  nil
end