We are currently using the "Deprecated Provisioning API" using the .NET libraries for creating Google Groups within our organization. Provisioning API does support adding Group Members with Manager role. As a work around, we would like to build the 'Group Manager' functionality from the 'New Directory API' on top of the existing provisioning API.
The new feature that we want to add into existing "Provisioning API" from the "Admin SDK Directory API" is group Manager.
I have downloaded the "Google.Apis.admin.directory_v1.dll and OAuth2.0 using the .NET libraries from this link: https://www.nuget.org/packages/Google.Apis.Admin.Directory.directory_v1/1.7.0.25-beta
I have also completed the prerequisites listed in this link: https://developers.google.com/admin-sdk/directory/v1/guides/prerequisites
In order to add the 'Manager' feature to the existing provisioning API, I am trying to implement the MembersResource.InsertRequest method which is:
InsertRequest (Google.Apis.Services.IClientService service, Google.Apis.Admin.Directory.directory_v1.Data.Member body, string groupKey)
I need help in understanding the implementation for IClientService service and using OAuth2.0 authorization for authorizing requests for .NET.
I am unable to find any examples online using .NET library. It would be extremely helpful if you share implementation examples or code snippets for using this feature.
Thanks.