Show / Hide Table of Contents

Class TeamService.TeamServiceClient

Client for TeamService

Inheritance
object
ClientBase
ClientBase<TeamService.TeamServiceClient>
TeamService.TeamServiceClient
Inherited Members
ClientBase<TeamService.TeamServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class TeamService.TeamServiceClient : ClientBase<TeamService.TeamServiceClient>

Constructors

TeamServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected TeamServiceClient()

TeamServiceClient(CallInvoker)

Creates a new client for TeamService that uses a custom CallInvoker.

Declaration
public TeamServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

TeamServiceClient(ChannelBase)

Creates a new client for TeamService

Declaration
public TeamServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

TeamServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected TeamServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

BatchActivateTeams(BatchActivateTeamsRequest, CallOptions)

API to batch activate Team objects.

Declaration
public virtual BatchActivateTeamsResponse BatchActivateTeams(BatchActivateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchActivateTeamsResponse

The response received from the server.

BatchActivateTeams(BatchActivateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch activate Team objects.

Declaration
public virtual BatchActivateTeamsResponse BatchActivateTeams(BatchActivateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchActivateTeamsResponse

The response received from the server.

BatchActivateTeamsAsync(BatchActivateTeamsRequest, CallOptions)

API to batch activate Team objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateTeamsResponse> BatchActivateTeamsAsync(BatchActivateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateTeamsResponse>

The call object.

BatchActivateTeamsAsync(BatchActivateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch activate Team objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateTeamsResponse> BatchActivateTeamsAsync(BatchActivateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateTeamsResponse>

The call object.

BatchCreateTeams(BatchCreateTeamsRequest, CallOptions)

API to batch create Team objects.

Declaration
public virtual BatchCreateTeamsResponse BatchCreateTeams(BatchCreateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateTeamsResponse

The response received from the server.

BatchCreateTeams(BatchCreateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch create Team objects.

Declaration
public virtual BatchCreateTeamsResponse BatchCreateTeams(BatchCreateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchCreateTeamsResponse

The response received from the server.

BatchCreateTeamsAsync(BatchCreateTeamsRequest, CallOptions)

API to batch create Team objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateTeamsResponse> BatchCreateTeamsAsync(BatchCreateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateTeamsResponse>

The call object.

BatchCreateTeamsAsync(BatchCreateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch create Team objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateTeamsResponse> BatchCreateTeamsAsync(BatchCreateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateTeamsResponse>

The call object.

BatchDeactivateTeams(BatchDeactivateTeamsRequest, CallOptions)

API to batch deactivate Team objects.

Declaration
public virtual BatchDeactivateTeamsResponse BatchDeactivateTeams(BatchDeactivateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchDeactivateTeamsResponse

The response received from the server.

BatchDeactivateTeams(BatchDeactivateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch deactivate Team objects.

Declaration
public virtual BatchDeactivateTeamsResponse BatchDeactivateTeams(BatchDeactivateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchDeactivateTeamsResponse

The response received from the server.

BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest, CallOptions)

API to batch deactivate Team objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateTeamsResponse> BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchDeactivateTeamsResponse>

The call object.

BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch deactivate Team objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateTeamsResponse> BatchDeactivateTeamsAsync(BatchDeactivateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchDeactivateTeamsResponse>

The call object.

BatchUpdateTeams(BatchUpdateTeamsRequest, CallOptions)

API to batch update Team objects.

Declaration
public virtual BatchUpdateTeamsResponse BatchUpdateTeams(BatchUpdateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateTeamsResponse

The response received from the server.

BatchUpdateTeams(BatchUpdateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch update Team objects.

Declaration
public virtual BatchUpdateTeamsResponse BatchUpdateTeams(BatchUpdateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchUpdateTeamsResponse

The response received from the server.

BatchUpdateTeamsAsync(BatchUpdateTeamsRequest, CallOptions)

API to batch update Team objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateTeamsResponse> BatchUpdateTeamsAsync(BatchUpdateTeamsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateTeamsResponse>

The call object.

BatchUpdateTeamsAsync(BatchUpdateTeamsRequest, Metadata, DateTime?, CancellationToken)

API to batch update Team objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateTeamsResponse> BatchUpdateTeamsAsync(BatchUpdateTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateTeamsResponse>

The call object.

CreateTeam(CreateTeamRequest, CallOptions)

API to create a Team object.

Declaration
public virtual Team CreateTeam(CreateTeamRequest request, CallOptions options)
Parameters
Type Name Description
CreateTeamRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Team

The response received from the server.

CreateTeam(CreateTeamRequest, Metadata, DateTime?, CancellationToken)

API to create a Team object.

Declaration
public virtual Team CreateTeam(CreateTeamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateTeamRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
Team

The response received from the server.

CreateTeamAsync(CreateTeamRequest, CallOptions)

API to create a Team object.

Declaration
public virtual AsyncUnaryCall<Team> CreateTeamAsync(CreateTeamRequest request, CallOptions options)
Parameters
Type Name Description
CreateTeamRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Team>

The call object.

CreateTeamAsync(CreateTeamRequest, Metadata, DateTime?, CancellationToken)

API to create a Team object.

Declaration
public virtual AsyncUnaryCall<Team> CreateTeamAsync(CreateTeamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateTeamRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Team>

The call object.

GetTeam(GetTeamRequest, CallOptions)

API to retrieve a Team object.

Declaration
public virtual Team GetTeam(GetTeamRequest request, CallOptions options)
Parameters
Type Name Description
GetTeamRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Team

The response received from the server.

GetTeam(GetTeamRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a Team object.

Declaration
public virtual Team GetTeam(GetTeamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetTeamRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
Team

The response received from the server.

GetTeamAsync(GetTeamRequest, CallOptions)

API to retrieve a Team object.

Declaration
public virtual AsyncUnaryCall<Team> GetTeamAsync(GetTeamRequest request, CallOptions options)
Parameters
Type Name Description
GetTeamRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Team>

The call object.

GetTeamAsync(GetTeamRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a Team object.

Declaration
public virtual AsyncUnaryCall<Team> GetTeamAsync(GetTeamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetTeamRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Team>

The call object.

ListTeams(ListTeamsRequest, CallOptions)

API to retrieve a list of Team objects.

Declaration
public virtual ListTeamsResponse ListTeams(ListTeamsRequest request, CallOptions options)
Parameters
Type Name Description
ListTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListTeamsResponse

The response received from the server.

ListTeams(ListTeamsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of Team objects.

Declaration
public virtual ListTeamsResponse ListTeams(ListTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListTeamsResponse

The response received from the server.

ListTeamsAsync(ListTeamsRequest, CallOptions)

API to retrieve a list of Team objects.

Declaration
public virtual AsyncUnaryCall<ListTeamsResponse> ListTeamsAsync(ListTeamsRequest request, CallOptions options)
Parameters
Type Name Description
ListTeamsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListTeamsResponse>

The call object.

ListTeamsAsync(ListTeamsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of Team objects.

Declaration
public virtual AsyncUnaryCall<ListTeamsResponse> ListTeamsAsync(ListTeamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListTeamsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListTeamsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override TeamService.TeamServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
TeamService.TeamServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.TeamService.TeamServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateTeam(UpdateTeamRequest, CallOptions)

API to update a Team object.

Declaration
public virtual Team UpdateTeam(UpdateTeamRequest request, CallOptions options)
Parameters
Type Name Description
UpdateTeamRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Team

The response received from the server.

UpdateTeam(UpdateTeamRequest, Metadata, DateTime?, CancellationToken)

API to update a Team object.

Declaration
public virtual Team UpdateTeam(UpdateTeamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateTeamRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
Team

The response received from the server.

UpdateTeamAsync(UpdateTeamRequest, CallOptions)

API to update a Team object.

Declaration
public virtual AsyncUnaryCall<Team> UpdateTeamAsync(UpdateTeamRequest request, CallOptions options)
Parameters
Type Name Description
UpdateTeamRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Team>

The call object.

UpdateTeamAsync(UpdateTeamRequest, Metadata, DateTime?, CancellationToken)

API to update a Team object.

Declaration
public virtual AsyncUnaryCall<Team> UpdateTeamAsync(UpdateTeamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateTeamRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Team>

The call object.

In this article
Back to top Generated by DocFX