Class protos.google.shopping.merchant.accounts.v1beta.LfpProvidersService (2.2.0)

Represents a LfpProvidersService

Inheritance

$protobuf.rpc.Service > protos.google.shopping.merchant.accounts.v1beta.LfpProvidersService

Package

@google-shopping/accounts

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new LfpProvidersService 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): LfpProvidersService;

Creates new LfpProvidersService 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
LfpProvidersService

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

findLfpProviders(request, callback)

public findLfpProviders(request: google.shopping.merchant.accounts.v1beta.IFindLfpProvidersRequest, callback: google.shopping.merchant.accounts.v1beta.LfpProvidersService.FindLfpProvidersCallback): void;

Calls FindLfpProviders.

Parameters
Name Description
request IFindLfpProvidersRequest

FindLfpProvidersRequest message or plain object

callback FindLfpProvidersCallback

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

Returns
Type Description
void

findLfpProviders(request)

public findLfpProviders(request: google.shopping.merchant.accounts.v1beta.IFindLfpProvidersRequest): Promise<google.shopping.merchant.accounts.v1beta.FindLfpProvidersResponse>;

Calls FindLfpProviders.

Parameter
Name Description
request IFindLfpProvidersRequest

FindLfpProvidersRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1beta.FindLfpProvidersResponse>

Promise

linkLfpProvider(request, callback)

public linkLfpProvider(request: google.shopping.merchant.accounts.v1beta.ILinkLfpProviderRequest, callback: google.shopping.merchant.accounts.v1beta.LfpProvidersService.LinkLfpProviderCallback): void;

Calls LinkLfpProvider.

Parameters
Name Description
request ILinkLfpProviderRequest

LinkLfpProviderRequest message or plain object

callback LinkLfpProviderCallback

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

Returns
Type Description
void

linkLfpProvider(request)

public linkLfpProvider(request: google.shopping.merchant.accounts.v1beta.ILinkLfpProviderRequest): Promise<google.shopping.merchant.accounts.v1beta.LinkLfpProviderResponse>;

Calls LinkLfpProvider.

Parameter
Name Description
request ILinkLfpProviderRequest

LinkLfpProviderRequest message or plain object

Returns
Type Description
Promise<google.shopping.merchant.accounts.v1beta.LinkLfpProviderResponse>

Promise