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

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

The configuration for the replicated voice to use.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ mime_type
string

Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k sampling rate.

↳ voice_sample_audio
string

Optional. The sample of the custom voice.

getMimeType

Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k sampling rate.

Returns
Type
Description
string

setMimeType

Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k sampling rate.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getVoiceSampleAudio

Optional. The sample of the custom voice.

Returns
Type
Description
string

setVoiceSampleAudio

Optional. The sample of the custom voice.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: