Class LfpProvidersServiceClientImpl
LfpProvidersService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class LfpProvidersServiceClientImpl : LfpProvidersServiceClient
Remarks
The service facilitates the management of a merchant's LFP provider settings. This API defines the following resource model:
- [LfpProvider][google.shopping.merchant.accounts.v1.LfpProvider]
Constructors
LfpProvidersServiceClientImpl(LfpProvidersServiceClient, LfpProvidersServiceSettings, ILogger)
Constructs a client wrapper for the LfpProvidersService service, with the specified gRPC client and settings.
Declaration
public LfpProvidersServiceClientImpl(LfpProvidersService.LfpProvidersServiceClient grpcClient, LfpProvidersServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
LfpProvidersService.LfpProvidersServiceClient | grpcClient | The underlying gRPC client. |
LfpProvidersServiceSettings | settings | The base LfpProvidersServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC LfpProvidersService client
Declaration
public override LfpProvidersService.LfpProvidersServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
LfpProvidersService.LfpProvidersServiceClient |
Overrides
Methods
FindLfpProviders(FindLfpProvidersRequest, CallSettings)
Find the LFP provider candidates in a given country.
Declaration
public override PagedEnumerable<FindLfpProvidersResponse, LfpProvider> FindLfpProviders(FindLfpProvidersRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FindLfpProvidersRequest | 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<FindLfpProvidersResponse, LfpProvider> | A pageable sequence of LfpProvider resources. |
Overrides
FindLfpProvidersAsync(FindLfpProvidersRequest, CallSettings)
Find the LFP provider candidates in a given country.
Declaration
public override PagedAsyncEnumerable<FindLfpProvidersResponse, LfpProvider> FindLfpProvidersAsync(FindLfpProvidersRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FindLfpProvidersRequest | 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<FindLfpProvidersResponse, LfpProvider> | A pageable asynchronous sequence of LfpProvider resources. |
Overrides
LinkLfpProvider(LinkLfpProviderRequest, CallSettings)
Link the specified merchant to a LFP provider for the specified country.
Declaration
public override LinkLfpProviderResponse LinkLfpProvider(LinkLfpProviderRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
LinkLfpProviderRequest | 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 |
---|---|
LinkLfpProviderResponse | The RPC response. |
Overrides
LinkLfpProviderAsync(LinkLfpProviderRequest, CallSettings)
Link the specified merchant to a LFP provider for the specified country.
Declaration
public override Task<LinkLfpProviderResponse> LinkLfpProviderAsync(LinkLfpProviderRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
LinkLfpProviderRequest | 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<LinkLfpProviderResponse> | A Task containing the RPC response. |