Class protos.google.shopping.merchant.lfp.v1beta.LfpStoreService (0.2.0)

Represents a LfpStoreService

Inheritance

$protobuf.rpc.Service > protos.google.shopping.merchant.lfp.v1beta.LfpStoreService

Package

@google-shopping/lfp

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new LfpStoreService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): LfpStoreService;

Creates new LfpStoreService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
LfpStoreService

RPC service. Useful where requests and/or responses are streamed.

deleteLfpStore(request, callback)

public deleteLfpStore(request: google.shopping.merchant.lfp.v1beta.IDeleteLfpStoreRequest, callback: google.shopping.merchant.lfp.v1beta.LfpStoreService.DeleteLfpStoreCallback): void;

Calls DeleteLfpStore.

Parameters
Name Description
request IDeleteLfpStoreRequest

DeleteLfpStoreRequest message or plain object

callback DeleteLfpStoreCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteLfpStore(request)

public deleteLfpStore(request: google.shopping.merchant.lfp.v1beta.IDeleteLfpStoreRequest): Promise<google.protobuf.Empty>;

Calls DeleteLfpStore.

Parameter
Name Description
request IDeleteLfpStoreRequest

DeleteLfpStoreRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

getLfpStore(request, callback)

public getLfpStore(request: google.shopping.merchant.lfp.v1beta.IGetLfpStoreRequest, callback: google.shopping.merchant.lfp.v1beta.LfpStoreService.GetLfpStoreCallback): void;

Calls GetLfpStore.

Parameters
Name Description
request IGetLfpStoreRequest

GetLfpStoreRequest message or plain object

callback GetLfpStoreCallback

Node-style callback called with the error, if any, and LfpStore

Returns
Type Description
void

getLfpStore(request)

public getLfpStore(request: google.shopping.merchant.lfp.v1beta.IGetLfpStoreRequest): Promise<google.shopping.merchant.lfp.v1beta.LfpStore>;

Calls GetLfpStore.

Parameter
Name Description
request IGetLfpStoreRequest

GetLfpStoreRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.lfp.v1beta.LfpStore>

Promise

insertLfpStore(request, callback)

public insertLfpStore(request: google.shopping.merchant.lfp.v1beta.IInsertLfpStoreRequest, callback: google.shopping.merchant.lfp.v1beta.LfpStoreService.InsertLfpStoreCallback): void;

Calls InsertLfpStore.

Parameters
Name Description
request IInsertLfpStoreRequest

InsertLfpStoreRequest message or plain object

callback InsertLfpStoreCallback

Node-style callback called with the error, if any, and LfpStore

Returns
Type Description
void

insertLfpStore(request)

public insertLfpStore(request: google.shopping.merchant.lfp.v1beta.IInsertLfpStoreRequest): Promise<google.shopping.merchant.lfp.v1beta.LfpStore>;

Calls InsertLfpStore.

Parameter
Name Description
request IInsertLfpStoreRequest

InsertLfpStoreRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.lfp.v1beta.LfpStore>

Promise

listLfpStores(request, callback)

public listLfpStores(request: google.shopping.merchant.lfp.v1beta.IListLfpStoresRequest, callback: google.shopping.merchant.lfp.v1beta.LfpStoreService.ListLfpStoresCallback): void;

Calls ListLfpStores.

Parameters
Name Description
request IListLfpStoresRequest

ListLfpStoresRequest message or plain object

callback ListLfpStoresCallback

Node-style callback called with the error, if any, and ListLfpStoresResponse

Returns
Type Description
void

listLfpStores(request)

public listLfpStores(request: google.shopping.merchant.lfp.v1beta.IListLfpStoresRequest): Promise<google.shopping.merchant.lfp.v1beta.ListLfpStoresResponse>;

Calls ListLfpStores.

Parameter
Name Description
request IListLfpStoresRequest

ListLfpStoresRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.lfp.v1beta.ListLfpStoresResponse>

Promise