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