Class CustomTargetingValueServiceClientImpl
CustomTargetingValueService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomTargetingValueServiceClientImpl : CustomTargetingValueServiceClient
Remarks
Provides methods for handling CustomTargetingValue
objects.
Constructors
CustomTargetingValueServiceClientImpl(CustomTargetingValueServiceClient, CustomTargetingValueServiceSettings, ILogger)
Constructs a client wrapper for the CustomTargetingValueService service, with the specified gRPC client and settings.
Declaration
public CustomTargetingValueServiceClientImpl(CustomTargetingValueService.CustomTargetingValueServiceClient grpcClient, CustomTargetingValueServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
CustomTargetingValueService.CustomTargetingValueServiceClient | grpcClient | The underlying gRPC client. |
CustomTargetingValueServiceSettings | settings | The base CustomTargetingValueServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC CustomTargetingValueService client
Declaration
public override CustomTargetingValueService.CustomTargetingValueServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
CustomTargetingValueService.CustomTargetingValueServiceClient |
Overrides
Methods
GetCustomTargetingValue(GetCustomTargetingValueRequest, CallSettings)
API to retrieve a CustomTargetingValue
object.
Declaration
public override CustomTargetingValue GetCustomTargetingValue(GetCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCustomTargetingValueRequest | 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 |
---|---|
CustomTargetingValue | The RPC response. |
Overrides
GetCustomTargetingValueAsync(GetCustomTargetingValueRequest, CallSettings)
API to retrieve a CustomTargetingValue
object.
Declaration
public override Task<CustomTargetingValue> GetCustomTargetingValueAsync(GetCustomTargetingValueRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCustomTargetingValueRequest | 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<CustomTargetingValue> | A Task containing the RPC response. |
Overrides
ListCustomTargetingValues(ListCustomTargetingValuesRequest, CallSettings)
API to retrieve a list of CustomTargetingValue
objects.
Declaration
public override PagedEnumerable<ListCustomTargetingValuesResponse, CustomTargetingValue> ListCustomTargetingValues(ListCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCustomTargetingValuesRequest | 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<ListCustomTargetingValuesResponse, CustomTargetingValue> | A pageable sequence of CustomTargetingValue resources. |
Overrides
ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest, CallSettings)
API to retrieve a list of CustomTargetingValue
objects.
Declaration
public override PagedAsyncEnumerable<ListCustomTargetingValuesResponse, CustomTargetingValue> ListCustomTargetingValuesAsync(ListCustomTargetingValuesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCustomTargetingValuesRequest | 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<ListCustomTargetingValuesResponse, CustomTargetingValue> | A pageable asynchronous sequence of CustomTargetingValue resources. |