Folders are not shown under root directory when use 'root' in parents when using Google Drive api files list

后端 未结 2 1494
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-23 06:38

I just wanted to see folders and files under root directory when i set ‘root’ in parents in Q, but I can see only one file titled “Get started” pdf file. (I used C# code)

<
2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-23 07:34

    I don't know whether this question is answered or not, so I am replying. I was facing the issue when I was using name='root'. It was returning me the list of files and folders but some were missing.

    I found somewhere and modified the 'Q' string with the following and it is now showing me the right information.

    ('root' in parents)
    

提交回复
热议问题