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 |
---|---|---|
LfpStoreService.LfpStoreServiceClient | grpcClient | The underlying gRPC client. |
LfpStoreServiceSettings | settings | The base LfpStoreServiceSettings used within this client. |
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 |
---|---|
LfpStoreService.LfpStoreServiceClient |
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 |
---|---|---|
DeleteLfpStoreRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | 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 |
---|---|---|
DeleteLfpStoreRequest | 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 | 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 |
---|---|---|
GetLfpStoreRequest | 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 |
---|---|
LfpStore | 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 |
---|---|---|
GetLfpStoreRequest | 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<LfpStore> | A Task containing the RPC response. |
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 |
---|---|---|
InsertLfpStoreRequest | 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 |
---|---|
LfpStore | 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 |
---|---|---|
InsertLfpStoreRequest | 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<LfpStore> | A Task containing the RPC response. |
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 |
---|---|---|
ListLfpStoresRequest | 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 |
---|---|
PagedEnumerable<ListLfpStoresResponse, LfpStore> | A pageable sequence of LfpStore resources. |
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 |
---|---|---|
ListLfpStoresRequest | 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 |
---|---|
PagedAsyncEnumerable<ListLfpStoresResponse, LfpStore> | A pageable asynchronous sequence of LfpStore resources. |