Class LfpInventoryServiceClientImpl
LfpInventoryService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Lfp.V1Beta
Assembly: Google.Shopping.Merchant.Lfp.V1Beta.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
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
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. |