[google-appengine] Re: Google Drive V3 and service account for get files list from Google Drive Account (C#)

2017-11-29 Thread Daniele Volpe
Now all is working. I have add the service account email authorization in every files i want to search. Thank you for the help :) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails fro

[google-appengine] Re: Google Drive V3 and service account for get files list from Google Drive Account (C#)

2017-11-28 Thread Daniele Volpe
> > Ok, now this code is working but there is a problem. > When the program looks for files inside Google Drive i cant' see my files but only a file called "Getting started". If i open Google Drive from the website i haven't this file in my cloud, but i can see only my files ? Why ? With the

[google-appengine] Re: Google Drive V3 and service account for get files list from Google Drive Account (C#)

2017-11-27 Thread Daniele Volpe
Hi George, this is my code: string[] scopes = new string[] { DriveService.Scope.Drive }; // Full access var keyFilePath = Environment.CurrentDirectory + "JSON_FILE_LOCATION"; if (!System.IO.File.Exists(keyFilePath)) { Console.WriteLin

[google-appengine] Re: Google Drive V3 and service account for get files list from Google Drive Account (C#)

2017-11-27 Thread Daniele Volpe
Hi George, this is my code. string[] scopes = new string[] { DriveService.Scope.Drive }; // Full access var keyFilePath = Environment.CurrentDirectory + "JSON_FILE_LOCATION"; if (!System.IO.File.Exists(keyFilePath)) { Console.WriteLin

[google-appengine] Google Drive V3 and service account for get files list from Google Drive Account (C#)

2017-11-26 Thread Daniele Volpe
Hi, i'm programming in c# and i want to get the list of files from a Google Drive Account. The authentication work fine, but when i do: FilesResource.ListRequest listRequest = service.Files.List(); var files = listRequest.Execute(); I have the error [401]: Invalid Credentials Please help me a