ksandyasa / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
0 stars 0 forks source link

Google Drive Permission Insert Query missing optionals #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is not way to set the optional parameters:
'emailMessage' and 'sendNotificationEmails' 

for the Permissions Insert Query (currently only 
queryForPermissionsInsertWithObject:fileId: exists which does not touch these 
optionals)

Original issue reported on code.google.com by dnd.c...@gmail.com on 1 Oct 2014 at 4:39

GoogleCodeExporter commented 9 years ago
The comment has the info from the docs: 
https://code.google.com/p/google-api-objectivec-client/source/browse/trunk/Sourc
e/Services/Drive/Generated/GTLQueryDrive.h#753

All of the properties on the query are listed:
https://code.google.com/p/google-api-objectivec-client/source/browse/trunk/Sourc
e/Services/Drive/Generated/GTLQueryDrive.h#57

The queryFor* method just take the required parameters.  Once you get back an 
object, you can set whatever optional properties you need.

Original comment by thomasvl@google.com on 1 Oct 2014 at 7:55

GoogleCodeExporter commented 9 years ago
Very sorry, I misunderstood how the query was supposed to be setup.

Thank you

Original comment by CSLPvi...@gmail.com on 1 Oct 2014 at 8:12