Reference documentation and code samples for the Cloud Speech V2 Client class ProcessingStrategy.
Possible processing strategies for batch requests.
Protobuf type google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy
Namespace
Google \ Cloud \ Speech \ V2 \ BatchRecognizeRequestMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
PROCESSING_STRATEGY_UNSPECIFIED
Value: 0
Default value for the processing strategy. The request is processed as soon as its received.
Generated from protobuf enum PROCESSING_STRATEGY_UNSPECIFIED = 0;
DYNAMIC_BATCHING
Value: 1
If selected, processes the request during lower utilization periods for a price discount. The request is fulfilled within 24 hours.
Generated from protobuf enum DYNAMIC_BATCHING = 1;