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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Text-to-Speech V1 Client - Class ReportedUsage (2.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.2 (latest)](/php/docs/reference/cloud-text-to-speech/latest/V1.CustomVoiceParams.ReportedUsage)\n- [2.2.1](/php/docs/reference/cloud-text-to-speech/2.2.1/V1.CustomVoiceParams.ReportedUsage)\n- [2.0.1](/php/docs/reference/cloud-text-to-speech/2.0.1/V1.CustomVoiceParams.ReportedUsage)\n- [1.12.2](/php/docs/reference/cloud-text-to-speech/1.12.2/V1.CustomVoiceParams.ReportedUsage)\n- [1.11.0](/php/docs/reference/cloud-text-to-speech/1.11.0/V1.CustomVoiceParams.ReportedUsage)\n- [1.10.0](/php/docs/reference/cloud-text-to-speech/1.10.0/V1.CustomVoiceParams.ReportedUsage)\n- [1.9.1](/php/docs/reference/cloud-text-to-speech/1.9.1/V1.CustomVoiceParams.ReportedUsage)\n- [1.8.5](/php/docs/reference/cloud-text-to-speech/1.8.5/V1.CustomVoiceParams.ReportedUsage)\n- [1.7.2](/php/docs/reference/cloud-text-to-speech/1.7.2/V1.CustomVoiceParams.ReportedUsage)\n- [1.6.1](/php/docs/reference/cloud-text-to-speech/1.6.1/V1.CustomVoiceParams.ReportedUsage)\n- [1.5.6](/php/docs/reference/cloud-text-to-speech/1.5.6/V1.CustomVoiceParams.ReportedUsage)\n- [1.4.5](/php/docs/reference/cloud-text-to-speech/1.4.5/V1.CustomVoiceParams.ReportedUsage) \nReference documentation and code samples for the Cloud Text-to-Speech V1 Client class ReportedUsage.\n\nDeprecated. The usage of the synthesized audio. Usage does not affect\nbilling.\n\nProtobuf type `google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsage`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ TextToSpeech \\\\ V1 \\\\ CustomVoiceParams\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### REPORTED_USAGE_UNSPECIFIED\n\n Value: 0\n\nRequest with reported usage unspecified will be rejected.\n\nGenerated from protobuf enum `REPORTED_USAGE_UNSPECIFIED = 0;`\n\n### REALTIME\n\n Value: 1\n\nFor scenarios where the synthesized audio is not downloadable and can\nonly be used once. For example, real-time request in IVR system.\n\nGenerated from protobuf enum `REALTIME = 1;`\n\n### OFFLINE\n\n Value: 2\n\nFor scenarios where the synthesized audio is downloadable and can be\nreused. For example, the synthesized audio is downloaded, stored in\ncustomer service system and played repeatedly.\n\nGenerated from protobuf enum `OFFLINE = 2;`"]]