protected override emailsettings_v1.EmailsettingsService CreateNewService(string domain, AuthenticatedUserInfo authInfo, string gShellServiceAccount = null) { return(new emailsettings_v1.EmailsettingsService(OAuth2Base.GetGdataInitializer(domain, authInfo))); }
protected override sharedcontacts_v3.SharedcontactsService CreateNewService(string domain, AuthenticatedUserInfo authInfo, string gShellServiceAccount = null) { return(new sharedcontacts_v3.SharedcontactsService(OAuth2Base.GetGdataInitializer(domain, authInfo))); }
/// <summary>Creates a new adminsettings_v1.Adminsettings service.</summary> /// <param name="domain">The domain to which this service will be authenticated.</param> /// <param name="authInfo">The authenticated AuthInfo for this user and domain.</param> /// <param name="gShellServiceAccount">The optional email address the service account should impersonate.</param> protected override adminsettings_v1.AdminsettingsService CreateNewService(string domain, AuthenticatedUserInfo authInfo, string serviceAccountUser = null) { return(new adminsettings_v1.AdminsettingsService(OAuth2Base.GetGdataInitializer(domain, authInfo))); }