Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::VoiceConfig (v1.33.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::VoiceConfig.

Configuration for a voice.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#prebuilt_voice_config

def prebuilt_voice_config() -> ::Google::Cloud::AIPlatform::V1::PrebuiltVoiceConfig
Returns
  • (::Google::Cloud::AIPlatform::V1::PrebuiltVoiceConfig) — The configuration for a prebuilt voice.

    Note: The following fields are mutually exclusive: prebuilt_voice_config, replicated_voice_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

#prebuilt_voice_config=

def prebuilt_voice_config=(value) -> ::Google::Cloud::AIPlatform::V1::PrebuiltVoiceConfig
Parameter
  • value (::Google::Cloud::AIPlatform::V1::PrebuiltVoiceConfig) — The configuration for a prebuilt voice.

    Note: The following fields are mutually exclusive: prebuilt_voice_config, replicated_voice_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AIPlatform::V1::PrebuiltVoiceConfig) — The configuration for a prebuilt voice.

    Note: The following fields are mutually exclusive: prebuilt_voice_config, replicated_voice_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

#replicated_voice_config

def replicated_voice_config() -> ::Google::Cloud::AIPlatform::V1::ReplicatedVoiceConfig
Returns
  • (::Google::Cloud::AIPlatform::V1::ReplicatedVoiceConfig) — Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.

    Note: The following fields are mutually exclusive: replicated_voice_config, prebuilt_voice_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

#replicated_voice_config=

def replicated_voice_config=(value) -> ::Google::Cloud::AIPlatform::V1::ReplicatedVoiceConfig
Parameter
  • value (::Google::Cloud::AIPlatform::V1::ReplicatedVoiceConfig) — Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.

    Note: The following fields are mutually exclusive: replicated_voice_config, prebuilt_voice_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AIPlatform::V1::ReplicatedVoiceConfig) — Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample.

    Note: The following fields are mutually exclusive: replicated_voice_config, prebuilt_voice_config. If a field in that set is populated, all other fields in the set will automatically be cleared.