Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Google::Firewalls

Public Instance Methods

all() click to toggle source
# File lib/fog/google/models/compute/firewalls.rb, line 10
def all
  data = service.list_firewalls.body
  load(data['items'] || [])
end
get(identity) click to toggle source
# File lib/fog/google/models/compute/firewalls.rb, line 15
def get(identity)
  if firewall = service.get_firewall(identity).body
    new(firewall)
  end
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.