Show / Hide Table of Contents

Class UserService.UserServiceBase

Base class for server-side implementations of UserService

Inheritance
object
UserService.UserServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(UserService), "BindService")]
public abstract class UserService.UserServiceBase

Methods

BatchActivateUsers(BatchActivateUsersRequest, ServerCallContext)

Activates a list of User objects.

Declaration
public virtual Task<BatchActivateUsersResponse> BatchActivateUsers(BatchActivateUsersRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchActivateUsersRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchActivateUsersResponse>

The response to send back to the client (wrapped by a task).

BatchCreateUsers(BatchCreateUsersRequest, ServerCallContext)

Creates User objects.

Declaration
public virtual Task<BatchCreateUsersResponse> BatchCreateUsers(BatchCreateUsersRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchCreateUsersRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchCreateUsersResponse>

The response to send back to the client (wrapped by a task).

BatchDeactivateUsers(BatchDeactivateUsersRequest, ServerCallContext)

Deactivates a list of User objects.

Declaration
public virtual Task<BatchDeactivateUsersResponse> BatchDeactivateUsers(BatchDeactivateUsersRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchDeactivateUsersRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchDeactivateUsersResponse>

The response to send back to the client (wrapped by a task).

BatchUpdateUsers(BatchUpdateUsersRequest, ServerCallContext)

Batch updates User objects.

Declaration
public virtual Task<BatchUpdateUsersResponse> BatchUpdateUsers(BatchUpdateUsersRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchUpdateUsersRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchUpdateUsersResponse>

The response to send back to the client (wrapped by a task).

CreateUser(CreateUserRequest, ServerCallContext)

Creates a User object.

Declaration
public virtual Task<User> CreateUser(CreateUserRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateUserRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<User>

The response to send back to the client (wrapped by a task).

GetUser(GetUserRequest, ServerCallContext)

Retrieves a User object.

To get the current user, the resource name networks/{networkCode}/users/me can be used.

Declaration
public virtual Task<User> GetUser(GetUserRequest request, ServerCallContext context)
Parameters
Type Name Description
GetUserRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<User>

The response to send back to the client (wrapped by a task).

ListUsers(ListUsersRequest, ServerCallContext)

Lists User objects.

Declaration
public virtual Task<ListUsersResponse> ListUsers(ListUsersRequest request, ServerCallContext context)
Parameters
Type Name Description
ListUsersRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ListUsersResponse>

The response to send back to the client (wrapped by a task).

UpdateUser(UpdateUserRequest, ServerCallContext)

Updates a User object.

Declaration
public virtual Task<User> UpdateUser(UpdateUserRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateUserRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<User>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX