Show / Hide Table of Contents

Class CustomTargetingValueService.CustomTargetingValueServiceClient

Client for CustomTargetingValueService

Inheritance
object
ClientBase
ClientBase<CustomTargetingValueService.CustomTargetingValueServiceClient>
CustomTargetingValueService.CustomTargetingValueServiceClient
Inherited Members
ClientBase<CustomTargetingValueService.CustomTargetingValueServiceClient>.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 CustomTargetingValueService.CustomTargetingValueServiceClient : ClientBase<CustomTargetingValueService.CustomTargetingValueServiceClient>

Constructors

CustomTargetingValueServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected CustomTargetingValueServiceClient()

CustomTargetingValueServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

CustomTargetingValueServiceClient(ChannelBase)

Creates a new client for CustomTargetingValueService

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

The channel to use to make remote calls.

CustomTargetingValueServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetCustomTargetingValue(GetCustomTargetingValueRequest, CallOptions)

API to retrieve a CustomTargetingValue object.

Declaration
public virtual CustomTargetingValue GetCustomTargetingValue(GetCustomTargetingValueRequest request, CallOptions options)
Parameters
Type Name Description
GetCustomTargetingValueRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CustomTargetingValue

The response received from the server.

GetCustomTargetingValue(GetCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a CustomTargetingValue object.

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

The response received from the server.

GetCustomTargetingValueAsync(GetCustomTargetingValueRequest, CallOptions)

API to retrieve a CustomTargetingValue object.

Declaration
public virtual AsyncUnaryCall<CustomTargetingValue> GetCustomTargetingValueAsync(GetCustomTargetingValueRequest request, CallOptions options)
Parameters
Type Name Description
GetCustomTargetingValueRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CustomTargetingValue>

The call object.

GetCustomTargetingValueAsync(GetCustomTargetingValueRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a CustomTargetingValue object.

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

The call object.

ListCustomTargetingValues(ListCustomTargetingValuesRequest, CallOptions)

API to retrieve a list of CustomTargetingValue objects.

Declaration
public virtual ListCustomTargetingValuesResponse ListCustomTargetingValues(ListCustomTargetingValuesRequest request, CallOptions options)
Parameters
Type Name Description
ListCustomTargetingValuesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListCustomTargetingValuesResponse

The response received from the server.

ListCustomTargetingValues(ListCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of CustomTargetingValue objects.

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

The response received from the server.

ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest, CallOptions)

API to retrieve a list of CustomTargetingValue objects.

Declaration
public virtual AsyncUnaryCall<ListCustomTargetingValuesResponse> ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest request, CallOptions options)
Parameters
Type Name Description
ListCustomTargetingValuesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListCustomTargetingValuesResponse>

The call object.

ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of CustomTargetingValue objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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