Show / Hide Table of Contents

Class TeamServiceClientImpl

TeamService client wrapper implementation, for convenient use.

Inheritance
object
TeamServiceClient
TeamServiceClientImpl
Inherited Members
TeamServiceClient.DefaultEndpoint
TeamServiceClient.DefaultScopes
TeamServiceClient.ServiceMetadata
TeamServiceClient.CreateAsync(CancellationToken)
TeamServiceClient.Create()
TeamServiceClient.ShutdownDefaultChannelsAsync()
TeamServiceClient.GetTeamAsync(GetTeamRequest, CancellationToken)
TeamServiceClient.GetTeam(string, CallSettings)
TeamServiceClient.GetTeamAsync(string, CallSettings)
TeamServiceClient.GetTeamAsync(string, CancellationToken)
TeamServiceClient.GetTeam(TeamName, CallSettings)
TeamServiceClient.GetTeamAsync(TeamName, CallSettings)
TeamServiceClient.GetTeamAsync(TeamName, CancellationToken)
TeamServiceClient.ListTeams(string, string, int?, CallSettings)
TeamServiceClient.ListTeamsAsync(string, string, int?, CallSettings)
TeamServiceClient.ListTeams(NetworkName, string, int?, CallSettings)
TeamServiceClient.ListTeamsAsync(NetworkName, string, int?, CallSettings)
TeamServiceClient.CreateTeamAsync(CreateTeamRequest, CancellationToken)
TeamServiceClient.CreateTeam(string, Team, CallSettings)
TeamServiceClient.CreateTeamAsync(string, Team, CallSettings)
TeamServiceClient.CreateTeamAsync(string, Team, CancellationToken)
TeamServiceClient.CreateTeam(NetworkName, Team, CallSettings)
TeamServiceClient.CreateTeamAsync(NetworkName, Team, CallSettings)
TeamServiceClient.CreateTeamAsync(NetworkName, Team, CancellationToken)
TeamServiceClient.BatchCreateTeamsAsync(BatchCreateTeamsRequest, CancellationToken)
TeamServiceClient.BatchCreateTeams(string, IEnumerable<CreateTeamRequest>, CallSettings)
TeamServiceClient.BatchCreateTeamsAsync(string, IEnumerable<CreateTeamRequest>, CallSettings)
TeamServiceClient.BatchCreateTeamsAsync(string, IEnumerable<CreateTeamRequest>, CancellationToken)
TeamServiceClient.BatchCreateTeams(NetworkName, IEnumerable<CreateTeamRequest>, CallSettings)
TeamServiceClient.BatchCreateTeamsAsync(NetworkName, IEnumerable<CreateTeamRequest>, CallSettings)
TeamServiceClient.BatchCreateTeamsAsync(NetworkName, IEnumerable<CreateTeamRequest>, CancellationToken)
TeamServiceClient.UpdateTeamAsync(UpdateTeamRequest, CancellationToken)
TeamServiceClient.UpdateTeam(Team, FieldMask, CallSettings)
TeamServiceClient.UpdateTeamAsync(Team, FieldMask, CallSettings)
TeamServiceClient.UpdateTeamAsync(Team, FieldMask, CancellationToken)
TeamServiceClient.BatchUpdateTeamsAsync(BatchUpdateTeamsRequest, CancellationToken)
TeamServiceClient.BatchUpdateTeams(string, IEnumerable<UpdateTeamRequest>, CallSettings)
TeamServiceClient.BatchUpdateTeamsAsync(string, IEnumerable<UpdateTeamRequest>, CallSettings)
TeamServiceClient.BatchUpdateTeamsAsync(string, IEnumerable<UpdateTeamRequest>, CancellationToken)
TeamServiceClient.BatchUpdateTeams(NetworkName, IEnumerable<UpdateTeamRequest>, CallSettings)
TeamServiceClient.BatchUpdateTeamsAsync(NetworkName, IEnumerable<UpdateTeamRequest>, CallSettings)
TeamServiceClient.BatchUpdateTeamsAsync(NetworkName, IEnumerable<UpdateTeamRequest>, CancellationToken)
TeamServiceClient.BatchActivateTeamsAsync(BatchActivateTeamsRequest, CancellationToken)
TeamServiceClient.BatchActivateTeams(string, IEnumerable<string>, CallSettings)
TeamServiceClient.BatchActivateTeamsAsync(string, IEnumerable<string>, CallSettings)
TeamServiceClient.BatchActivateTeamsAsync(string, IEnumerable<string>, CancellationToken)
TeamServiceClient.BatchActivateTeams(NetworkName, IEnumerable<TeamName>, CallSettings)
TeamServiceClient.BatchActivateTeamsAsync(NetworkName, IEnumerable<TeamName>, CallSettings)
TeamServiceClient.BatchActivateTeamsAsync(NetworkName, IEnumerable<TeamName>, CancellationToken)
TeamServiceClient.BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest, CancellationToken)
TeamServiceClient.BatchDeactivateTeams(string, IEnumerable<string>, CallSettings)
TeamServiceClient.BatchDeactivateTeamsAsync(string, IEnumerable<string>, CallSettings)
TeamServiceClient.BatchDeactivateTeamsAsync(string, IEnumerable<string>, CancellationToken)
TeamServiceClient.BatchDeactivateTeams(NetworkName, IEnumerable<TeamName>, CallSettings)
TeamServiceClient.BatchDeactivateTeamsAsync(NetworkName, IEnumerable<TeamName>, CallSettings)
TeamServiceClient.BatchDeactivateTeamsAsync(NetworkName, IEnumerable<TeamName>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
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
TeamServiceClient.GrpcClient

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
TeamServiceClient.BatchActivateTeams(BatchActivateTeamsRequest, CallSettings)

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
TeamServiceClient.BatchActivateTeamsAsync(BatchActivateTeamsRequest, CallSettings)

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
TeamServiceClient.BatchCreateTeams(BatchCreateTeamsRequest, CallSettings)

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
TeamServiceClient.BatchCreateTeamsAsync(BatchCreateTeamsRequest, CallSettings)

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
TeamServiceClient.BatchDeactivateTeams(BatchDeactivateTeamsRequest, CallSettings)

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
TeamServiceClient.BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest, CallSettings)

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
TeamServiceClient.BatchUpdateTeams(BatchUpdateTeamsRequest, CallSettings)

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
TeamServiceClient.BatchUpdateTeamsAsync(BatchUpdateTeamsRequest, CallSettings)

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
TeamServiceClient.CreateTeam(CreateTeamRequest, CallSettings)

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
TeamServiceClient.CreateTeamAsync(CreateTeamRequest, CallSettings)

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
TeamServiceClient.GetTeam(GetTeamRequest, CallSettings)

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
TeamServiceClient.GetTeamAsync(GetTeamRequest, CallSettings)

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
TeamServiceClient.ListTeams(ListTeamsRequest, CallSettings)

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
TeamServiceClient.ListTeamsAsync(ListTeamsRequest, CallSettings)

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
TeamServiceClient.UpdateTeam(UpdateTeamRequest, CallSettings)

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.

Overrides
TeamServiceClient.UpdateTeamAsync(UpdateTeamRequest, CallSettings)
In this article
Back to top Generated by DocFX