UsersServiceImpl

public class UsersServiceImpl extends BaseApiService<Directory>
implements Service

Nested Class Summary

class UsersServiceImpl.Builder Builder for creating an instance of UsersServiceImpl  

Inherited Field Summary

Public Method Summary

static UsersServiceImpl
fromConfiguration(CredentialFactory credentialFactory)
Creates an instance of UsersServiceImpl from connector configuration.
ListenableFuture<User>
getUserMapping(String userId)
Gets User from Google Admin SDK API.
Iterable<User>
listUsers(String schemaName)
Lists all Users using Google Admin SDK API.
ListenableFuture<User>
updateUserMapping(String userId, String schemaName, String attributeName, Optional<String> value)
Updates User's custom schema attributes using Google Admin SDK API.

Protected Method Summary

void
void

Inherited Method Summary

Public Methods

public static UsersServiceImpl fromConfiguration (CredentialFactory credentialFactory)

Creates an instance of UsersServiceImpl from connector configuration.

Parameters
credentialFactory
Throws
GeneralSecurityException
IOException

public ListenableFuture<User> getUserMapping (String userId)

Gets User from Google Admin SDK API.

Parameters
userId
Throws
IOException

public Iterable<User> listUsers (String schemaName)

Lists all Users using Google Admin SDK API.

Parameters
schemaName
Throws
IOException

public ListenableFuture<User> updateUserMapping (String userId, String schemaName, String attributeName, Optional<String> value)

Updates User's custom schema attributes using Google Admin SDK API.

Parameters
userId
schemaName
attributeName
value
Throws
IOException

Protected Methods

protected void shutDown ()

Throws
Exception

protected void startUp ()

Throws
Exception

Send feedback about...

Cloud Search
Cloud Search