Show / Hide Table of Contents

Class LfpInventoryService.LfpInventoryServiceClient

Client for LfpInventoryService

Inheritance
object
ClientBase
ClientBase<LfpInventoryService.LfpInventoryServiceClient>
LfpInventoryService.LfpInventoryServiceClient
Inherited Members
ClientBase<LfpInventoryService.LfpInventoryServiceClient>.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 LfpInventoryService.LfpInventoryServiceClient : ClientBase<LfpInventoryService.LfpInventoryServiceClient>

Constructors

LfpInventoryServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected LfpInventoryServiceClient()

LfpInventoryServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

LfpInventoryServiceClient(ChannelBase)

Creates a new client for LfpInventoryService

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

The channel to use to make remote calls.

LfpInventoryServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

InsertLfpInventory(InsertLfpInventoryRequest, CallOptions)

Inserts a LfpInventory resource for the given target merchant account. If the resource already exists, it will be replaced. The inventory automatically expires after 30 days.

Declaration
public virtual LfpInventory InsertLfpInventory(InsertLfpInventoryRequest request, CallOptions options)
Parameters
Type Name Description
InsertLfpInventoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
LfpInventory

The response received from the server.

InsertLfpInventory(InsertLfpInventoryRequest, Metadata, DateTime?, CancellationToken)

Inserts a LfpInventory resource for the given target merchant account. If the resource already exists, it will be replaced. The inventory automatically expires after 30 days.

Declaration
public virtual LfpInventory InsertLfpInventory(InsertLfpInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertLfpInventoryRequest 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
LfpInventory

The response received from the server.

InsertLfpInventoryAsync(InsertLfpInventoryRequest, CallOptions)

Inserts a LfpInventory resource for the given target merchant account. If the resource already exists, it will be replaced. The inventory automatically expires after 30 days.

Declaration
public virtual AsyncUnaryCall<LfpInventory> InsertLfpInventoryAsync(InsertLfpInventoryRequest request, CallOptions options)
Parameters
Type Name Description
InsertLfpInventoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<LfpInventory>

The call object.

InsertLfpInventoryAsync(InsertLfpInventoryRequest, Metadata, DateTime?, CancellationToken)

Inserts a LfpInventory resource for the given target merchant account. If the resource already exists, it will be replaced. The inventory automatically expires after 30 days.

Declaration
public virtual AsyncUnaryCall<LfpInventory> InsertLfpInventoryAsync(InsertLfpInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertLfpInventoryRequest 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<LfpInventory>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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