Represents a QuotaService
Inheritance
$protobuf.rpc.Service > protos.google.shopping.merchant.quota.v1beta.QuotaServicePackage
@google-shopping/quotaConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new QuotaService 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): QuotaService;
Creates new QuotaService 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 |
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 | |
---|---|
Name | Description |
request |
IListQuotaGroupsRequest
ListQuotaGroupsRequest message or plain object |
callback |
ListQuotaGroupsCallback
Node-style callback called with the error, if any, and ListQuotaGroupsResponse |
Returns | |
---|---|
Type | Description |
void |
listQuotaGroups(request)
public listQuotaGroups(request: google.shopping.merchant.quota.v1beta.IListQuotaGroupsRequest): Promise<google.shopping.merchant.quota.v1beta.ListQuotaGroupsResponse>;
Calls ListQuotaGroups.
Parameter | |
---|---|
Name | Description |
request |
IListQuotaGroupsRequest
ListQuotaGroupsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.quota.v1beta.ListQuotaGroupsResponse> | Promise |