@@ -21,7 +21,6 @@ import "google/api/client.proto";
2121import "google/api/field_behavior.proto" ;
2222import "google/api/resource.proto" ;
2323
24- option cc_enable_arenas = true ;
2524option csharp_namespace = "Google.Cloud.TextToSpeech.V1Beta1" ;
2625option go_package = "cloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb;texttospeechpb" ;
2726option java_multiple_files = true ;
@@ -288,6 +287,11 @@ message VoiceSelectionParams {
288287 // the service will choose the custom voice matching the specified
289288 // configuration.
290289 CustomVoiceParams custom_voice = 4 ;
290+
291+ // Optional. The configuration for a voice clone. If
292+ // [VoiceCloneParams.voice_clone_key] is set, the service will choose the
293+ // voice clone matching the specified configuration.
294+ VoiceCloneParams voice_clone = 5 [(google.api.field_behavior ) = OPTIONAL ];
291295}
292296
293297// Description of audio data to be synthesized.
@@ -375,6 +379,12 @@ message CustomVoiceParams {
375379 [deprecated = true , (google.api.field_behavior ) = OPTIONAL ];
376380}
377381
382+ // The configuration of Voice Clone feature.
383+ message VoiceCloneParams {
384+ // Required. Created by GenerateVoiceCloningKey.
385+ string voice_cloning_key = 1 [(google.api.field_behavior ) = REQUIRED ];
386+ }
387+
378388// The message returned to the client by the `SynthesizeSpeech` method.
379389message SynthesizeSpeechResponse {
380390 // The audio data bytes encoded as specified in the request, including the
0 commit comments