Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document and fix com.google.api.services.calendar.CalendarRequest.setFields(String) #500

Closed
wonderfly opened this issue Jan 10, 2015 · 1 comment
Assignees
Labels
imported priority: p2 Moderately-important priority. Fix may not be included in next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@wonderfly
Copy link
Contributor

From quantime...@cox.net on May 09, 2012 16:55:13

Version of google-api-java-client: All versions that I've seen of the Calendar API.

I'm using google-api-services-calendar-v3-1.3.1-beta.jar. Describe the problem. There is no documentation for how to build a string that represents the fields you want to retrieve. I've searched the internet for days.

The current documentation is useless. You may find it here: http://javadoc.google-api-java-client.googlecode.com/hg/apis/calendar/v3/com/google/api/services/calendar/CalendarRequest.html#setFields(java.lang.String) How would you expect it to be fixed? Google needs to provide a mapping from com.google.api.services.calendar.model.Event properties to the fields String. As well as for all the other retrievable objects that you can specify fields for.

In my experimentation, I've tried setting fields to "summary". You would think that would limit the content of returned events to just the summary. Actually, it prevents any events from being returned at all.

I'm flabbergasted at this omission. We all want to improve performance and Google recommends using setFields to do it. So let us know how.

Original issue: http://code.google.com/p/google-api-java-client/issues/detail?id=485

@wonderfly wonderfly added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. imported priority: p2 Moderately-important priority. Fix may not be included in next release. 1 star labels Jan 10, 2015
@wonderfly wonderfly self-assigned this Jan 10, 2015
@wonderfly
Copy link
Contributor Author

From yan...@google.com on October 08, 2012 10:41:32

There's some documentation here: https://developers.google.com/google-apps/calendar/performance#partial-response

Status: ByDesign

@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported priority: p2 Moderately-important priority. Fix may not be included in next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants