Show / Hide Table of Contents

Class OrderServiceClientImpl

OrderService client wrapper implementation, for convenient use.

Inheritance
object
OrderServiceClient
OrderServiceClientImpl
Inherited Members
OrderServiceClient.DefaultEndpoint
OrderServiceClient.DefaultScopes
OrderServiceClient.ServiceMetadata
OrderServiceClient.CreateAsync(CancellationToken)
OrderServiceClient.Create()
OrderServiceClient.ShutdownDefaultChannelsAsync()
OrderServiceClient.GetOrderAsync(GetOrderRequest, CancellationToken)
OrderServiceClient.GetOrder(string, CallSettings)
OrderServiceClient.GetOrderAsync(string, CallSettings)
OrderServiceClient.GetOrderAsync(string, CancellationToken)
OrderServiceClient.GetOrder(OrderName, CallSettings)
OrderServiceClient.GetOrderAsync(OrderName, CallSettings)
OrderServiceClient.GetOrderAsync(OrderName, CancellationToken)
OrderServiceClient.ListOrders(string, string, int?, CallSettings)
OrderServiceClient.ListOrdersAsync(string, string, int?, CallSettings)
OrderServiceClient.ListOrders(NetworkName, string, int?, CallSettings)
OrderServiceClient.ListOrdersAsync(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 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
OrderServiceClient.GrpcClient

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
OrderServiceClient.GetOrder(GetOrderRequest, CallSettings)

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
OrderServiceClient.GetOrderAsync(GetOrderRequest, CallSettings)

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
OrderServiceClient.ListOrders(ListOrdersRequest, CallSettings)

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.

Overrides
OrderServiceClient.ListOrdersAsync(ListOrdersRequest, CallSettings)
In this article
Back to top Generated by DocFX