Class UsersResource.PhotosResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "photos" collection of methods.
public class UsersResource.PhotosResource
- Inheritance
-
UsersResource.PhotosResource
- Inherited Members
Constructors
PhotosResource(IClientService)
Constructs a new resource.
public PhotosResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string)
Removes the user's photo.
public virtual UsersResource.PhotosResource.DeleteRequest Delete(string userKey)
Parameters
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
Returns
Get(string)
Retrieves the user's photo.
public virtual UsersResource.PhotosResource.GetRequest Get(string userKey)
Parameters
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
Returns
Patch(UserPhoto, string)
Adds a photo for the user. This method supports patch semantics.
public virtual UsersResource.PhotosResource.PatchRequest Patch(UserPhoto body, string userKey)
Parameters
body
UserPhotoThe body of the request.
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
Returns
Update(UserPhoto, string)
Adds a photo for the user.
public virtual UsersResource.PhotosResource.UpdateRequest Update(UserPhoto body, string userKey)
Parameters
body
UserPhotoThe body of the request.
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.