abujehad139 / google-api-go-client

Automatically exported from code.google.com/p/google-api-go-client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Support for Standard Query Parameters (fields, quotaUser, userIp, etc) in Google APIs #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Most (if not all) Google API's support standard query parameters, such as ones 
documented here:
https://developers.google.com/discovery/v1/parameters
https://developers.google.com/drive/query-parameters
https://developers.google.com/analytics/devguides/reporting/realtime/v3/paramete
rs
Etc.

There doesn't seem to be a way to set these using the google-api-go-client 
library.

Would be great if there was native support for these fields. Perhaps it would 
make sense letting the user set arbitrary fields to the opt_ field map, for 
future workarounds to such limitations?

Related bugs:
#5 https://code.google.com/p/google-api-go-client/issues/detail?id=5
#38 https://code.google.com/p/google-api-go-client/issues/detail?id=38

I would consider this bug to be a superset of the other two.

Thanks!

Original issue reported on code.google.com by shazow on 5 Sep 2013 at 4:40