Class UserService.UserServiceBase
Base class for server-side implementations of UserService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(UserService), "BindService")]
public abstract class UserService.UserServiceBase
Methods
GetUser(GetUserRequest, ServerCallContext)
API to retrieve 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). |