google-api-java-client
google-api-java-client copied to clipboard
User get list types return Object (directory_v1-rev118-1.25.0)
In directory_v1-rev118-1.25.0 (and it appears many previous versions) methods on User objects which should return lists, instead return Object (see API docs). List object types, such as UserAddress exist in the library, and should be used in return values, e.x. getAddresses() should return List<UserAddress>.
This was reported in 2015, but closed apparently without a fix.
@andrewring thanks for reaching out. This seems strange but possibly due to some constraint in the client generator. I'll try to poke around and see what's possible.