# File lib/fog/google/models/compute/flavors.rb, line 10 def all(filters = {}) if filters[:zone] data = service.list_machine_types(filters[:zone]).body["items"] else data = [] service.list_aggregated_machine_types.body['items'].each_value do |zone| data.concat(zone['machineTypes']) if zone['machineTypes'] end end load(data) end
Generated with the Darkfish Rdoc Generator 2.