@@ -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.V1" ;
2625option go_package = "cloud.google.com/go/texttospeech/apiv1/texttospeechpb;texttospeechpb" ;
2726option java_multiple_files = true ;
@@ -273,6 +272,11 @@ message VoiceSelectionParams {
273272 // the service will choose the custom voice matching the specified
274273 // configuration.
275274 CustomVoiceParams custom_voice = 4 ;
275+
276+ // Optional. The configuration for a voice clone. If
277+ // [VoiceCloneParams.voice_clone_key] is set, the service will choose the
278+ // voice clone matching the specified configuration.
279+ VoiceCloneParams voice_clone = 5 [(google.api.field_behavior ) = OPTIONAL ];
276280}
277281
278282// Description of audio data to be synthesized.
@@ -360,6 +364,12 @@ message CustomVoiceParams {
360364 [deprecated = true , (google.api.field_behavior ) = OPTIONAL ];
361365}
362366
367+ // The configuration of Voice Clone feature.
368+ message VoiceCloneParams {
369+ // Required. Created by GenerateVoiceCloningKey.
370+ string voice_cloning_key = 1 [(google.api.field_behavior ) = REQUIRED ];
371+ }
372+
363373// The message returned to the client by the `SynthesizeSpeech` method.
364374message SynthesizeSpeechResponse {
365375 // The audio data bytes encoded as specified in the request, including the
0 commit comments