Represents a GbpAccountsService
Inheritance
$protobuf.rpc.Service > protos.google.shopping.merchant.accounts.v1beta.GbpAccountsServicePackage
@google-shopping/accountsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new GbpAccountsService 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): GbpAccountsService;Creates new GbpAccountsService 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 |
GbpAccountsService |
RPC service. Useful where requests and/or responses are streamed. |
linkGbpAccount(request, callback)
public linkGbpAccount(request: google.shopping.merchant.accounts.v1beta.ILinkGbpAccountRequest, callback: google.shopping.merchant.accounts.v1beta.GbpAccountsService.LinkGbpAccountCallback): void;Calls LinkGbpAccount.
| Parameters | |
|---|---|
| Name | Description |
request |
ILinkGbpAccountRequest
LinkGbpAccountRequest message or plain object |
callback |
LinkGbpAccountCallback
Node-style callback called with the error, if any, and LinkGbpAccountResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
linkGbpAccount(request)
public linkGbpAccount(request: google.shopping.merchant.accounts.v1beta.ILinkGbpAccountRequest): Promise<google.shopping.merchant.accounts.v1beta.LinkGbpAccountResponse>;Calls LinkGbpAccount.
| Parameter | |
|---|---|
| Name | Description |
request |
ILinkGbpAccountRequest
LinkGbpAccountRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.shopping.merchant.accounts.v1beta.LinkGbpAccountResponse> |
Promise |
listGbpAccounts(request, callback)
public listGbpAccounts(request: google.shopping.merchant.accounts.v1beta.IListGbpAccountsRequest, callback: google.shopping.merchant.accounts.v1beta.GbpAccountsService.ListGbpAccountsCallback): void;Calls ListGbpAccounts.
| Parameters | |
|---|---|
| Name | Description |
request |
IListGbpAccountsRequest
ListGbpAccountsRequest message or plain object |
callback |
ListGbpAccountsCallback
Node-style callback called with the error, if any, and ListGbpAccountsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listGbpAccounts(request)
public listGbpAccounts(request: google.shopping.merchant.accounts.v1beta.IListGbpAccountsRequest): Promise<google.shopping.merchant.accounts.v1beta.ListGbpAccountsResponse>;Calls ListGbpAccounts.
| Parameter | |
|---|---|
| Name | Description |
request |
IListGbpAccountsRequest
ListGbpAccountsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.shopping.merchant.accounts.v1beta.ListGbpAccountsResponse> |
Promise |