Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::CustomVoiceSample (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::CustomVoiceSample.

Configuration for a custom voice sample used for voice cloning.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def consent_audio_gcs_uri() -> ::String
Returns
  • (::String) — Optional. Consent audio for voice cloning.
def consent_audio_gcs_uri=(value) -> ::String
Parameter
  • value (::String) — Optional. Consent audio for voice cloning.
Returns
  • (::String) — Optional. Consent audio for voice cloning.

#name

def name() -> ::String
Returns
  • (::String) — Optional. The user-defined name for the custom voice sample.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Optional. The user-defined name for the custom voice sample.
Returns
  • (::String) — Optional. The user-defined name for the custom voice sample.

#preview_audio_content

def preview_audio_content() -> ::String
Returns
  • (::String) — Output only. Synthesized preview audio for custom voice, formatted as canonical WAV (LINEAR16, 24kHz, 16-bit, mono).

#preview_text

def preview_text() -> ::String
Returns
  • (::String) — Optional. Text for synthesizing preview audio for custom voice.

#preview_text=

def preview_text=(value) -> ::String
Parameter
  • value (::String) — Optional. Text for synthesizing preview audio for custom voice.
Returns
  • (::String) — Optional. Text for synthesizing preview audio for custom voice.

#voice_instruction

def voice_instruction() -> ::String
Returns
  • (::String) — Optional. Natural language instructions for voice style, tone, pacing, or pronunciation.

#voice_instruction=

def voice_instruction=(value) -> ::String
Parameter
  • value (::String) — Optional. Natural language instructions for voice style, tone, pacing, or pronunciation.
Returns
  • (::String) — Optional. Natural language instructions for voice style, tone, pacing, or pronunciation.

#voice_instruction_mode

def voice_instruction_mode() -> ::Google::Cloud::Ces::V1beta::CustomVoiceSample::VoiceInstructionMode
Returns

#voice_instruction_mode=

def voice_instruction_mode=(value) -> ::Google::Cloud::Ces::V1beta::CustomVoiceSample::VoiceInstructionMode
Parameter
Returns

#voice_sample_gcs_uri

def voice_sample_gcs_uri() -> ::String
Returns
  • (::String) — Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.

#voice_sample_gcs_uri=

def voice_sample_gcs_uri=(value) -> ::String
Parameter
  • value (::String) — Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.
Returns
  • (::String) — Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, 24kHz WAV file.

#warnings

def warnings() -> ::Array<::Google::Cloud::Ces::V1beta::CustomVoiceSample::Warning>
Returns