Fog::Collection
# File lib/fog/google/models/compute/snapshots.rb, line 10 def all data = service.list_snapshots snapshots = data.body['items'] || [] load(snapshots) end
# File lib/fog/google/models/compute/snapshots.rb, line 16 def get(snap_id) response = service.get_snapshot(snap_id) return nil if response.nil? new(response.body) rescue Fog::Errors::NotFound nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.