Show / Hide Table of Contents

Class LfpInventoryServiceClientImpl

LfpInventoryService client wrapper implementation, for convenient use.

Inheritance
object
LfpInventoryServiceClient
LfpInventoryServiceClientImpl
Inherited Members
LfpInventoryServiceClient.DefaultEndpoint
LfpInventoryServiceClient.DefaultScopes
LfpInventoryServiceClient.ServiceMetadata
LfpInventoryServiceClient.CreateAsync(CancellationToken)
LfpInventoryServiceClient.Create()
LfpInventoryServiceClient.ShutdownDefaultChannelsAsync()
LfpInventoryServiceClient.InsertLfpInventoryAsync(InsertLfpInventoryRequest, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Lfp.V1
Assembly: Google.Shopping.Merchant.Lfp.V1.dll
Syntax
public sealed class LfpInventoryServiceClientImpl : LfpInventoryServiceClient
Remarks

Service for a LFP partner to submit local inventories for a merchant.

Constructors

LfpInventoryServiceClientImpl(LfpInventoryServiceClient, LfpInventoryServiceSettings, ILogger)

Constructs a client wrapper for the LfpInventoryService service, with the specified gRPC client and settings.

Declaration
public LfpInventoryServiceClientImpl(LfpInventoryService.LfpInventoryServiceClient grpcClient, LfpInventoryServiceSettings settings, ILogger logger)
Parameters
Type Name Description
LfpInventoryService.LfpInventoryServiceClient grpcClient

The underlying gRPC client.

LfpInventoryServiceSettings settings

The base LfpInventoryServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC LfpInventoryService client

Declaration
public override LfpInventoryService.LfpInventoryServiceClient GrpcClient { get; }
Property Value
Type Description
LfpInventoryService.LfpInventoryServiceClient
Overrides
LfpInventoryServiceClient.GrpcClient

Methods

InsertLfpInventory(InsertLfpInventoryRequest, CallSettings)

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 override LfpInventory InsertLfpInventory(InsertLfpInventoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertLfpInventoryRequest 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
LfpInventory

The RPC response.

Overrides
LfpInventoryServiceClient.InsertLfpInventory(InsertLfpInventoryRequest, CallSettings)

InsertLfpInventoryAsync(InsertLfpInventoryRequest, CallSettings)

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 override Task<LfpInventory> InsertLfpInventoryAsync(InsertLfpInventoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertLfpInventoryRequest 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<LfpInventory>

A Task containing the RPC response.

Overrides
LfpInventoryServiceClient.InsertLfpInventoryAsync(InsertLfpInventoryRequest, CallSettings)
In this article
Back to top Generated by DocFX