Class TeamServiceClientImpl
TeamService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class TeamServiceClientImpl : TeamServiceClient
Remarks
Provides methods for handling Team objects.
Constructors
TeamServiceClientImpl(TeamServiceClient, TeamServiceSettings, ILogger)
Constructs a client wrapper for the TeamService service, with the specified gRPC client and settings.
Declaration
public TeamServiceClientImpl(TeamService.TeamServiceClient grpcClient, TeamServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| TeamService.TeamServiceClient | grpcClient | The underlying gRPC client. |
| TeamServiceSettings | settings | The base TeamServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC TeamService client
Declaration
public override TeamService.TeamServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| TeamService.TeamServiceClient |
Overrides
Methods
BatchActivateTeams(BatchActivateTeamsRequest, CallSettings)
API to batch activate Team objects.
Declaration
public override BatchActivateTeamsResponse BatchActivateTeams(BatchActivateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchActivateTeamsResponse | The RPC response. |
Overrides
BatchActivateTeamsAsync(BatchActivateTeamsRequest, CallSettings)
API to batch activate Team objects.
Declaration
public override Task<BatchActivateTeamsResponse> BatchActivateTeamsAsync(BatchActivateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateTeamsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateTeams(BatchCreateTeamsRequest, CallSettings)
API to batch create Team objects.
Declaration
public override BatchCreateTeamsResponse BatchCreateTeams(BatchCreateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchCreateTeamsResponse | The RPC response. |
Overrides
BatchCreateTeamsAsync(BatchCreateTeamsRequest, CallSettings)
API to batch create Team objects.
Declaration
public override Task<BatchCreateTeamsResponse> BatchCreateTeamsAsync(BatchCreateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateTeamsResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivateTeams(BatchDeactivateTeamsRequest, CallSettings)
API to batch deactivate Team objects.
Declaration
public override BatchDeactivateTeamsResponse BatchDeactivateTeams(BatchDeactivateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchDeactivateTeamsResponse | The RPC response. |
Overrides
BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest, CallSettings)
API to batch deactivate Team objects.
Declaration
public override Task<BatchDeactivateTeamsResponse> BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateTeamsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateTeams(BatchUpdateTeamsRequest, CallSettings)
API to batch update Team objects.
Declaration
public override BatchUpdateTeamsResponse BatchUpdateTeams(BatchUpdateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateTeamsResponse | The RPC response. |
Overrides
BatchUpdateTeamsAsync(BatchUpdateTeamsRequest, CallSettings)
API to batch update Team objects.
Declaration
public override Task<BatchUpdateTeamsResponse> BatchUpdateTeamsAsync(BatchUpdateTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateTeamsResponse> | A Task containing the RPC response. |
Overrides
CreateTeam(CreateTeamRequest, CallSettings)
API to create a Team object.
Declaration
public override Team CreateTeam(CreateTeamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateTeamRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Team | The RPC response. |
Overrides
CreateTeamAsync(CreateTeamRequest, CallSettings)
API to create a Team object.
Declaration
public override Task<Team> CreateTeamAsync(CreateTeamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateTeamRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Team> | A Task containing the RPC response. |
Overrides
GetTeam(GetTeamRequest, CallSettings)
API to retrieve a Team object.
Declaration
public override Team GetTeam(GetTeamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTeamRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Team | The RPC response. |
Overrides
GetTeamAsync(GetTeamRequest, CallSettings)
API to retrieve a Team object.
Declaration
public override Task<Team> GetTeamAsync(GetTeamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTeamRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Team> | A Task containing the RPC response. |
Overrides
ListTeams(ListTeamsRequest, CallSettings)
API to retrieve a list of Team objects.
Declaration
public override PagedEnumerable<ListTeamsResponse, Team> ListTeams(ListTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListTeamsResponse, Team> | A pageable sequence of Team resources. |
Overrides
ListTeamsAsync(ListTeamsRequest, CallSettings)
API to retrieve a list of Team objects.
Declaration
public override PagedAsyncEnumerable<ListTeamsResponse, Team> ListTeamsAsync(ListTeamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTeamsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListTeamsResponse, Team> | A pageable asynchronous sequence of Team resources. |
Overrides
UpdateTeam(UpdateTeamRequest, CallSettings)
API to update a Team object.
Declaration
public override Team UpdateTeam(UpdateTeamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTeamRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Team | The RPC response. |
Overrides
UpdateTeamAsync(UpdateTeamRequest, CallSettings)
API to update a Team object.
Declaration
public override Task<Team> UpdateTeamAsync(UpdateTeamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTeamRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Team> | A Task containing the RPC response. |