Cloud Text-to-Speech V1 Client - Class ReportedUsage (1.12.1)

Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class ReportedUsage.

Deprecated. The usage of the synthesized audio. Usage does not affect billing.

Protobuf type google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsage

Namespace

Google \ Cloud \ TextToSpeech \ V1 \ CustomVoiceParams

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

REPORTED_USAGE_UNSPECIFIED

Value: 0

Request with reported usage unspecified will be rejected.

Generated from protobuf enum REPORTED_USAGE_UNSPECIFIED = 0;

REALTIME

Value: 1

For scenarios where the synthesized audio is not downloadable and can only be used once. For example, real-time request in IVR system.

Generated from protobuf enum REALTIME = 1;

OFFLINE

Value: 2

For scenarios where the synthesized audio is downloadable and can be reused. For example, the synthesized audio is downloaded, stored in customer service system and played repeatedly.

Generated from protobuf enum OFFLINE = 2;