I want to create a very simple script
function myFunction() {
var group = AdminGroupsSettings.newGroups();
Logger.log(group)
}
But I have the error ReferenceError: AdminGroupsSettings is not defined
.
However, my Admin SDK is well added from Services.
The function is a simple copy from the Update a group's settings example
The Groups Setting API
seems to be different from the Admin SDK API
.
I recommend using the Admin SDK API instead of the Groups Setting API.