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
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.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 budget.budget_segments.date_range.end_date
field must use the
LESS THAN (<)
operator. * The displayName and
emailfield must use the
HAS (:)operator. * All other fields must use the
EQUALS (=)operator. Supported fields: *
assignedUserRole.advertiserId`
assignedUserRole.entityType
* This is synthetic field ofAssignedUserRole
used for filtering. Identifies the type of entity to which the user role is assigned. Valid values arePartner
andAdvertiser
. *assignedUserRole.parentPartnerId
* This is a synthetic field ofAssignedUserRole
used for filtering. Identifies the parent partner of the entity to which the user role is assigned. *assignedUserRole.partnerId
*assignedUserRole.userRole
*displayName
*email
Examples: * The user withdisplayName
containing "foo":displayName:"foo"
* The user withemail
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"
The length of this field should be no more than 500 characters. Reference our filterLIST
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()