Using PYTHON, To get all groups in a domain, in OAuth1 had a command like:
groupfeed = api(lambda: GROUPS_SERVICE.RetrieveAllGroups())
In OAuth2, will it be
allGrps = client.groups().list(customer='my_company').execute()
I am looking for the equivalent code to get ALL groups in a domain. Thanks for your help and attention.