Sha256: 22b32a5142f5bb9693b3e1c9d773603a9322a5560c4afe388e46cd3b6c3e6a1f
Contents?: true
Size: 531 Bytes
Versions: 2
Compression:
Stored size: 531 Bytes
Contents
module Fog module Compute class Google class TargetHttpsProxies < Fog::Collection model Fog::Compute::Google::TargetHttpsProxy def all(_filters = {}) data = service.list_target_https_proxies.body["items"] || [] load(data) end def get(identity) if target_https_proxy = service.get_target_https_proxy(identity).body new(target_https_proxy) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-google-0.6.0 | lib/fog/compute/google/models/target_https_proxies.rb |
fog-google-0.5.5 | lib/fog/compute/google/models/target_https_proxies.rb |