Table of Contents

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 string

Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.

Returns

UsersResource.PhotosResource.DeleteRequest

Get(string)

Retrieves the user's photo.

public virtual UsersResource.PhotosResource.GetRequest Get(string userKey)

Parameters

userKey string

Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.

Returns

UsersResource.PhotosResource.GetRequest

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 UserPhoto

The body of the request.

userKey string

Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.

Returns

UsersResource.PhotosResource.PatchRequest

Update(UserPhoto, string)

Adds a photo for the user.

public virtual UsersResource.PhotosResource.UpdateRequest Update(UserPhoto body, string userKey)

Parameters

body UserPhoto

The body of the request.

userKey string

Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.

Returns

UsersResource.PhotosResource.UpdateRequest