Cloud Speech V2 Client - Class ProcessingStrategy (1.15.0)

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 \ BatchRecognizeRequest

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
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;