Table of Contents

Class UsersResource.WatchRequest

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

Watch for changes in users list

public class UsersResource.WatchRequest : DirectoryBaseServiceRequest<Channel>
Inheritance
UsersResource.WatchRequest
Inherited Members

Constructors

WatchRequest(IClientService, Channel)

Constructs a new Watch request.

public WatchRequest(IClientService service, Channel body)

Parameters

service IClientService
body Channel

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

Customer

Immutable ID of the G Suite account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.

public virtual string Customer { get; set; }

Property Value

string

Domain

Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead.

public virtual string Domain { get; set; }

Property Value

string

Event

Event on which subscription is intended (if subscribing)

public virtual UsersResource.WatchRequest.EventEnum? Event { get; set; }

Property Value

UsersResource.WatchRequest.EventEnum?

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MaxResults

Maximum number of results to return. Default is 100. Max allowed is 500

public virtual int? MaxResults { get; set; }

Property Value

int?

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

OrderBy

Column to use for sorting results

public virtual UsersResource.WatchRequest.OrderByEnum? OrderBy { get; set; }

Property Value

UsersResource.WatchRequest.OrderByEnum?

PageToken

Token to specify next page in the list

public virtual string PageToken { get; set; }

Property Value

string

Projection

What subset of fields to fetch for this user.

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

Property Value

UsersResource.WatchRequest.ProjectionEnum?

Query

Query string search. Should be of the form "". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-users

public virtual string Query { get; set; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

ShowDeleted

If set to true retrieves the list of deleted users. Default is false

public virtual string ShowDeleted { get; set; }

Property Value

string

SortOrder

Whether to return results in ascending or descending order.

public virtual UsersResource.WatchRequest.SortOrderEnum? SortOrder { get; set; }

Property Value

UsersResource.WatchRequest.SortOrderEnum?

ViewType

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

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

Property Value

UsersResource.WatchRequest.ViewTypeEnum?

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Watch parameter list.

protected override void InitParameters()