 
             ], opts.cb)
 
-
 class Snapshot
     constructor: (@gcloud, @name) ->
         @_snapshot = @gcloud._gce.snapshot(@name)


    attach_disk: (opts) =>
        opts = defaults opts,
            disk : required
            cb   : required
        if not opts.disk instanceof Disk
            opts.cb("disk must be an instance of Disk")
            return
        dbg = @dbg("attach_disk")
        dbg("starting...")
        @_vm.attachDisk opts.disk._disk, (err, operation, apiResponse) =>
            handle_operation(err, operation, (->dbg("done")), opts.cb)

    detach_disk: (opts) =>
        opts = defaults opts,
            disk : required
            cb   : required
        if not opts.disk instanceof Disk
            opts.cb("disk must be an instance of Disk")
            return
        dbg = @dbg("detach_disk")
        dbg("starting...")
        vm_data = disk_data = undefined
        async.series([

    reset: (opts={}) =>
        @_action('reset', opts.cb)

    delete: (opts={}) =>
        @_action('delete', opts.cb)

    get_metadata: (opts) =>
        opts = defaults opts,
            cb : required
