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)

Remove photos for the user

public virtual UsersResource.PhotosResource.DeleteRequest Delete(string userKey)

Parameters

userKey string

Email or immutable ID of the user

Returns

UsersResource.PhotosResource.DeleteRequest

Get(string)

Retrieve photo of a user

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

Parameters

userKey string

Email or immutable ID of the user

Returns

UsersResource.PhotosResource.GetRequest

Patch(UserPhoto, string)

Add 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

Email or immutable ID of the user

Returns

UsersResource.PhotosResource.PatchRequest

Update(UserPhoto, string)

Add 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

Email or immutable ID of the user

Returns

UsersResource.PhotosResource.UpdateRequest