Class TeamService.TeamServiceBase
Base class for server-side implementations of TeamService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(TeamService), "BindService")]
public abstract class TeamService.TeamServiceBase
Methods
BatchActivateTeams(BatchActivateTeamsRequest, ServerCallContext)
API to batch activate Team objects.
Declaration
public virtual Task<BatchActivateTeamsResponse> BatchActivateTeams(BatchActivateTeamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateTeamsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateTeamsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateTeams(BatchCreateTeamsRequest, ServerCallContext)
API to batch create Team objects.
Declaration
public virtual Task<BatchCreateTeamsResponse> BatchCreateTeams(BatchCreateTeamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateTeamsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateTeamsResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateTeams(BatchDeactivateTeamsRequest, ServerCallContext)
API to batch deactivate Team objects.
Declaration
public virtual Task<BatchDeactivateTeamsResponse> BatchDeactivateTeams(BatchDeactivateTeamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateTeamsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateTeamsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateTeams(BatchUpdateTeamsRequest, ServerCallContext)
API to batch update Team objects.
Declaration
public virtual Task<BatchUpdateTeamsResponse> BatchUpdateTeams(BatchUpdateTeamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateTeamsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateTeamsResponse> | The response to send back to the client (wrapped by a task). |
CreateTeam(CreateTeamRequest, ServerCallContext)
API to create a Team object.
Declaration
public virtual Task<Team> CreateTeam(CreateTeamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateTeamRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Team> | The response to send back to the client (wrapped by a task). |
GetTeam(GetTeamRequest, ServerCallContext)
API to retrieve a Team object.
Declaration
public virtual Task<Team> GetTeam(GetTeamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTeamRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Team> | The response to send back to the client (wrapped by a task). |
ListTeams(ListTeamsRequest, ServerCallContext)
API to retrieve a list of Team objects.
Declaration
public virtual Task<ListTeamsResponse> ListTeams(ListTeamsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTeamsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListTeamsResponse> | The response to send back to the client (wrapped by a task). |
UpdateTeam(UpdateTeamRequest, ServerCallContext)
API to update a Team object.
Declaration
public virtual Task<Team> UpdateTeam(UpdateTeamRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTeamRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Team> | The response to send back to the client (wrapped by a task). |