Class protos.google.shopping.merchant.quota.v1beta.QuotaService (0.1.1)

Represents a QuotaService

Inheritance

$protobuf.rpc.Service > protos.google.shopping.merchant.quota.v1beta.QuotaService

Package

@google-shopping/quota

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

listQuotaGroups(request, callback)

public listQuotaGroups(request: google.shopping.merchant.quota.v1beta.IListQuotaGroupsRequest, callback: google.shopping.merchant.quota.v1beta.QuotaService.ListQuotaGroupsCallback): void;

Calls ListQuotaGroups.

Parameters
NameDescription
request IListQuotaGroupsRequest

ListQuotaGroupsRequest message or plain object

callback ListQuotaGroupsCallback

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

Returns
TypeDescription
void

listQuotaGroups(request)

public listQuotaGroups(request: google.shopping.merchant.quota.v1beta.IListQuotaGroupsRequest): Promise<google.shopping.merchant.quota.v1beta.ListQuotaGroupsResponse>;

Calls ListQuotaGroups.

Parameter
NameDescription
request IListQuotaGroupsRequest

ListQuotaGroupsRequest message or plain object

Returns
TypeDescription
Promise<google.shopping.merchant.quota.v1beta.ListQuotaGroupsResponse>

Promise