Class protos.google.shopping.merchant.accounts.v1beta.AccountIssueService (3.2.0)

Represents an AccountIssueService

Inheritance

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

Package

@google-shopping/accounts

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

listAccountIssues(request, callback)

public listAccountIssues(request: google.shopping.merchant.accounts.v1beta.IListAccountIssuesRequest, callback: google.shopping.merchant.accounts.v1beta.AccountIssueService.ListAccountIssuesCallback): void;

Calls ListAccountIssues.

Parameters
Name Description
request IListAccountIssuesRequest

ListAccountIssuesRequest message or plain object

callback ListAccountIssuesCallback

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

Returns
Type Description
void

listAccountIssues(request)

public listAccountIssues(request: google.shopping.merchant.accounts.v1beta.IListAccountIssuesRequest): Promise<google.shopping.merchant.accounts.v1beta.ListAccountIssuesResponse>;

Calls ListAccountIssues.

Parameter
Name Description
request IListAccountIssuesRequest

ListAccountIssuesRequest message or plain object

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

Promise