Class LineItemServiceClientImpl
LineItemService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class LineItemServiceClientImpl : LineItemServiceClient
Remarks
Provides methods for handling LineItem objects.
Constructors
LineItemServiceClientImpl(LineItemServiceClient, LineItemServiceSettings, ILogger)
Constructs a client wrapper for the LineItemService service, with the specified gRPC client and settings.
Declaration
public LineItemServiceClientImpl(LineItemService.LineItemServiceClient grpcClient, LineItemServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| LineItemService.LineItemServiceClient | grpcClient | The underlying gRPC client. |
| LineItemServiceSettings | settings | The base LineItemServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC LineItemService client
Declaration
public override LineItemService.LineItemServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| LineItemService.LineItemServiceClient |
Overrides
Methods
BatchActivateLineItems(BatchActivateLineItemsRequest, CallSettings)
Batch activates LineItem objects.
Declaration
public override BatchActivateLineItemsResponse BatchActivateLineItems(BatchActivateLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLineItemsRequest | 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 |
|---|---|
| BatchActivateLineItemsResponse | The RPC response. |
Overrides
BatchActivateLineItemsAsync(BatchActivateLineItemsRequest, CallSettings)
Batch activates LineItem objects.
Declaration
public override Task<BatchActivateLineItemsResponse> BatchActivateLineItemsAsync(BatchActivateLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLineItemsRequest | 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<BatchActivateLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchArchiveLineItems(BatchArchiveLineItemsRequest, CallSettings)
Batch archives LineItem objects.
Declaration
public override BatchArchiveLineItemsResponse BatchArchiveLineItems(BatchArchiveLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLineItemsRequest | 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 |
|---|---|
| BatchArchiveLineItemsResponse | The RPC response. |
Overrides
BatchArchiveLineItemsAsync(BatchArchiveLineItemsRequest, CallSettings)
Batch archives LineItem objects.
Declaration
public override Task<BatchArchiveLineItemsResponse> BatchArchiveLineItemsAsync(BatchArchiveLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLineItemsRequest | 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<BatchArchiveLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateLineItems(BatchCreateLineItemsRequest, CallSettings)
Creates LineItem objects.
Declaration
public override BatchCreateLineItemsResponse BatchCreateLineItems(BatchCreateLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLineItemsRequest | 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 |
|---|---|
| BatchCreateLineItemsResponse | The RPC response. |
Overrides
BatchCreateLineItemsAsync(BatchCreateLineItemsRequest, CallSettings)
Creates LineItem objects.
Declaration
public override Task<BatchCreateLineItemsResponse> BatchCreateLineItemsAsync(BatchCreateLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLineItemsRequest | 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<BatchCreateLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchDeleteLineItems(BatchDeleteLineItemsRequest, CallSettings)
Batch deletes LineItem objects.
Declaration
public override void BatchDeleteLineItems(BatchDeleteLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteLineItemsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
BatchDeleteLineItemsAsync(BatchDeleteLineItemsRequest, CallSettings)
Batch deletes LineItem objects.
Declaration
public override Task BatchDeleteLineItemsAsync(BatchDeleteLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteLineItemsRequest | 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 | A Task containing the RPC response. |
Overrides
BatchPauseLineItems(BatchPauseLineItemsRequest, CallSettings)
Batch pauses LineItem objects.
Declaration
public override BatchPauseLineItemsResponse BatchPauseLineItems(BatchPauseLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLineItemsRequest | 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 |
|---|---|
| BatchPauseLineItemsResponse | The RPC response. |
Overrides
BatchPauseLineItemsAsync(BatchPauseLineItemsRequest, CallSettings)
Batch pauses LineItem objects.
Declaration
public override Task<BatchPauseLineItemsResponse> BatchPauseLineItemsAsync(BatchPauseLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLineItemsRequest | 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<BatchPauseLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchReleaseLineItems(BatchReleaseLineItemsRequest, CallSettings)
Batch releases LineItem objects.
Declaration
public override BatchReleaseLineItemsResponse BatchReleaseLineItems(BatchReleaseLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReleaseLineItemsRequest | 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 |
|---|---|
| BatchReleaseLineItemsResponse | The RPC response. |
Overrides
BatchReleaseLineItemsAsync(BatchReleaseLineItemsRequest, CallSettings)
Batch releases LineItem objects.
Declaration
public override Task<BatchReleaseLineItemsResponse> BatchReleaseLineItemsAsync(BatchReleaseLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReleaseLineItemsRequest | 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<BatchReleaseLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest, CallSettings)
Batch reserves and overbooks LineItem objects.
Declaration
public override BatchReserveAndOverbookLineItemsResponse BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveAndOverbookLineItemsRequest | 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 |
|---|---|
| BatchReserveAndOverbookLineItemsResponse | The RPC response. |
Overrides
BatchReserveAndOverbookLineItemsAsync(BatchReserveAndOverbookLineItemsRequest, CallSettings)
Batch reserves and overbooks LineItem objects.
Declaration
public override Task<BatchReserveAndOverbookLineItemsResponse> BatchReserveAndOverbookLineItemsAsync(BatchReserveAndOverbookLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveAndOverbookLineItemsRequest | 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<BatchReserveAndOverbookLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchReserveLineItems(BatchReserveLineItemsRequest, CallSettings)
Batch reserves LineItem objects.
Declaration
public override BatchReserveLineItemsResponse BatchReserveLineItems(BatchReserveLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveLineItemsRequest | 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 |
|---|---|
| BatchReserveLineItemsResponse | The RPC response. |
Overrides
BatchReserveLineItemsAsync(BatchReserveLineItemsRequest, CallSettings)
Batch reserves LineItem objects.
Declaration
public override Task<BatchReserveLineItemsResponse> BatchReserveLineItemsAsync(BatchReserveLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveLineItemsRequest | 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<BatchReserveLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest, CallSettings)
Batch resumes and overbooks LineItem objects.
Declaration
public override BatchResumeAndOverbookLineItemsResponse BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeAndOverbookLineItemsRequest | 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 |
|---|---|
| BatchResumeAndOverbookLineItemsResponse | The RPC response. |
Overrides
BatchResumeAndOverbookLineItemsAsync(BatchResumeAndOverbookLineItemsRequest, CallSettings)
Batch resumes and overbooks LineItem objects.
Declaration
public override Task<BatchResumeAndOverbookLineItemsResponse> BatchResumeAndOverbookLineItemsAsync(BatchResumeAndOverbookLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeAndOverbookLineItemsRequest | 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<BatchResumeAndOverbookLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchResumeLineItems(BatchResumeLineItemsRequest, CallSettings)
Batch resumes LineItem objects.
Declaration
public override BatchResumeLineItemsResponse BatchResumeLineItems(BatchResumeLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeLineItemsRequest | 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 |
|---|---|
| BatchResumeLineItemsResponse | The RPC response. |
Overrides
BatchResumeLineItemsAsync(BatchResumeLineItemsRequest, CallSettings)
Batch resumes LineItem objects.
Declaration
public override Task<BatchResumeLineItemsResponse> BatchResumeLineItemsAsync(BatchResumeLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeLineItemsRequest | 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<BatchResumeLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest, CallSettings)
Batch unarchives LineItem objects.
Declaration
public override BatchUnarchiveLineItemsResponse BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveLineItemsRequest | 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 |
|---|---|
| BatchUnarchiveLineItemsResponse | The RPC response. |
Overrides
BatchUnarchiveLineItemsAsync(BatchUnarchiveLineItemsRequest, CallSettings)
Batch unarchives LineItem objects.
Declaration
public override Task<BatchUnarchiveLineItemsResponse> BatchUnarchiveLineItemsAsync(BatchUnarchiveLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveLineItemsRequest | 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<BatchUnarchiveLineItemsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateLineItems(BatchUpdateLineItemsRequest, CallSettings)
Batch updates LineItem objects.
Declaration
public override BatchUpdateLineItemsResponse BatchUpdateLineItems(BatchUpdateLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLineItemsRequest | 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 |
|---|---|
| BatchUpdateLineItemsResponse | The RPC response. |
Overrides
BatchUpdateLineItemsAsync(BatchUpdateLineItemsRequest, CallSettings)
Batch updates LineItem objects.
Declaration
public override Task<BatchUpdateLineItemsResponse> BatchUpdateLineItemsAsync(BatchUpdateLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLineItemsRequest | 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<BatchUpdateLineItemsResponse> | A Task containing the RPC response. |
Overrides
CreateLineItem(CreateLineItemRequest, CallSettings)
Creates a LineItem object.
Declaration
public override LineItem CreateLineItem(CreateLineItemRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLineItemRequest | 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 |
|---|---|
| LineItem | The RPC response. |
Overrides
CreateLineItemAsync(CreateLineItemRequest, CallSettings)
Creates a LineItem object.
Declaration
public override Task<LineItem> CreateLineItemAsync(CreateLineItemRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLineItemRequest | 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<LineItem> | A Task containing the RPC response. |
Overrides
GetLineItem(GetLineItemRequest, CallSettings)
Retrieves a LineItem object.
Declaration
public override LineItem GetLineItem(GetLineItemRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLineItemRequest | 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 |
|---|---|
| LineItem | The RPC response. |
Overrides
GetLineItemAsync(GetLineItemRequest, CallSettings)
Retrieves a LineItem object.
Declaration
public override Task<LineItem> GetLineItemAsync(GetLineItemRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLineItemRequest | 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<LineItem> | A Task containing the RPC response. |
Overrides
ListLineItems(ListLineItemsRequest, CallSettings)
Lists LineItem objects.
Declaration
public override PagedEnumerable<ListLineItemsResponse, LineItem> ListLineItems(ListLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLineItemsRequest | 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<ListLineItemsResponse, LineItem> | A pageable sequence of LineItem resources. |
Overrides
ListLineItemsAsync(ListLineItemsRequest, CallSettings)
Lists LineItem objects.
Declaration
public override PagedAsyncEnumerable<ListLineItemsResponse, LineItem> ListLineItemsAsync(ListLineItemsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLineItemsRequest | 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<ListLineItemsResponse, LineItem> | A pageable asynchronous sequence of LineItem resources. |
Overrides
UpdateLineItem(UpdateLineItemRequest, CallSettings)
Updates a LineItem object.
Declaration
public override LineItem UpdateLineItem(UpdateLineItemRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLineItemRequest | 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 |
|---|---|
| LineItem | The RPC response. |
Overrides
UpdateLineItemAsync(UpdateLineItemRequest, CallSettings)
Updates a LineItem object.
Declaration
public override Task<LineItem> UpdateLineItemAsync(UpdateLineItemRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLineItemRequest | 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<LineItem> | A Task containing the RPC response. |