What meta-data does iCloud drive save and restore for each file or directory?
iCloud Drive is not stored on a traditional file system per se on Apple's servers.

On your Mac, the files in iCloud Drive are stored simply on the existing file system on your hard drive - usually HFS+. You can find the files at the following path:

~/Library/Mobile\ Documents/com~apple~CloudDocs/