Status Update
Comments
jp...@google.com <jp...@google.com> #2
Metadata
- Summary: The Directory API's users.list method is inconsistently returning a nextPageToken when using the query parameter, and the starts with operator is not working for the orgDepartment field.
- Tags:
,directory-api ,users-list ,next-page-token ,query-parameter ,org-department starts-with-operator
Additional resources:
https://issuetracker.google.com/savedsearches/566232?hl=it https://developers.google.com/drive/api/reference/rest/v3/files/list https://developers.google.com/admin-sdk/directory/v1/.../manage-users https://developers.google.com/admin-sdk/directory/reference/rest/v1/.../list https://stackoverflow.com/.../want-admindirectory-users-list-more-then-500... https://stackoverflow.com/.../drive-list-files-doesnt-have-nextpagetoken-wh... https://stackoverflow.com/.../how-to-resolve-the-missing-information-probl...
bl...@google.com <bl...@google.com> #3
jp...@google.com <jp...@google.com> #4
nextPageToken randomly disappear depending on the query.
It's only returned if there is another page.
Also the starts with operator doesn't work on orgDepartment :
Can you open another bug for this.
qu...@airbus.com <qu...@airbus.com> #5
It's only returned if there is another page.
If less result than the page size, the nextPageToken doesn't exists instead to be null ?
Can you open another bug for this.
jp...@google.com <jp...@google.com> #6
If less result than the page size, the nextPageToken doesn't exists instead to be null ?
For any Google API, always check the truthiness of values as the underlying transport implementation may leak through (sometimes on purpose allowing customers to use gRPC) by a default value in a proto not being filtered/translated correctly.
qu...@airbus.com <qu...@airbus.com> #7
Understood, it's could be good if you can copy the field description of nextPageToken from
Description
Description
With endpoint Android SDK API > v1 > Directory API > users.list Attribute
nextPageToken
randomly disappear depending on thequery
.Response :
Also the starts with operator doesn't work on orgDepartment :
Impact
We cannot navigate with the API to extract 1200 accounts or filter on the orgDepartment.