c# - How to execute a query in with .NET Google Drive API? -


i'm using c# api v2 google drive , can't seem find filesresource.listrequest.fetch() method... see filesresource.listrequest interface different described in google drive documentation, guess changes have been done it, not reflected in web docs. knows how supposed execute query now?

this i'm trying run:

public void somemethod(settings settings) {     var provider = new nativeapplicationclient(googleauthenticationserver.description, settings.apikey, settings.apisecret);     var auth = new oauth2authenticator<nativeapplicationclient>(provider, authprovider);     _driveservice = new google.apis.drive.v2.driveservice(new baseclientservice.initializer {authenticator = auth});      var request = _driveservice.files.list();     request.q = "mimetype='application/vnd.google-apps.folder' , trashed=false";      request.fetch() // <-- method not exist! :/ } 

thanks in advance!

i tried code latest version of library , builds correctly. using latest version of library?

filesresource.listrequest extends google.apis.requests.clientservicerequest<google.apis.drive.v2.data.filelist> defines fetch():

https://code.google.com/p/google-api-dotnet-client/source/browse/src/googleapis/apis/requests/clientservicerequest.cs#197


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -