Table of Contents

Class UsersResource.GetRequest

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

retrieve user

public class UsersResource.GetRequest : DirectoryBaseServiceRequest<User>
Inheritance
UsersResource.GetRequest
Inherited Members

Constructors

GetRequest(IClientService, string)

Constructs a new Get request.

public GetRequest(IClientService service, string userKey)

Parameters

service IClientService
userKey string

Properties

CustomFieldMask

Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.

public virtual string CustomFieldMask { get; set; }

Property Value

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

Projection

What subset of fields to fetch for this user.

public virtual UsersResource.GetRequest.ProjectionEnum? Projection { get; set; }

Property Value

UsersResource.GetRequest.ProjectionEnum?

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

UserKey

Email or immutable ID of the user

public virtual string UserKey { get; }

Property Value

string

ViewType

Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.

public virtual UsersResource.GetRequest.ViewTypeEnum? ViewType { get; set; }

Property Value

UsersResource.GetRequest.ViewTypeEnum?

Methods

InitParameters()

Initializes Get parameter list.

protected override void InitParameters()