Thomas Coffee

Results comments of Thomas Coffee

@ace-n is correct, the confusion is due to renaming in the Node.js client library (these libraries are autogenerated, and happen to use the name `resource` for the request body, so...

It looks to me like the comments in the example for Node.js do indicate that `resource_` is the required field. At present, the API Explorer and the remaining documentation on...

More specifically, the `pageToken` is anomalously a field of the request body rather than a query parameter of the method. See https://github.com/googleapis/toolkit/issues/692.

Not sure if we mean different things by "streaming" --- we've been using the term "page streaming" just to mean that the method returns results page by page using page...

Not exactly sure what you're asking, but I think the code at issue is here: https://github.com/google/google-api-go-client/blob/master/google-api-go-generator/gen.go#L1604 Right now, the generator assumes that any paging method will have `pageToken` as a...

> it's easy to work around by writing your own loop That may be true, but if we want to generate correct samples, we need to automate this generation, and...

This is more complicated than necessary to correctly identify paging methods for current APIs. The following logic would suffice: IF ( the response has a field named "pageToken" or "nextPageToken"...

It would not hurt to also allow "nextPageToken" as the name of the method parameter; this case currently does not occur.

According to the docs, the token you get in the response is not a next-page token, but a stable-access identifier for the result set that you can use to retrieve...

So just to clarify, in bigquery.tabledata.list you used the response pageToken in precisely the way one would typically use a response nextPageToken?