Google Drive Capabilities Differences

I'm trying to move files to different places with Google Drive API. Some files in Google Drive are unmovable, and I saw some variables in the capabilities section of the file JSON that describes whether the file can be moved, copied, etc. There are two variables that I'm confused about. One is capabilities.canMoveItemOutOfDrive, the other is capabilities.canMoveItemWithinDrive. I tested a file in my Drive and made it unmovable, but capabilities.canMoveItemWithinDrive is true while capabilities.canMoveItemOutOfDrive is false. The explanation provided by Google seems as if the capabilities.canMoveItemWithinDrive should be false. Can someone explain how to use these two variables? Thanks!

Read more here:

Content Attribution

This content was originally published by Qi Wang at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: