Hi Claudio,

Are there any news in this situation? I've tryed bulk upload with the batch 
mechanism of my Java client (I used the batch documentation published in 
Google Contacts API) but it doesn't work because Groups don't have a batch 
end-point url like contacts Api.

I know the way of multiple thread but I think that is not so easy to use 
because we have to set multiple users.

Does the Google Apps Directory Sync use batch process for this kind of 
operations?
Is it possible get the same speed of GADS in the groups operations?

Many thanks for your help
Andrea


Il giorno giovedì 16 giugno 2011 14:59:54 UTC+2, Claudio Cherubino ha 
scritto:
>
> Hi Maxim,
>
> The Provisioning API has no batch user creation method, what we recommend 
> is using multiple threads to run requests in parallel.
> The documentation has more details:
>
>
> http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_protocol.html#Limits
>
> Thanks
> Claudio
>
> On Thu, Jun 16, 2011 at 12:15 PM, Maxim Volgin <[email protected]<javascript:>
> > wrote:
>
>> i have to add a few thousand users to a few hundred groups, it is the 
>> only way to do so?.. 
>>
>>  for (GenericEntry group : groups.getEntries()) {
>> for (UserEntry user : users.getEntries()) {
>>  groupService.addMemberToGroup(group.getAllProperties().get("groupId"), 
>> user.getLogin().getUserName());
>>
>> it's gonna be about two million api calls or more, not very efficient
>> maybe there is another way to add multiple users to groups, like 
>> providing lists of users/groups as parameters?..
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Apps Domain Information and Management APIs" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/MFPhMHRcT8wJ.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/kXIiX1bmatoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to