Show / Hide Table of Contents

Class LfpSaleService.LfpSaleServiceClient

Client for LfpSaleService

Inheritance
object
ClientBase
ClientBase<LfpSaleService.LfpSaleServiceClient>
LfpSaleService.LfpSaleServiceClient
Inherited Members
ClientBase<LfpSaleService.LfpSaleServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Lfp.V1
Assembly: Google.Shopping.Merchant.Lfp.V1.dll
Syntax
public class LfpSaleService.LfpSaleServiceClient : ClientBase<LfpSaleService.LfpSaleServiceClient>

Constructors

LfpSaleServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected LfpSaleServiceClient()

LfpSaleServiceClient(CallInvoker)

Creates a new client for LfpSaleService that uses a custom CallInvoker.

Declaration
public LfpSaleServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

LfpSaleServiceClient(ChannelBase)

Creates a new client for LfpSaleService

Declaration
public LfpSaleServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

LfpSaleServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected LfpSaleServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

InsertLfpSale(InsertLfpSaleRequest, CallOptions)

Inserts a LfpSale for the given merchant.

Declaration
public virtual LfpSale InsertLfpSale(InsertLfpSaleRequest request, CallOptions options)
Parameters
Type Name Description
InsertLfpSaleRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
LfpSale

The response received from the server.

InsertLfpSale(InsertLfpSaleRequest, Metadata, DateTime?, CancellationToken)

Inserts a LfpSale for the given merchant.

Declaration
public virtual LfpSale InsertLfpSale(InsertLfpSaleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertLfpSaleRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
LfpSale

The response received from the server.

InsertLfpSaleAsync(InsertLfpSaleRequest, CallOptions)

Inserts a LfpSale for the given merchant.

Declaration
public virtual AsyncUnaryCall<LfpSale> InsertLfpSaleAsync(InsertLfpSaleRequest request, CallOptions options)
Parameters
Type Name Description
InsertLfpSaleRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<LfpSale>

The call object.

InsertLfpSaleAsync(InsertLfpSaleRequest, Metadata, DateTime?, CancellationToken)

Inserts a LfpSale for the given merchant.

Declaration
public virtual AsyncUnaryCall<LfpSale> InsertLfpSaleAsync(InsertLfpSaleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertLfpSaleRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<LfpSale>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override LfpSaleService.LfpSaleServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
LfpSaleService.LfpSaleServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.Lfp.V1.LfpSaleService.LfpSaleServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX