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

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

The usage of the synthesized audio. You must report your honest and correct usage of the service as it's regulated by contract and will cause significant difference in billing.

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

Namespace

Google \ Cloud \ TextToSpeech \ V1 \ CustomVoiceParams

Methods

static::name

Parameter
NameDescription
value mixed

static::value

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