Package | Description |
---|---|
com.google.api.services.directory | |
com.google.api.services.directory.model |
Modifier and Type | Method and Description |
---|---|
Directory.Users.Photos.Patch |
Directory.Users.Photos.patch(String userKey,
UserPhoto content)
Adds a photo for the user.
|
Directory.Users.Photos.Update |
Directory.Users.Photos.update(String userKey,
UserPhoto content)
Adds a photo for the user.
|
Constructor and Description |
---|
Patch(String userKey,
UserPhoto content)
Adds a photo for the user.
|
Update(String userKey,
UserPhoto content)
Adds a photo for the user.
|
Modifier and Type | Method and Description |
---|---|
UserPhoto |
UserPhoto.clone() |
UserPhoto |
UserPhoto.encodePhotoData(byte[] photoData)
The user photo's upload data in [web-safe
Base64](https://en.wikipedia.org/wiki/Base64#URL_applications) format in bytes.
|
UserPhoto |
UserPhoto.set(String fieldName,
Object value) |
UserPhoto |
UserPhoto.setEtag(String etag)
ETag of the resource.
|
UserPhoto |
UserPhoto.setHeight(Integer height)
Height of the photo in pixels.
|
UserPhoto |
UserPhoto.setId(String id)
The ID the API uses to uniquely identify the user.
|
UserPhoto |
UserPhoto.setKind(String kind)
The type of the API resource.
|
UserPhoto |
UserPhoto.setMimeType(String mimeType)
The MIME type of the photo.
|
UserPhoto |
UserPhoto.setPhotoData(String photoData)
The user photo's upload data in [web-safe
Base64](https://en.wikipedia.org/wiki/Base64#URL_applications) format in bytes.
|
UserPhoto |
UserPhoto.setPrimaryEmail(String primaryEmail)
The user's primary email address.
|
UserPhoto |
UserPhoto.setWidth(Integer width)
Width of the photo in pixels.
|
Copyright © 2011–2021 Google. All rights reserved.