Class LfpStoreServiceClientImpl
LfpStoreService 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 LfpStoreServiceClientImpl : LfpStoreServiceClient
Remarks
Service for a LFP partner to submit local stores for a merchant.
Constructors
LfpStoreServiceClientImpl(LfpStoreServiceClient, LfpStoreServiceSettings, ILogger)
Constructs a client wrapper for the LfpStoreService service, with the specified gRPC client and settings.
Declaration
public LfpStoreServiceClientImpl(LfpStoreService.LfpStoreServiceClient grpcClient, LfpStoreServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
Lfp |
grpcClient | The underlying gRPC client. |
Lfp |
settings | The base Lfp |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC LfpStoreService client
Declaration
public override LfpStoreService.LfpStoreServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
Lfp |
Overrides
Methods
DeleteLfpStore(DeleteLfpStoreRequest, CallSettings)
Deletes a store for a target merchant.
Declaration
public override void DeleteLfpStore(DeleteLfpStoreRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteLfpStoreAsync(DeleteLfpStoreRequest, CallSettings)
Deletes a store for a target merchant.
Declaration
public override Task DeleteLfpStoreAsync(DeleteLfpStoreRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Overrides
GetLfpStore(GetLfpStoreRequest, CallSettings)
Retrieves information about a store.
Declaration
public override LfpStore GetLfpStore(GetLfpStoreRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Lfp |
The RPC response. |
Overrides
GetLfpStoreAsync(GetLfpStoreRequest, CallSettings)
Retrieves information about a store.
Declaration
public override Task<LfpStore> GetLfpStoreAsync(GetLfpStoreRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Overrides
InsertLfpStore(InsertLfpStoreRequest, CallSettings)
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
Declaration
public override LfpStore InsertLfpStore(InsertLfpStoreRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Insert |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Lfp |
The RPC response. |
Overrides
InsertLfpStoreAsync(InsertLfpStoreRequest, CallSettings)
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
Declaration
public override Task<LfpStore> InsertLfpStoreAsync(InsertLfpStoreRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Insert |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Overrides
ListLfpStores(ListLfpStoresRequest, CallSettings)
Lists the stores of the target merchant, specified by the filter in
ListLfpStoresRequest
.
Declaration
public override PagedEnumerable<ListLfpStoresResponse, LfpStore> ListLfpStores(ListLfpStoresRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable sequence of Lfp |
Overrides
ListLfpStoresAsync(ListLfpStoresRequest, CallSettings)
Lists the stores of the target merchant, specified by the filter in
ListLfpStoresRequest
.
Declaration
public override PagedAsyncEnumerable<ListLfpStoresResponse, LfpStore> ListLfpStoresAsync(ListLfpStoresRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable asynchronous sequence of Lfp |