Show / Hide Table of Contents

Class ContentLabelServiceClientImpl

ContentLabelService client wrapper implementation, for convenient use.

Inheritance
object
ContentLabelServiceClient
ContentLabelServiceClientImpl
Inherited Members
ContentLabelServiceClient.DefaultEndpoint
ContentLabelServiceClient.DefaultScopes
ContentLabelServiceClient.ServiceMetadata
ContentLabelServiceClient.CreateAsync(CancellationToken)
ContentLabelServiceClient.Create()
ContentLabelServiceClient.ShutdownDefaultChannelsAsync()
ContentLabelServiceClient.GetContentLabelAsync(GetContentLabelRequest, CancellationToken)
ContentLabelServiceClient.GetContentLabel(string, CallSettings)
ContentLabelServiceClient.GetContentLabelAsync(string, CallSettings)
ContentLabelServiceClient.GetContentLabelAsync(string, CancellationToken)
ContentLabelServiceClient.GetContentLabel(ContentLabelName, CallSettings)
ContentLabelServiceClient.GetContentLabelAsync(ContentLabelName, CallSettings)
ContentLabelServiceClient.GetContentLabelAsync(ContentLabelName, CancellationToken)
ContentLabelServiceClient.ListContentLabels(string, string, int?, CallSettings)
ContentLabelServiceClient.ListContentLabelsAsync(string, string, int?, CallSettings)
ContentLabelServiceClient.ListContentLabels(NetworkName, string, int?, CallSettings)
ContentLabelServiceClient.ListContentLabelsAsync(NetworkName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ContentLabelServiceClientImpl : ContentLabelServiceClient
Remarks

Provides methods for handling ContentLabel objects.

Constructors

ContentLabelServiceClientImpl(ContentLabelServiceClient, ContentLabelServiceSettings, ILogger)

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

Declaration
public ContentLabelServiceClientImpl(ContentLabelService.ContentLabelServiceClient grpcClient, ContentLabelServiceSettings settings, ILogger logger)
Parameters
Type Name Description
ContentLabelService.ContentLabelServiceClient grpcClient

The underlying gRPC client.

ContentLabelServiceSettings settings

The base ContentLabelServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC ContentLabelService client

Declaration
public override ContentLabelService.ContentLabelServiceClient GrpcClient { get; }
Property Value
Type Description
ContentLabelService.ContentLabelServiceClient
Overrides
ContentLabelServiceClient.GrpcClient

Methods

GetContentLabel(GetContentLabelRequest, CallSettings)

API to retrieve a ContentLabel object.

Declaration
public override ContentLabel GetContentLabel(GetContentLabelRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetContentLabelRequest 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
ContentLabel

The RPC response.

Overrides
ContentLabelServiceClient.GetContentLabel(GetContentLabelRequest, CallSettings)

GetContentLabelAsync(GetContentLabelRequest, CallSettings)

API to retrieve a ContentLabel object.

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

A Task containing the RPC response.

Overrides
ContentLabelServiceClient.GetContentLabelAsync(GetContentLabelRequest, CallSettings)

ListContentLabels(ListContentLabelsRequest, CallSettings)

API to retrieve a list of ContentLabel objects.

Declaration
public override PagedEnumerable<ListContentLabelsResponse, ContentLabel> ListContentLabels(ListContentLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListContentLabelsRequest 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<ListContentLabelsResponse, ContentLabel>

A pageable sequence of ContentLabel resources.

Overrides
ContentLabelServiceClient.ListContentLabels(ListContentLabelsRequest, CallSettings)

ListContentLabelsAsync(ListContentLabelsRequest, CallSettings)

API to retrieve a list of ContentLabel objects.

Declaration
public override PagedAsyncEnumerable<ListContentLabelsResponse, ContentLabel> ListContentLabelsAsync(ListContentLabelsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListContentLabelsRequest 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<ListContentLabelsResponse, ContentLabel>

A pageable asynchronous sequence of ContentLabel resources.

Overrides
ContentLabelServiceClient.ListContentLabelsAsync(ListContentLabelsRequest, CallSettings)
In this article
Back to top Generated by DocFX