public class Directory.Users.Photos extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Users.Photos.Delete |
class |
Directory.Users.Photos.Get |
class |
Directory.Users.Photos.Patch |
class |
Directory.Users.Photos.Update |
| Constructor and Description |
|---|
Directory.Users.Photos() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Users.Photos.Delete |
delete(String userKey)
Remove photos for the user
Create a request for the method "photos.delete".
|
Directory.Users.Photos.Get |
get(String userKey)
Retrieve photo of a user
Create a request for the method "photos.get".
|
Directory.Users.Photos.Patch |
patch(String userKey,
UserPhoto content)
Add a photo for the user.
|
Directory.Users.Photos.Update |
update(String userKey,
UserPhoto content)
Add a photo for the user
Create a request for the method "photos.update".
|
public Directory.Users.Photos.Delete delete(String userKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the userIOExceptionpublic Directory.Users.Photos.Get get(String userKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the userIOExceptionpublic Directory.Users.Photos.Patch patch(String userKey, UserPhoto content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the usercontent - the UserPhotoIOExceptionpublic Directory.Users.Photos.Update update(String userKey, UserPhoto content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userKey - Email or immutable Id of the usercontent - the UserPhotoIOException