Properties Query string Seems to Require the Use of visibility=PRIVATE/PUBLIC While Module Returns Error When Provided #2295
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Is this a client library issue or a product issue?
This appears to be an issue with the client. Copy-pasting a query string that works on The API Docs into the query string for a drive.files.list() call throws an error.
Did someone already solve this?
This was brought up in issue drive.files.list query on properties not working #426, but the solution no longer seems relevant
Do you have a support contract?
Yeah, but that's lame.
Environment details
googleapis
version: 48.0.0Steps to reproduce
q:
properties has {key="key" and value="true" and visibility='PRIVATE'}
drive.files.list({'q':`properties has {key="key" and value="true" and visibility='PRIVATE'}`},(err,res)=>console.log(err+'\n'+JSON.stringify(res,1,1)))
drive.files.list({'q':`properties has {key="key" and value="true"`},(err,res)=>console.log(err+'\n'+JSON.stringify(res,1,1)))
You should receive an empty list from this call.
The text was updated successfully, but these errors were encountered: