File tree Expand file tree Collapse file tree
google/cloud/texttospeech Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,22 +56,23 @@ service TextToSpeechLongAudioSynthesize {
5656// `SynthesizeLongAudio` method.
5757message SynthesizeLongAudioRequest {
5858 // The resource states of the request in the form of
59- // `projects/*/locations/*/voices/* `.
59+ // `projects/*/locations/*`.
6060 string parent = 1 ;
6161
6262 // Required. The Synthesizer requires either plain text or SSML as input.
63+ // While Long Audio is in preview, SSML is temporarily unsupported.
6364 SynthesisInput input = 2 [(google.api.field_behavior ) = REQUIRED ];
6465
6566 // Required. The configuration of the synthesized audio.
6667 AudioConfig audio_config = 3 [(google.api.field_behavior ) = REQUIRED ];
6768
68- // Specifies a Cloud Storage URI for the synthesis results. Must be
69+ // Required. Specifies a Cloud Storage URI for the synthesis results. Must be
6970 // specified in the format: `gs://bucket_name/object_name`, and the bucket
7071 // must already exist.
71- string output_gcs_uri = 4 ;
72+ string output_gcs_uri = 4 [ (google.api .field_behavior ) = REQUIRED ] ;
7273
73- // The desired voice of the synthesized audio.
74- VoiceSelectionParams voice = 5 ;
74+ // Required. The desired voice of the synthesized audio.
75+ VoiceSelectionParams voice = 5 [ (google.api .field_behavior ) = REQUIRED ] ;
7576}
7677
7778// The message returned to the client by the `SynthesizeLongAudio` method.
Original file line number Diff line number Diff line change @@ -56,22 +56,23 @@ service TextToSpeechLongAudioSynthesize {
5656// `SynthesizeLongAudio` method.
5757message SynthesizeLongAudioRequest {
5858 // The resource states of the request in the form of
59- // `projects/*/locations/*/voices/* `.
59+ // `projects/*/locations/*`.
6060 string parent = 1 ;
6161
6262 // Required. The Synthesizer requires either plain text or SSML as input.
63+ // While Long Audio is in preview, SSML is temporarily unsupported.
6364 SynthesisInput input = 2 [(google.api.field_behavior ) = REQUIRED ];
6465
6566 // Required. The configuration of the synthesized audio.
6667 AudioConfig audio_config = 3 [(google.api.field_behavior ) = REQUIRED ];
6768
68- // Specifies a Cloud Storage URI for the synthesis results. Must be
69+ // Required. Specifies a Cloud Storage URI for the synthesis results. Must be
6970 // specified in the format: `gs://bucket_name/object_name`, and the bucket
7071 // must already exist.
71- string output_gcs_uri = 4 ;
72+ string output_gcs_uri = 4 [ (google.api .field_behavior ) = REQUIRED ] ;
7273
73- // The desired voice of the synthesized audio.
74- VoiceSelectionParams voice = 5 ;
74+ // Required. The desired voice of the synthesized audio.
75+ VoiceSelectionParams voice = 5 [ (google.api .field_behavior ) = REQUIRED ] ;
7576}
7677
7778// The message returned to the client by the `SynthesizeLongAudio` method.
You can’t perform that action at this time.
0 commit comments