Gemini Enterprise for Customer Experience v1beta API - Class CustomVoiceSample (1.0.0-beta10)

public sealed class CustomVoiceSample : IMessage<CustomVoiceSample>, IEquatable<CustomVoiceSample>, IDeepCloneable<CustomVoiceSample>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class CustomVoiceSample.

Configuration for a custom voice sample used for voice cloning.

Inheritance

object > CustomVoiceSample

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

CustomVoiceSample()

public CustomVoiceSample()

CustomVoiceSample(CustomVoiceSample)

public CustomVoiceSample(CustomVoiceSample other)
Parameter
Name Description
other CustomVoiceSample

Properties

ConsentAudioGcsUri

public string ConsentAudioGcsUri { get; set; }

Optional. Consent audio for voice cloning.

Property Value
Type Description
string

Name

public string Name { get; set; }

Optional. The user-defined name for the custom voice sample.

Property Value
Type Description
string

PreviewAudioContent

public ByteString PreviewAudioContent { get; set; }

Output only. Synthesized preview audio for custom voice, formatted as canonical WAV (LINEAR16, 24kHz, 16-bit, mono).

Property Value
Type Description
ByteString

PreviewText

public string PreviewText { get; set; }

Optional. Text for synthesizing preview audio for custom voice.

Property Value
Type Description
string

VoiceInstruction

public string VoiceInstruction { get; set; }

Optional. Natural language instructions for voice style, tone, pacing, or pronunciation.

Property Value
Type Description
string

VoiceInstructionMode

public CustomVoiceSample.Types.VoiceInstructionMode VoiceInstructionMode { get; set; }

Optional. Instruction mode for the voice sample. If unspecified, defaults to NO_INSTRUCTION.

Property Value
Type Description
CustomVoiceSampleTypesVoiceInstructionMode

VoiceSampleGcsUri

public string VoiceSampleGcsUri { get; set; }

Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.

Property Value
Type Description
string

Warnings

public RepeatedField<CustomVoiceSample.Types.Warning> Warnings { get; }

Output only. Warning messages encountered during voice clone processing (e.g. low audio level).

Property Value
Type Description
RepeatedFieldCustomVoiceSampleTypesWarning