Google Cloud Ai Platform V1 Client - Class MultiSpeakerVoiceConfig (1.45.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class MultiSpeakerVoiceConfig.

Configuration for a multi-speaker text-to-speech request.

Generated from protobuf message google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ speaker_voice_configs array<SpeakerVoiceConfig>

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.

getSpeakerVoiceConfigs

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSpeakerVoiceConfigs

Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.

Parameter
Name Description
var array<SpeakerVoiceConfig>
Returns
Type Description
$this