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 |
---|
Photos() |
Modifier and Type | Method and Description |
---|---|
Directory.Users.Photos.Delete |
delete(String userKey)
Removes the user's photo.
|
Directory.Users.Photos.Get |
get(String userKey)
Retrieves the user's photo.
|
Directory.Users.Photos.Patch |
patch(String userKey,
UserPhoto content)
Adds a photo for the user.
|
Directory.Users.Photos.Update |
update(String userKey,
UserPhoto content)
Adds a photo for the user.
|
public Directory.Users.Photos.Delete delete(String userKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.IOException
public Directory.Users.Photos.Get get(String userKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.IOException
public Directory.Users.Photos.Patch patch(String userKey, UserPhoto content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.content
- the UserPhoto
IOException
public Directory.Users.Photos.Update update(String userKey, UserPhoto content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userKey
- Identifies the user in the API request. The value can be the user's primary email address, alias
email address, or unique user ID.content
- the UserPhoto
IOException
Copyright © 2011–2021 Google. All rights reserved.