`fields` query param allows API backend to trim down the returning entity,
valuable for working with resources with large number of attributes. Also note
that some APIs ignore unnecessary calls that may improve performance.
func (c *XCall) Fields(fields string) *XCall {
c.opt_["fields"] = fields
return c
}
Sample for drive.files.list with `items/id,nextPageToken`:
GET https://www.googleapis.com/drive/v2/files?fields=items%2Fid%2CnextPageToken
Original issue reported on code.google.com by j...@google.com on 9 Aug 2013 at 10:53
Original issue reported on code.google.com by
j...@google.com
on 9 Aug 2013 at 10:53