I use the following code in a java web application to try to get all users of a group:
GoogleCredential credential = GoogleCredential.fromStream(Util.class.g
For now, I am just using the p12 file as outlined here:
https://developers.google.com/admin-sdk/directory/v1/guides/delegation
If anyone knows of a way to execute the code in this question with a json file, feel free to comment/answer.