Show / Hide Table of Contents

Class LabelServiceClientImpl

LabelService client wrapper implementation, for convenient use.

Inheritance
object
LabelServiceClient
LabelServiceClientImpl
Inherited Members
LabelServiceClient.DefaultEndpoint
LabelServiceClient.DefaultScopes
LabelServiceClient.ServiceMetadata
LabelServiceClient.CreateAsync(CancellationToken)
LabelServiceClient.Create()
LabelServiceClient.ShutdownDefaultChannelsAsync()
LabelServiceClient.GetLabelAsync(GetLabelRequest, CancellationToken)
LabelServiceClient.GetLabel(string, CallSettings)
LabelServiceClient.GetLabelAsync(string, CallSettings)
LabelServiceClient.GetLabelAsync(string, CancellationToken)
LabelServiceClient.GetLabel(LabelName, CallSettings)
LabelServiceClient.GetLabelAsync(LabelName, CallSettings)
LabelServiceClient.GetLabelAsync(LabelName, CancellationToken)
LabelServiceClient.ListLabels(string, string, int?, CallSettings)
LabelServiceClient.ListLabelsAsync(string, string, int?, CallSettings)
LabelServiceClient.ListLabels(NetworkName, string, int?, CallSettings)
LabelServiceClient.ListLabelsAsync(NetworkName, string, int?, CallSettings)
LabelServiceClient.CreateLabelAsync(CreateLabelRequest, CancellationToken)
LabelServiceClient.CreateLabel(string, Label, CallSettings)
LabelServiceClient.CreateLabelAsync(string, Label, CallSettings)
LabelServiceClient.CreateLabelAsync(string, Label, CancellationToken)
LabelServiceClient.CreateLabel(NetworkName, Label, CallSettings)
LabelServiceClient.CreateLabelAsync(NetworkName, Label, CallSettings)
LabelServiceClient.CreateLabelAsync(NetworkName, Label, CancellationToken)
LabelServiceClient.BatchCreateLabelsAsync(BatchCreateLabelsRequest, CancellationToken)
LabelServiceClient.BatchCreateLabels(string, IEnumerable<CreateLabelRequest>, CallSettings)
LabelServiceClient.BatchCreateLabelsAsync(string, IEnumerable<CreateLabelRequest>, CallSettings)
LabelServiceClient.BatchCreateLabelsAsync(string, IEnumerable<CreateLabelRequest>, CancellationToken)
LabelServiceClient.BatchCreateLabels(NetworkName, IEnumerable<CreateLabelRequest>, CallSettings)
LabelServiceClient.BatchCreateLabelsAsync(NetworkName, IEnumerable<CreateLabelRequest>, CallSettings)
LabelServiceClient.BatchCreateLabelsAsync(NetworkName, IEnumerable<CreateLabelRequest>, CancellationToken)
LabelServiceClient.UpdateLabelAsync(UpdateLabelRequest, CancellationToken)
LabelServiceClient.UpdateLabel(Label, FieldMask, CallSettings)
LabelServiceClient.UpdateLabelAsync(Label, FieldMask, CallSettings)
LabelServiceClient.UpdateLabelAsync(Label, FieldMask, CancellationToken)
LabelServiceClient.BatchUpdateLabelsAsync(BatchUpdateLabelsRequest, CancellationToken)
LabelServiceClient.BatchUpdateLabels(string, IEnumerable<UpdateLabelRequest>, CallSettings)
LabelServiceClient.BatchUpdateLabelsAsync(string, IEnumerable<UpdateLabelRequest>, CallSettings)
LabelServiceClient.BatchUpdateLabelsAsync(string, IEnumerable<UpdateLabelRequest>, CancellationToken)
LabelServiceClient.BatchUpdateLabels(NetworkName, IEnumerable<UpdateLabelRequest>, CallSettings)
LabelServiceClient.BatchUpdateLabelsAsync(NetworkName, IEnumerable<UpdateLabelRequest>, CallSettings)
LabelServiceClient.BatchUpdateLabelsAsync(NetworkName, IEnumerable<UpdateLabelRequest>, CancellationToken)
LabelServiceClient.BatchActivateLabelsAsync(BatchActivateLabelsRequest, CancellationToken)
LabelServiceClient.BatchActivateLabels(string, IEnumerable<string>, CallSettings)
LabelServiceClient.BatchActivateLabelsAsync(string, IEnumerable<string>, CallSettings)
LabelServiceClient.BatchActivateLabelsAsync(string, IEnumerable<string>, CancellationToken)
LabelServiceClient.BatchActivateLabels(NetworkName, IEnumerable<LabelName>, CallSettings)
LabelServiceClient.BatchActivateLabelsAsync(NetworkName, IEnumerable<LabelName>, CallSettings)
LabelServiceClient.BatchActivateLabelsAsync(NetworkName, IEnumerable<LabelName>, CancellationToken)
LabelServiceClient.BatchDeactivateLabelsAsync(BatchDeactivateLabelsRequest, CancellationToken)
LabelServiceClient.BatchDeactivateLabels(string, IEnumerable<string>, CallSettings)
LabelServiceClient.BatchDeactivateLabelsAsync(string, IEnumerable<string>, CallSettings)
LabelServiceClient.BatchDeactivateLabelsAsync(string, IEnumerable<string>, CancellationToken)
LabelServiceClient.BatchDeactivateLabels(NetworkName, IEnumerable<LabelName>, CallSettings)
LabelServiceClient.BatchDeactivateLabelsAsync(NetworkName, IEnumerable<LabelName>, CallSettings)
LabelServiceClient.BatchDeactivateLabelsAsync(NetworkName, IEnumerable<LabelName>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class LabelServiceClientImpl : LabelServiceClient
Remarks

Provides methods for handling Label objects.

Constructors

LabelServiceClientImpl(LabelServiceClient, LabelServiceSettings, ILogger)

Constructs a client wrapper for the LabelService service, with the specified gRPC client and settings.

Declaration
public LabelServiceClientImpl(LabelService.LabelServiceClient grpcClient, LabelServiceSettings settings, ILogger logger)
Parameters
Type Name Description
LabelService.LabelServiceClient grpcClient

The underlying gRPC client.

LabelServiceSettings settings

The base LabelServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC LabelService client

Declaration
public override LabelService.LabelServiceClient GrpcClient { get; }
Property Value
Type Description
LabelService.LabelServiceClient
Overrides
LabelServiceClient.GrpcClient

Methods

BatchActivateLabels(BatchActivateLabelsRequest, CallSettings)

API to activate Label objects.

Declaration
public override BatchActivateLabelsResponse BatchActivateLabels(BatchActivateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchActivateLabelsRequest 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
BatchActivateLabelsResponse

The RPC response.

Overrides
LabelServiceClient.BatchActivateLabels(BatchActivateLabelsRequest, CallSettings)

BatchActivateLabelsAsync(BatchActivateLabelsRequest, CallSettings)

API to activate Label objects.

Declaration
public override Task<BatchActivateLabelsResponse> BatchActivateLabelsAsync(BatchActivateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchActivateLabelsRequest 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<BatchActivateLabelsResponse>

A Task containing the RPC response.

Overrides
LabelServiceClient.BatchActivateLabelsAsync(BatchActivateLabelsRequest, CallSettings)

BatchCreateLabels(BatchCreateLabelsRequest, CallSettings)

API to batch create Label objects.

Declaration
public override BatchCreateLabelsResponse BatchCreateLabels(BatchCreateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateLabelsRequest 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
BatchCreateLabelsResponse

The RPC response.

Overrides
LabelServiceClient.BatchCreateLabels(BatchCreateLabelsRequest, CallSettings)

BatchCreateLabelsAsync(BatchCreateLabelsRequest, CallSettings)

API to batch create Label objects.

Declaration
public override Task<BatchCreateLabelsResponse> BatchCreateLabelsAsync(BatchCreateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateLabelsRequest 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<BatchCreateLabelsResponse>

A Task containing the RPC response.

Overrides
LabelServiceClient.BatchCreateLabelsAsync(BatchCreateLabelsRequest, CallSettings)

BatchDeactivateLabels(BatchDeactivateLabelsRequest, CallSettings)

API to deactivate Label objects.

Declaration
public override BatchDeactivateLabelsResponse BatchDeactivateLabels(BatchDeactivateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeactivateLabelsRequest 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
BatchDeactivateLabelsResponse

The RPC response.

Overrides
LabelServiceClient.BatchDeactivateLabels(BatchDeactivateLabelsRequest, CallSettings)

BatchDeactivateLabelsAsync(BatchDeactivateLabelsRequest, CallSettings)

API to deactivate Label objects.

Declaration
public override Task<BatchDeactivateLabelsResponse> BatchDeactivateLabelsAsync(BatchDeactivateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeactivateLabelsRequest 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<BatchDeactivateLabelsResponse>

A Task containing the RPC response.

Overrides
LabelServiceClient.BatchDeactivateLabelsAsync(BatchDeactivateLabelsRequest, CallSettings)

BatchUpdateLabels(BatchUpdateLabelsRequest, CallSettings)

API to batch update Label objects.

Declaration
public override BatchUpdateLabelsResponse BatchUpdateLabels(BatchUpdateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateLabelsRequest 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
BatchUpdateLabelsResponse

The RPC response.

Overrides
LabelServiceClient.BatchUpdateLabels(BatchUpdateLabelsRequest, CallSettings)

BatchUpdateLabelsAsync(BatchUpdateLabelsRequest, CallSettings)

API to batch update Label objects.

Declaration
public override Task<BatchUpdateLabelsResponse> BatchUpdateLabelsAsync(BatchUpdateLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateLabelsRequest 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<BatchUpdateLabelsResponse>

A Task containing the RPC response.

Overrides
LabelServiceClient.BatchUpdateLabelsAsync(BatchUpdateLabelsRequest, CallSettings)

CreateLabel(CreateLabelRequest, CallSettings)

API to create a Label object.

Declaration
public override Label CreateLabel(CreateLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateLabelRequest 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
Label

The RPC response.

Overrides
LabelServiceClient.CreateLabel(CreateLabelRequest, CallSettings)

CreateLabelAsync(CreateLabelRequest, CallSettings)

API to create a Label object.

Declaration
public override Task<Label> CreateLabelAsync(CreateLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateLabelRequest 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<Label>

A Task containing the RPC response.

Overrides
LabelServiceClient.CreateLabelAsync(CreateLabelRequest, CallSettings)

GetLabel(GetLabelRequest, CallSettings)

API to retrieve a Label object.

Declaration
public override Label GetLabel(GetLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetLabelRequest 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
Label

The RPC response.

Overrides
LabelServiceClient.GetLabel(GetLabelRequest, CallSettings)

GetLabelAsync(GetLabelRequest, CallSettings)

API to retrieve a Label object.

Declaration
public override Task<Label> GetLabelAsync(GetLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetLabelRequest 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<Label>

A Task containing the RPC response.

Overrides
LabelServiceClient.GetLabelAsync(GetLabelRequest, CallSettings)

ListLabels(ListLabelsRequest, CallSettings)

API to retrieve a list of Label objects.

Declaration
public override PagedEnumerable<ListLabelsResponse, Label> ListLabels(ListLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListLabelsRequest 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<ListLabelsResponse, Label>

A pageable sequence of Label resources.

Overrides
LabelServiceClient.ListLabels(ListLabelsRequest, CallSettings)

ListLabelsAsync(ListLabelsRequest, CallSettings)

API to retrieve a list of Label objects.

Declaration
public override PagedAsyncEnumerable<ListLabelsResponse, Label> ListLabelsAsync(ListLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListLabelsRequest 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<ListLabelsResponse, Label>

A pageable asynchronous sequence of Label resources.

Overrides
LabelServiceClient.ListLabelsAsync(ListLabelsRequest, CallSettings)

UpdateLabel(UpdateLabelRequest, CallSettings)

API to update a Label object.

Declaration
public override Label UpdateLabel(UpdateLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateLabelRequest 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
Label

The RPC response.

Overrides
LabelServiceClient.UpdateLabel(UpdateLabelRequest, CallSettings)

UpdateLabelAsync(UpdateLabelRequest, CallSettings)

API to update a Label object.

Declaration
public override Task<Label> UpdateLabelAsync(UpdateLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateLabelRequest 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<Label>

A Task containing the RPC response.

Overrides
LabelServiceClient.UpdateLabelAsync(UpdateLabelRequest, CallSettings)
In this article
Back to top Generated by DocFX