AdminDirectory List Groups being filtered via domain

17 views
Skip to first unread message

jessie....@promisepay.com

unread,
Jun 5, 2018, 12:05:32 AM6/5/18
to Google API Client for Ruby
We are doing something like this:

admin_directory = Google::Apis::AdminDirectoryV1::DirectoryService.new
admin_directory.authorization = authorization
admin_directory.authorization.fetch_access_token!

results = admin_directory.list_groups(domain: email_domain, user_key: email)

We have 2 sets of domain:

We also have Google groups that are created using @promisepay.com domain.

Previously if I do:
results = admin_directory.list_groups(domain: 'assemblypayments.com', user_key: 'test@assemblypayments')

It was able to retrieve the Google Groups that are associated with the @promisepay.com domain. 
This was no longer working as of today. However if I create a new Google group using the @assemblypayments.com domain and te...@assemblypayments.com, it works.

Was there a change on the AdminDirectory API? I'm guessing that the domain filter wasn't working correctly previously, and now it is working?
Reply all
Reply to author
Forward
0 new messages