Show / Hide Table of Contents

Class ContentLabelService.ContentLabelServiceClient

Client for ContentLabelService

Inheritance
object
ClientBase
ClientBase<ContentLabelService.ContentLabelServiceClient>
ContentLabelService.ContentLabelServiceClient
Inherited Members
ClientBase<ContentLabelService.ContentLabelServiceClient>.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 ContentLabelService.ContentLabelServiceClient : ClientBase<ContentLabelService.ContentLabelServiceClient>

Constructors

ContentLabelServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ContentLabelServiceClient()

ContentLabelServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

ContentLabelServiceClient(ChannelBase)

Creates a new client for ContentLabelService

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

The channel to use to make remote calls.

ContentLabelServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetContentLabel(GetContentLabelRequest, CallOptions)

API to retrieve a ContentLabel object.

Declaration
public virtual ContentLabel GetContentLabel(GetContentLabelRequest request, CallOptions options)
Parameters
Type Name Description
GetContentLabelRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ContentLabel

The response received from the server.

GetContentLabel(GetContentLabelRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a ContentLabel object.

Declaration
public virtual ContentLabel GetContentLabel(GetContentLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetContentLabelRequest 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
ContentLabel

The response received from the server.

GetContentLabelAsync(GetContentLabelRequest, CallOptions)

API to retrieve a ContentLabel object.

Declaration
public virtual AsyncUnaryCall<ContentLabel> GetContentLabelAsync(GetContentLabelRequest request, CallOptions options)
Parameters
Type Name Description
GetContentLabelRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ContentLabel>

The call object.

GetContentLabelAsync(GetContentLabelRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a ContentLabel object.

Declaration
public virtual AsyncUnaryCall<ContentLabel> GetContentLabelAsync(GetContentLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetContentLabelRequest 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<ContentLabel>

The call object.

ListContentLabels(ListContentLabelsRequest, CallOptions)

API to retrieve a list of ContentLabel objects.

Declaration
public virtual ListContentLabelsResponse ListContentLabels(ListContentLabelsRequest request, CallOptions options)
Parameters
Type Name Description
ListContentLabelsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListContentLabelsResponse

The response received from the server.

ListContentLabels(ListContentLabelsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of ContentLabel objects.

Declaration
public virtual ListContentLabelsResponse ListContentLabels(ListContentLabelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListContentLabelsRequest 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
ListContentLabelsResponse

The response received from the server.

ListContentLabelsAsync(ListContentLabelsRequest, CallOptions)

API to retrieve a list of ContentLabel objects.

Declaration
public virtual AsyncUnaryCall<ListContentLabelsResponse> ListContentLabelsAsync(ListContentLabelsRequest request, CallOptions options)
Parameters
Type Name Description
ListContentLabelsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListContentLabelsResponse>

The call object.

ListContentLabelsAsync(ListContentLabelsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of ContentLabel objects.

Declaration
public virtual AsyncUnaryCall<ListContentLabelsResponse> ListContentLabelsAsync(ListContentLabelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListContentLabelsRequest 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<ListContentLabelsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ContentLabelService.ContentLabelServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ContentLabelService.ContentLabelServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.ContentLabelService.ContentLabelServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX