Class OrderServiceClientImpl
OrderService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class OrderServiceClientImpl : OrderServiceClient
Remarks
Provides methods for handling Order
objects.
Constructors
OrderServiceClientImpl(OrderServiceClient, OrderServiceSettings, ILogger)
Constructs a client wrapper for the OrderService service, with the specified gRPC client and settings.
Declaration
public OrderServiceClientImpl(OrderService.OrderServiceClient grpcClient, OrderServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
OrderService.OrderServiceClient | grpcClient | The underlying gRPC client. |
OrderServiceSettings | settings | The base OrderServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC OrderService client
Declaration
public override OrderService.OrderServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
OrderService.OrderServiceClient |
Overrides
Methods
GetOrder(GetOrderRequest, CallSettings)
API to retrieve an Order object.
Declaration
public override Order GetOrder(GetOrderRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetOrderRequest | 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 |
---|---|
Order | The RPC response. |
Overrides
GetOrderAsync(GetOrderRequest, CallSettings)
API to retrieve an Order object.
Declaration
public override Task<Order> GetOrderAsync(GetOrderRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetOrderRequest | 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<Order> | A Task containing the RPC response. |
Overrides
ListOrders(ListOrdersRequest, CallSettings)
API to retrieve a list of Order
objects.
Fields used for literal matching in filter string:
order_id
display_name
external_order_id
Declaration
public override PagedEnumerable<ListOrdersResponse, Order> ListOrders(ListOrdersRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListOrdersRequest | 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<ListOrdersResponse, Order> | A pageable sequence of Order resources. |
Overrides
ListOrdersAsync(ListOrdersRequest, CallSettings)
API to retrieve a list of Order
objects.
Fields used for literal matching in filter string:
order_id
display_name
external_order_id
Declaration
public override PagedAsyncEnumerable<ListOrdersResponse, Order> ListOrdersAsync(ListOrdersRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListOrdersRequest | 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<ListOrdersResponse, Order> | A pageable asynchronous sequence of Order resources. |