Show / Hide Table of Contents

Class LineItemServiceClientImpl

LineItemService client wrapper implementation, for convenient use.

Inheritance
object
LineItemServiceClient
LineItemServiceClientImpl
Inherited Members
LineItemServiceClient.DefaultEndpoint
LineItemServiceClient.DefaultScopes
LineItemServiceClient.ServiceMetadata
LineItemServiceClient.CreateAsync(CancellationToken)
LineItemServiceClient.Create()
LineItemServiceClient.ShutdownDefaultChannelsAsync()
LineItemServiceClient.GetLineItemAsync(GetLineItemRequest, CancellationToken)
LineItemServiceClient.GetLineItem(string, CallSettings)
LineItemServiceClient.GetLineItemAsync(string, CallSettings)
LineItemServiceClient.GetLineItemAsync(string, CancellationToken)
LineItemServiceClient.GetLineItem(LineItemName, CallSettings)
LineItemServiceClient.GetLineItemAsync(LineItemName, CallSettings)
LineItemServiceClient.GetLineItemAsync(LineItemName, CancellationToken)
LineItemServiceClient.ListLineItems(string, string, int?, CallSettings)
LineItemServiceClient.ListLineItemsAsync(string, string, int?, CallSettings)
LineItemServiceClient.ListLineItems(NetworkName, string, int?, CallSettings)
LineItemServiceClient.ListLineItemsAsync(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 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
LineItemServiceClient.GrpcClient

Methods

GetLineItem(GetLineItemRequest, CallSettings)

API to retrieve 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
LineItemServiceClient.GetLineItem(GetLineItemRequest, CallSettings)

GetLineItemAsync(GetLineItemRequest, CallSettings)

API to retrieve 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
LineItemServiceClient.GetLineItemAsync(GetLineItemRequest, CallSettings)

ListLineItems(ListLineItemsRequest, CallSettings)

API to retrieve a list of 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
LineItemServiceClient.ListLineItems(ListLineItemsRequest, CallSettings)

ListLineItemsAsync(ListLineItemsRequest, CallSettings)

API to retrieve a list of 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
LineItemServiceClient.ListLineItemsAsync(ListLineItemsRequest, CallSettings)
In this article
Back to top Generated by DocFX