Google-api-nodejs-client: Drive create folder typescript parameters missing 'resource'

Created on 17 May 2019  路  2Comments  路  Source: googleapis/google-api-nodejs-client

The Params$Resource$Files$Create interface is missing 'resource', which is needed for creating a folder according to documentation:

https://developers.google.com/drive/api/v3/folder#about_folder_files

Error I get on compile: Object literal may only specify known properties, and 'resource' does not exist in type 'Params$Resource$Files$Create'.

blocked docs

Most helpful comment

Ok - so turns out this is a docs bug. Instead of resource you can use requestBody :) We will work on updating the docs!

All 2 comments

Ok - so turns out this is a docs bug. Instead of resource you can use requestBody :) We will work on updating the docs!

This is a dup of https://github.com/googleapis/google-api-nodejs-client/issues/1885, so closing this so we can track it there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joseparoli picture joseparoli  路  3Comments

eduDorus picture eduDorus  路  3Comments

Chethandsagar picture Chethandsagar  路  4Comments

rainabba picture rainabba  路  4Comments

raapperez picture raapperez  路  3Comments