| Package | Description |
|---|---|
| com.google.api.services.admin.directory | |
| com.google.api.services.admin.directory.model |
| Modifier and Type | Method and Description |
|---|---|
Directory.Users.Photos.Patch |
Directory.Users.Photos.patch(String userKey,
UserPhoto content)
Add a photo for the user.
|
Directory.Users.Photos.Update |
Directory.Users.Photos.update(String userKey,
UserPhoto content)
Add a photo for the user
Create a request for the method "photos.update".
|
| Constructor and Description |
|---|
Directory.Users.Photos.Patch(String userKey,
UserPhoto content)
Add a photo for the user.
|
Directory.Users.Photos.Update(String userKey,
UserPhoto content)
Add a photo for the user
Create a request for the method "photos.update".
|
| Modifier and Type | Method and Description |
|---|---|
UserPhoto |
UserPhoto.clone() |
UserPhoto |
UserPhoto.encodePhotoData(byte[] photoData)
Base64 encoded photo data
|
UserPhoto |
UserPhoto.set(String fieldName,
Object value) |
UserPhoto |
UserPhoto.setHeight(Integer height)
Height in pixels of the photo
|
UserPhoto |
UserPhoto.setId(String id)
Unique identifier of User (Read-only)
|
UserPhoto |
UserPhoto.setKind(String kind)
Kind of resource this is.
|
UserPhoto |
UserPhoto.setMimeType(String mimeType)
Mime Type of the photo
|
UserPhoto |
UserPhoto.setPhotoData(String photoData)
Base64 encoded photo data
|
UserPhoto |
UserPhoto.setPrimaryEmail(String primaryEmail)
Primary email of User (Read-only)
|
UserPhoto |
UserPhoto.setWidth(Integer width)
Width in pixels of the photo
|