Class protos.google.cloud.retail.v2alpha.MerchantCenterAccountLinkService (3.1.0)

Represents a MerchantCenterAccountLinkService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.retail.v2alpha.MerchantCenterAccountLinkService

Package

@google-cloud/retail

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new MerchantCenterAccountLinkService service.

Parameters
NameDescription
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): MerchantCenterAccountLinkService;

Creates new MerchantCenterAccountLinkService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
MerchantCenterAccountLinkService

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

public createMerchantCenterAccountLink(request: google.cloud.retail.v2alpha.ICreateMerchantCenterAccountLinkRequest, callback: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.CreateMerchantCenterAccountLinkCallback): void;

Calls CreateMerchantCenterAccountLink.

Parameters
NameDescription
request ICreateMerchantCenterAccountLinkRequest

CreateMerchantCenterAccountLinkRequest message or plain object

callback CreateMerchantCenterAccountLinkCallback

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

Returns
TypeDescription
void
public createMerchantCenterAccountLink(request: google.cloud.retail.v2alpha.ICreateMerchantCenterAccountLinkRequest): Promise<google.longrunning.Operation>;

Calls CreateMerchantCenterAccountLink.

Parameter
NameDescription
request ICreateMerchantCenterAccountLinkRequest

CreateMerchantCenterAccountLinkRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

public deleteMerchantCenterAccountLink(request: google.cloud.retail.v2alpha.IDeleteMerchantCenterAccountLinkRequest, callback: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLinkCallback): void;

Calls DeleteMerchantCenterAccountLink.

Parameters
NameDescription
request IDeleteMerchantCenterAccountLinkRequest

DeleteMerchantCenterAccountLinkRequest message or plain object

callback DeleteMerchantCenterAccountLinkCallback

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

Returns
TypeDescription
void
public deleteMerchantCenterAccountLink(request: google.cloud.retail.v2alpha.IDeleteMerchantCenterAccountLinkRequest): Promise<google.protobuf.Empty>;

Calls DeleteMerchantCenterAccountLink.

Parameter
NameDescription
request IDeleteMerchantCenterAccountLinkRequest

DeleteMerchantCenterAccountLinkRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

public listMerchantCenterAccountLinks(request: google.cloud.retail.v2alpha.IListMerchantCenterAccountLinksRequest, callback: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinksCallback): void;

Calls ListMerchantCenterAccountLinks.

Parameters
NameDescription
request IListMerchantCenterAccountLinksRequest

ListMerchantCenterAccountLinksRequest message or plain object

callback ListMerchantCenterAccountLinksCallback

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

Returns
TypeDescription
void
public listMerchantCenterAccountLinks(request: google.cloud.retail.v2alpha.IListMerchantCenterAccountLinksRequest): Promise<google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse>;

Calls ListMerchantCenterAccountLinks.

Parameter
NameDescription
request IListMerchantCenterAccountLinksRequest

ListMerchantCenterAccountLinksRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.retail.v2alpha.ListMerchantCenterAccountLinksResponse>

Promise