Show / Hide Table of Contents

Class RoleService.RoleServiceBase

Base class for server-side implementations of RoleService

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

Methods

GetRole(GetRoleRequest, ServerCallContext)

API to retrieve a Role object.

Declaration
public virtual Task<Role> GetRole(GetRoleRequest request, ServerCallContext context)
Parameters
Type Name Description
GetRoleRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<Role>

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

ListRoles(ListRolesRequest, ServerCallContext)

API to retrieve a list of Role objects.

Declaration
public virtual Task<ListRolesResponse> ListRoles(ListRolesRequest request, ServerCallContext context)
Parameters
Type Name Description
ListRolesRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<ListRolesResponse>

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

In this article
Back to top Generated by DocFX