Hi Andrea,

I have no news as I'm not aware of any plans to introduce batch support in
the API.
Our recommendation is still to use multiple threads.

I haven't checked how GADS works, but as it relies on the same API, it is
quite likely that is relies on multi-threading.

Claudio

On Fri, Sep 7, 2012 at 12:28 PM, Andrea Testa <[email protected]>wrote:

> 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<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]> 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<https://groups.google.com/d/msg/google-apps-mgmt-apis/-/MFPhMHRcT8wJ>
>>> .
>>>  To post to this group, send email to google-app...@**googlegroups.com.
>>>
>>> To unsubscribe from this group, send email to google-apps-mgmt-apis+**
>>> [email protected].
>>> For more options, visit this group at http://groups.google.com/**
>>> group/google-apps-mgmt-apis?**hl=en<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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
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