Programmatically set selective sync for file/folder

I’d like to know if it there is a way to get the FILE_ID of a file inside a folder. Using get_root_drive_files does just that, only get the files/folders ID in Google Drive’s root directory. Since there is already a way to set_selective_sync I think this would be a good work around for one-way sync. I know it’s probably more difficult than that.

@Alex: There’s no way to get that currently, but you could try the manage_ignore_list command. It allows ignoring uploads/downloads for a specific folder. It only applies to new items though, so if you are already syncing the folder and you add it to the ignore list it won’t apply for that folder.