Class LfpStoreService.LfpStoreServiceClient
Client for LfpStoreService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Lfp.V1Beta
Assembly: Google.Shopping.Merchant.Lfp.V1Beta.dll
Syntax
public class LfpStoreService.LfpStoreServiceClient : ClientBase<LfpStoreService.LfpStoreServiceClient>
Constructors
LfpStoreServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected LfpStoreServiceClient()
LfpStoreServiceClient(CallInvoker)
Creates a new client for LfpStoreService that uses a custom CallInvoker
.
Declaration
public LfpStoreServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
LfpStoreServiceClient(ChannelBase)
Creates a new client for LfpStoreService
Declaration
public LfpStoreServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
LfpStoreServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected LfpStoreServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
DeleteLfpStore(DeleteLfpStoreRequest, CallOptions)
Deletes a store for a target merchant.
Declaration
public virtual Empty DeleteLfpStore(DeleteLfpStoreRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteLfpStoreRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteLfpStore(DeleteLfpStoreRequest, Metadata, DateTime?, CancellationToken)
Deletes a store for a target merchant.
Declaration
public virtual Empty DeleteLfpStore(DeleteLfpStoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteLfpStoreRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteLfpStoreAsync(DeleteLfpStoreRequest, CallOptions)
Deletes a store for a target merchant.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteLfpStoreAsync(DeleteLfpStoreRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteLfpStoreRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
DeleteLfpStoreAsync(DeleteLfpStoreRequest, Metadata, DateTime?, CancellationToken)
Deletes a store for a target merchant.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteLfpStoreAsync(DeleteLfpStoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteLfpStoreRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
GetLfpStore(GetLfpStoreRequest, CallOptions)
Retrieves information about a store.
Declaration
public virtual LfpStore GetLfpStore(GetLfpStoreRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetLfpStoreRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
LfpStore | The response received from the server. |
GetLfpStore(GetLfpStoreRequest, Metadata, DateTime?, CancellationToken)
Retrieves information about a store.
Declaration
public virtual LfpStore GetLfpStore(GetLfpStoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetLfpStoreRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
LfpStore | The response received from the server. |
GetLfpStoreAsync(GetLfpStoreRequest, CallOptions)
Retrieves information about a store.
Declaration
public virtual AsyncUnaryCall<LfpStore> GetLfpStoreAsync(GetLfpStoreRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetLfpStoreRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<LfpStore> | The call object. |
GetLfpStoreAsync(GetLfpStoreRequest, Metadata, DateTime?, CancellationToken)
Retrieves information about a store.
Declaration
public virtual AsyncUnaryCall<LfpStore> GetLfpStoreAsync(GetLfpStoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetLfpStoreRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<LfpStore> | The call object. |
InsertLfpStore(InsertLfpStoreRequest, CallOptions)
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
Declaration
public virtual LfpStore InsertLfpStore(InsertLfpStoreRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertLfpStoreRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
LfpStore | The response received from the server. |
InsertLfpStore(InsertLfpStoreRequest, Metadata, DateTime?, CancellationToken)
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
Declaration
public virtual LfpStore InsertLfpStore(InsertLfpStoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertLfpStoreRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
LfpStore | The response received from the server. |
InsertLfpStoreAsync(InsertLfpStoreRequest, CallOptions)
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
Declaration
public virtual AsyncUnaryCall<LfpStore> InsertLfpStoreAsync(InsertLfpStoreRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertLfpStoreRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<LfpStore> | The call object. |
InsertLfpStoreAsync(InsertLfpStoreRequest, Metadata, DateTime?, CancellationToken)
Inserts a store for the target merchant. If the store with the same store code already exists, it will be replaced.
Declaration
public virtual AsyncUnaryCall<LfpStore> InsertLfpStoreAsync(InsertLfpStoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertLfpStoreRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<LfpStore> | The call object. |
ListLfpStores(ListLfpStoresRequest, CallOptions)
Lists the stores of the target merchant, specified by the filter in
ListLfpStoresRequest
.
Declaration
public virtual ListLfpStoresResponse ListLfpStores(ListLfpStoresRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListLfpStoresRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListLfpStoresResponse | The response received from the server. |
ListLfpStores(ListLfpStoresRequest, Metadata, DateTime?, CancellationToken)
Lists the stores of the target merchant, specified by the filter in
ListLfpStoresRequest
.
Declaration
public virtual ListLfpStoresResponse ListLfpStores(ListLfpStoresRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListLfpStoresRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
ListLfpStoresResponse | The response received from the server. |
ListLfpStoresAsync(ListLfpStoresRequest, CallOptions)
Lists the stores of the target merchant, specified by the filter in
ListLfpStoresRequest
.
Declaration
public virtual AsyncUnaryCall<ListLfpStoresResponse> ListLfpStoresAsync(ListLfpStoresRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListLfpStoresRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListLfpStoresResponse> | The call object. |
ListLfpStoresAsync(ListLfpStoresRequest, Metadata, DateTime?, CancellationToken)
Lists the stores of the target merchant, specified by the filter in
ListLfpStoresRequest
.
Declaration
public virtual AsyncUnaryCall<ListLfpStoresResponse> ListLfpStoresAsync(ListLfpStoresRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListLfpStoresRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListLfpStoresResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override LfpStoreService.LfpStoreServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
LfpStoreService.LfpStoreServiceClient |