I'm in the middle of converting my older Google Provisioning API applications to the new Directory API. I havent been able to find the equivalent Directory API to the following code below. Could anyone point me to a page or have an example they're willing to share.
Does the new Directory API even have a CreateSendAs()? I'm using the .NET Client Library.
using Google.GData.Apps;
using Google.GData.Apps.GoogleMailSettings;
using Google.GData.Client;
using Google.GData.Extensions;
GoogleMailSettingsService service = new GoogleMailSettingsService("yourdomain", "your-apps");
service.setUserCredentials("adminUsername", "adminPassword");
service.CreateSendAs("liz", "Sales", "sales@example.com", "", "true");