Show / Hide Table of Contents

Class CustomTargetingKeyServiceClientImpl

CustomTargetingKeyService client wrapper implementation, for convenient use.

Inheritance
object
CustomTargetingKeyServiceClient
CustomTargetingKeyServiceClientImpl
Inherited Members
CustomTargetingKeyServiceClient.DefaultEndpoint
CustomTargetingKeyServiceClient.DefaultScopes
CustomTargetingKeyServiceClient.ServiceMetadata
CustomTargetingKeyServiceClient.CreateAsync(CancellationToken)
CustomTargetingKeyServiceClient.Create()
CustomTargetingKeyServiceClient.ShutdownDefaultChannelsAsync()
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(GetCustomTargetingKeyRequest, CancellationToken)
CustomTargetingKeyServiceClient.GetCustomTargetingKey(string, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(string, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(string, CancellationToken)
CustomTargetingKeyServiceClient.GetCustomTargetingKey(CustomTargetingKeyName, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(CustomTargetingKeyName, CallSettings)
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(CustomTargetingKeyName, CancellationToken)
CustomTargetingKeyServiceClient.ListCustomTargetingKeys(string, string, int?, CallSettings)
CustomTargetingKeyServiceClient.ListCustomTargetingKeysAsync(string, string, int?, CallSettings)
CustomTargetingKeyServiceClient.ListCustomTargetingKeys(NetworkName, string, int?, CallSettings)
CustomTargetingKeyServiceClient.ListCustomTargetingKeysAsync(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 CustomTargetingKeyServiceClientImpl : CustomTargetingKeyServiceClient
Remarks

Provides methods for handling CustomTargetingKey objects.

Constructors

CustomTargetingKeyServiceClientImpl(CustomTargetingKeyServiceClient, CustomTargetingKeyServiceSettings, ILogger)

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

Declaration
public CustomTargetingKeyServiceClientImpl(CustomTargetingKeyService.CustomTargetingKeyServiceClient grpcClient, CustomTargetingKeyServiceSettings settings, ILogger logger)
Parameters
Type Name Description
CustomTargetingKeyService.CustomTargetingKeyServiceClient grpcClient

The underlying gRPC client.

CustomTargetingKeyServiceSettings settings

The base CustomTargetingKeyServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC CustomTargetingKeyService client

Declaration
public override CustomTargetingKeyService.CustomTargetingKeyServiceClient GrpcClient { get; }
Property Value
Type Description
CustomTargetingKeyService.CustomTargetingKeyServiceClient
Overrides
CustomTargetingKeyServiceClient.GrpcClient

Methods

GetCustomTargetingKey(GetCustomTargetingKeyRequest, CallSettings)

API to retrieve a CustomTargetingKey object.

Declaration
public override CustomTargetingKey GetCustomTargetingKey(GetCustomTargetingKeyRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetCustomTargetingKeyRequest 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
CustomTargetingKey

The RPC response.

Overrides
CustomTargetingKeyServiceClient.GetCustomTargetingKey(GetCustomTargetingKeyRequest, CallSettings)

GetCustomTargetingKeyAsync(GetCustomTargetingKeyRequest, CallSettings)

API to retrieve a CustomTargetingKey object.

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

A Task containing the RPC response.

Overrides
CustomTargetingKeyServiceClient.GetCustomTargetingKeyAsync(GetCustomTargetingKeyRequest, CallSettings)

ListCustomTargetingKeys(ListCustomTargetingKeysRequest, CallSettings)

API to retrieve a list of CustomTargetingKey objects.

Declaration
public override PagedEnumerable<ListCustomTargetingKeysResponse, CustomTargetingKey> ListCustomTargetingKeys(ListCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCustomTargetingKeysRequest 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<ListCustomTargetingKeysResponse, CustomTargetingKey>

A pageable sequence of CustomTargetingKey resources.

Overrides
CustomTargetingKeyServiceClient.ListCustomTargetingKeys(ListCustomTargetingKeysRequest, CallSettings)

ListCustomTargetingKeysAsync(ListCustomTargetingKeysRequest, CallSettings)

API to retrieve a list of CustomTargetingKey objects.

Declaration
public override PagedAsyncEnumerable<ListCustomTargetingKeysResponse, CustomTargetingKey> ListCustomTargetingKeysAsync(ListCustomTargetingKeysRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCustomTargetingKeysRequest 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<ListCustomTargetingKeysResponse, CustomTargetingKey>

A pageable asynchronous sequence of CustomTargetingKey resources.

Overrides
CustomTargetingKeyServiceClient.ListCustomTargetingKeysAsync(ListCustomTargetingKeysRequest, CallSettings)
In this article
Back to top Generated by DocFX