public class Directory.Users.Photos
extends java.lang.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 |
---|
Photos() |
Modifier and Type | Method and Description |
---|---|
Directory.Users.Photos.Delete |
delete(java.lang.String userKey)
Remove photos for the user
Create a request for the method "photos.delete".
|
Directory.Users.Photos.Get |
get(java.lang.String userKey)
Retrieve photo of a user
Create a request for the method "photos.get".
|
Directory.Users.Photos.Patch |
patch(java.lang.String userKey,
UserPhoto content)
Add a photo for the user.
|
Directory.Users.Photos.Update |
update(java.lang.String userKey,
UserPhoto content)
Add a photo for the user
Create a request for the method "photos.update".
|
public Directory.Users.Photos.Delete delete(java.lang.String userKey) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Email or immutable ID of the userjava.io.IOException
public Directory.Users.Photos.Get get(java.lang.String userKey) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Email or immutable ID of the userjava.io.IOException
public Directory.Users.Photos.Patch patch(java.lang.String userKey, UserPhoto content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Email or immutable ID of the usercontent
- the UserPhoto
java.io.IOException
public Directory.Users.Photos.Update update(java.lang.String userKey, UserPhoto content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Email or immutable ID of the usercontent
- the UserPhoto
java.io.IOException