Get folder hierarchy with Google Drive API [C# / .NET]
<p>I am looking for an elegant way to get the folder hierarchy, beginning with my root folder, using the C# Google Drive API V3. </p>

<p>Currently, you can get the root folder and its parents by </p>

<pre><code>var getRequest = driveService.Files.Get("root");
getRequest.Fields = "parents";
var file = getRequest.Execute();
</code></pre>

<p>but I am looking for a way to get the children, not the parents, so I can recursively go down the file structure.
Setting <code>getRequest.Fields = 'children'</code> is not a valid field option.</p>