Show / Hide Table of Contents

Class UsersResource.ListRequest

Lists users that are accessible to the current user. If two users have user roles on the same partner or advertiser, they can access each other. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListUsersResponse>
DisplayVideoBaseServiceRequest<ListUsersResponse>
UsersResource.ListRequest
Implements
IClientServiceRequest<ListUsersResponse>
IClientServiceRequest
Inherited Members
DisplayVideoBaseServiceRequest<ListUsersResponse>.Xgafv
DisplayVideoBaseServiceRequest<ListUsersResponse>.AccessToken
DisplayVideoBaseServiceRequest<ListUsersResponse>.Alt
DisplayVideoBaseServiceRequest<ListUsersResponse>.Callback
DisplayVideoBaseServiceRequest<ListUsersResponse>.Fields
DisplayVideoBaseServiceRequest<ListUsersResponse>.Key
DisplayVideoBaseServiceRequest<ListUsersResponse>.OauthToken
DisplayVideoBaseServiceRequest<ListUsersResponse>.PrettyPrint
DisplayVideoBaseServiceRequest<ListUsersResponse>.QuotaUser
DisplayVideoBaseServiceRequest<ListUsersResponse>.UploadType
DisplayVideoBaseServiceRequest<ListUsersResponse>.UploadProtocol
ClientServiceRequest<ListUsersResponse>.Execute()
ClientServiceRequest<ListUsersResponse>.ExecuteAsStream()
ClientServiceRequest<ListUsersResponse>.ExecuteAsync()
ClientServiceRequest<ListUsersResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListUsersResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListUsersResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListUsersResponse>.CreateRequest(bool?)
ClientServiceRequest<ListUsersResponse>.GenerateRequestUri()
ClientServiceRequest<ListUsersResponse>.GetBody()
ClientServiceRequest<ListUsersResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListUsersResponse>.ETagAction
ClientServiceRequest<ListUsersResponse>.ModifyRequest
ClientServiceRequest<ListUsersResponse>.ValidateParameters
ClientServiceRequest<ListUsersResponse>.ApiVersion
ClientServiceRequest<ListUsersResponse>.RequestParameters
ClientServiceRequest<ListUsersResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class UsersResource.ListRequest : DisplayVideoBaseServiceRequest<ListUsersResponse>, IClientServiceRequest<ListUsersResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService)

Constructs a new List request.

Declaration
public ListRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Filter

Allows filtering by user fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator AND. * A restriction has the form of {field} {operator} {value}. * The displayName and email fields must use the HAS (:) operator.

  • The lastLoginTime field must use either the LESS THAN OR EQUAL TO (&lt;=) or GREATER THAN OR EQUAL TO (&gt;=) operator. * All other fields must use the EQUALS (=) operator. Supported fields:
  • assignedUserRole.advertiserId * assignedUserRole.entityType: This is synthetic field of AssignedUserRole used for filtering. Identifies the type of entity to which the user role is assigned. Valid values are Partner and Advertiser. * assignedUserRole.parentPartnerId: This is a synthetic field of AssignedUserRole used for filtering. Identifies the parent partner of the entity to which the user role is assigned. * assignedUserRole.partnerId * assignedUserRole.userRole * displayName * email * lastLoginTime (input in ISO 8601 format, or YYYY-MM-DDTHH:MM:SSZ) Examples: * The user with displayName containing "foo": displayName:"foo" * The user with email containing "bar": email:"bar" * All users with standard user roles: assignedUserRole.userRole="STANDARD" * All users with user roles for partner 123: assignedUserRole.partnerId="123" * All users with user roles for advertiser 123: assignedUserRole.advertiserId="123" * All users with partner level user roles: entityType="PARTNER" * All users with user roles for partner 123 and advertisers under partner 123: parentPartnerId="123" * All users that last logged in on or after 2023-01-01T00:00:00Z (format of ISO 8601): lastLoginTime&gt;="2023-01-01T00:00:00Z" The length of this field should be no more than 500 characters. Reference our filter LIST requests guide for more information.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListUsersResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListUsersResponse>.MethodName

OrderBy

Field by which to sort the list. Acceptable values are: * displayName (default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. For example, displayName desc.

Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type Description
string

PageSize

Requested page size. Must be between 1 and 200. If unspecified will default to 100.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to ListUsers method. If not specified, the first page of results will be returned.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListUsersResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
DisplayVideoBaseServiceRequest<ListUsersResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX