BatchingSettingsProto
import type { BatchingSettingsProto } from "https://googleapis.deno.dev/v1/serviceusage:v1.ts";
BatchingSettingsProto
specifies a set of batching thresholds, each of
which acts as a trigger to send a batch of messages as a request. At least
one threshold must be positive nonzero.
interface BatchingSettingsProto {
delayThreshold?: number;
elementCountLimit?: number;
elementCountThreshold?: number;
flowControlByteLimit?: number;
flowControlElementLimit?: number;
flowControlLimitExceededBehavior?:
| "UNSET_BEHAVIOR"
| "THROW_EXCEPTION"
| "BLOCK"
| "IGNORE";
requestByteLimit?: number;
requestByteThreshold?: bigint;
}§Properties
§
delayThreshold?: number
[src]The duration after which a batch should be sent, starting from the addition of the first message to that batch.
§
elementCountLimit?: number
[src]The maximum number of elements collected in a batch that could be accepted by server.
§
elementCountThreshold?: number
[src]The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.