Show / Hide Table of Contents

Class AccountsResource.ClientsResource.UsersResource

The "users" collection of methods.

Inheritance
object
AccountsResource.ClientsResource.UsersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.ClientsResource.UsersResource

Constructors

UsersResource(IClientService)

Constructs a new resource.

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

Methods

Get(long, long, long)

Retrieves an existing client user.

Declaration
public virtual AccountsResource.ClientsResource.UsersResource.GetRequest Get(long accountId, long clientAccountId, long userId)
Parameters
Type Name Description
long accountId

Numerical account ID of the client's sponsor buyer. (required)

long clientAccountId

Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)

long userId

Numerical identifier of the user to retrieve. (required)

Returns
Type Description
AccountsResource.ClientsResource.UsersResource.GetRequest

List(long, string)

Lists all the known client users for a specified sponsor buyer account ID.

Declaration
public virtual AccountsResource.ClientsResource.UsersResource.ListRequest List(long accountId, string clientAccountId)
Parameters
Type Name Description
long accountId

Numerical account ID of the sponsor buyer of the client to list users for. (required)

string clientAccountId

The account ID of the client buyer to list users for. (required) You must specify either a string representation of a numerical account identifier or the - character to list all the client users for all the clients of a given sponsor buyer.

Returns
Type Description
AccountsResource.ClientsResource.UsersResource.ListRequest

Update(ClientUser, long, long, long)

Updates an existing client user. Only the user status can be changed on update.

Declaration
public virtual AccountsResource.ClientsResource.UsersResource.UpdateRequest Update(ClientUser body, long accountId, long clientAccountId, long userId)
Parameters
Type Name Description
ClientUser body

The body of the request.

long accountId

Numerical account ID of the client's sponsor buyer. (required)

long clientAccountId

Numerical account ID of the client buyer that the user to be retrieved is associated with. (required)

long userId

Numerical identifier of the user to retrieve. (required)

Returns
Type Description
AccountsResource.ClientsResource.UsersResource.UpdateRequest
In this article
Back to top Generated by DocFX