Class CustomVoiceParams (2.15.1)

CustomVoiceParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Description of the custom voice to be synthesized.

Attributes

NameDescription
model str
Required. The name of the AutoML model that synthesizes the custom voice.
reported_usage google.cloud.texttospeech_v1beta1.types.CustomVoiceParams.ReportedUsage
Optional. Deprecated. The usage of the synthesized audio to be reported.

Classes

ReportedUsage

ReportedUsage(value)

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

Values: REPORTED_USAGE_UNSPECIFIED (0): Request with reported usage unspecified will be rejected. REALTIME (1): For scenarios where the synthesized audio is not downloadable and can only be used once. For example, real-time request in IVR system. OFFLINE (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.