googleapis / googleapis/google-api-java-client

User get list types return Object (directory_v1-rev118-1.25.0)

Open
#1,528 1 comment 0 reactions 0 assignees View on GitHub
api: directory priority: p4 type: feature request
Dominant language
Java
Stars
1.5k
Forks
772
Avg merge
1h 44m
Merged PRs (30d)
1

Description

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](https://developers.google.com/resources/api-libraries/documentation/admin/directory_v1/java/latest/com/google/api/services/admin/directory/model/User.html)). List object types, such as UserAddress exist in the library, and should be used in return values, e.x. `getAddresses()` should return `List`.

This was [reported in 2015](https://github.com/googleapis/google-api-java-client/issues/884), but closed apparently without a fix.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.