Class PrivateAuctionServiceClientImpl
PrivateAuctionService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class PrivateAuctionServiceClientImpl : PrivateAuctionServiceClient
Remarks
Provides methods for handling PrivateAuction objects.
Constructors
PrivateAuctionServiceClientImpl(PrivateAuctionServiceClient, PrivateAuctionServiceSettings, ILogger)
Constructs a client wrapper for the PrivateAuctionService service, with the specified gRPC client and settings.
Declaration
public PrivateAuctionServiceClientImpl(PrivateAuctionService.PrivateAuctionServiceClient grpcClient, PrivateAuctionServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| PrivateAuctionService.PrivateAuctionServiceClient | grpcClient | The underlying gRPC client. |
| PrivateAuctionServiceSettings | settings | The base PrivateAuctionServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC PrivateAuctionService client
Declaration
public override PrivateAuctionService.PrivateAuctionServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| PrivateAuctionService.PrivateAuctionServiceClient |
Overrides
Methods
CreatePrivateAuction(CreatePrivateAuctionRequest, CallSettings)
API to create a PrivateAuction object.
Declaration
public override PrivateAuction CreatePrivateAuction(CreatePrivateAuctionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePrivateAuctionRequest | 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 |
|---|---|
| PrivateAuction | The RPC response. |
Overrides
CreatePrivateAuctionAsync(CreatePrivateAuctionRequest, CallSettings)
API to create a PrivateAuction object.
Declaration
public override Task<PrivateAuction> CreatePrivateAuctionAsync(CreatePrivateAuctionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePrivateAuctionRequest | 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<PrivateAuction> | A Task containing the RPC response. |
Overrides
GetPrivateAuction(GetPrivateAuctionRequest, CallSettings)
API to retrieve a PrivateAuction object.
Declaration
public override PrivateAuction GetPrivateAuction(GetPrivateAuctionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPrivateAuctionRequest | 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 |
|---|---|
| PrivateAuction | The RPC response. |
Overrides
GetPrivateAuctionAsync(GetPrivateAuctionRequest, CallSettings)
API to retrieve a PrivateAuction object.
Declaration
public override Task<PrivateAuction> GetPrivateAuctionAsync(GetPrivateAuctionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPrivateAuctionRequest | 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<PrivateAuction> | A Task containing the RPC response. |
Overrides
ListPrivateAuctions(ListPrivateAuctionsRequest, CallSettings)
API to retrieve a list of PrivateAuction objects.
Declaration
public override PagedEnumerable<ListPrivateAuctionsResponse, PrivateAuction> ListPrivateAuctions(ListPrivateAuctionsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPrivateAuctionsRequest | 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<ListPrivateAuctionsResponse, PrivateAuction> | A pageable sequence of PrivateAuction resources. |
Overrides
ListPrivateAuctionsAsync(ListPrivateAuctionsRequest, CallSettings)
API to retrieve a list of PrivateAuction objects.
Declaration
public override PagedAsyncEnumerable<ListPrivateAuctionsResponse, PrivateAuction> ListPrivateAuctionsAsync(ListPrivateAuctionsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPrivateAuctionsRequest | 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<ListPrivateAuctionsResponse, PrivateAuction> | A pageable asynchronous sequence of PrivateAuction resources. |
Overrides
UpdatePrivateAuction(UpdatePrivateAuctionRequest, CallSettings)
API to update a PrivateAuction object.
Declaration
public override PrivateAuction UpdatePrivateAuction(UpdatePrivateAuctionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePrivateAuctionRequest | 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 |
|---|---|
| PrivateAuction | The RPC response. |
Overrides
UpdatePrivateAuctionAsync(UpdatePrivateAuctionRequest, CallSettings)
API to update a PrivateAuction object.
Declaration
public override Task<PrivateAuction> UpdatePrivateAuctionAsync(UpdatePrivateAuctionRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePrivateAuctionRequest | 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<PrivateAuction> | A Task containing the RPC response. |