Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 44ffbb0

Browse files
committedOct 31, 2023
feat(texttospeech): update the api
#### texttospeech:v1 The following keys were added: - schemas.CustomVoiceParams.properties.reportedUsage.deprecated (Total Keys: 1) #### texttospeech:v1beta1 The following keys were added: - schemas.CustomVoiceParams.properties.reportedUsage.deprecated (Total Keys: 1)
1 parent 35d4629 commit 44ffbb0

6 files changed

+10
-8
lines changed
 

‎docs/dyn/texttospeech_v1.projects.locations.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h3>Method Details</h3>
119119
&quot;voice&quot;: { # Description of which voice to use for a synthesis request. # Required. The desired voice of the synthesized audio.
120120
&quot;customVoice&quot;: { # Description of the custom voice to be synthesized. # The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration.
121121
&quot;model&quot;: &quot;A String&quot;, # Required. The name of the AutoML model that synthesizes the custom voice.
122-
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. The usage of the synthesized audio to be reported.
122+
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. Deprecated. The usage of the synthesized audio to be reported.
123123
},
124124
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. &quot;en-US&quot;. This should not include a script tag (e.g. use &quot;cmn-cn&quot; rather than &quot;cmn-Hant-cn&quot;), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn&#x27;t a Canadian voice available), or even a different language, e.g. using &quot;nb&quot; (Norwegian Bokmal) instead of &quot;no&quot; (Norwegian)&quot;.
125125
&quot;name&quot;: &quot;A String&quot;, # The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender.

‎docs/dyn/texttospeech_v1.text.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h3>Method Details</h3>
112112
&quot;voice&quot;: { # Description of which voice to use for a synthesis request. # Required. The desired voice of the synthesized audio.
113113
&quot;customVoice&quot;: { # Description of the custom voice to be synthesized. # The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration.
114114
&quot;model&quot;: &quot;A String&quot;, # Required. The name of the AutoML model that synthesizes the custom voice.
115-
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. The usage of the synthesized audio to be reported.
115+
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. Deprecated. The usage of the synthesized audio to be reported.
116116
},
117117
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. &quot;en-US&quot;. This should not include a script tag (e.g. use &quot;cmn-cn&quot; rather than &quot;cmn-Hant-cn&quot;), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn&#x27;t a Canadian voice available), or even a different language, e.g. using &quot;nb&quot; (Norwegian Bokmal) instead of &quot;no&quot; (Norwegian)&quot;.
118118
&quot;name&quot;: &quot;A String&quot;, # The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender.

‎docs/dyn/texttospeech_v1beta1.projects.locations.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h3>Method Details</h3>
119119
&quot;voice&quot;: { # Description of which voice to use for a synthesis request. # Required. The desired voice of the synthesized audio.
120120
&quot;customVoice&quot;: { # Description of the custom voice to be synthesized. # The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration.
121121
&quot;model&quot;: &quot;A String&quot;, # Required. The name of the AutoML model that synthesizes the custom voice.
122-
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. The usage of the synthesized audio to be reported.
122+
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. Deprecated. The usage of the synthesized audio to be reported.
123123
},
124124
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. &quot;en-US&quot;. This should not include a script tag (e.g. use &quot;cmn-cn&quot; rather than &quot;cmn-Hant-cn&quot;), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn&#x27;t a Canadian voice available), or even a different language, e.g. using &quot;nb&quot; (Norwegian Bokmal) instead of &quot;no&quot; (Norwegian)&quot;.
125125
&quot;name&quot;: &quot;A String&quot;, # The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender.

‎docs/dyn/texttospeech_v1beta1.text.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h3>Method Details</h3>
115115
&quot;voice&quot;: { # Description of which voice to use for a synthesis request. # Required. The desired voice of the synthesized audio.
116116
&quot;customVoice&quot;: { # Description of the custom voice to be synthesized. # The configuration for a custom voice. If [CustomVoiceParams.model] is set, the service will choose the custom voice matching the specified configuration.
117117
&quot;model&quot;: &quot;A String&quot;, # Required. The name of the AutoML model that synthesizes the custom voice.
118-
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. The usage of the synthesized audio to be reported.
118+
&quot;reportedUsage&quot;: &quot;A String&quot;, # Optional. Deprecated. The usage of the synthesized audio to be reported.
119119
},
120120
&quot;languageCode&quot;: &quot;A String&quot;, # Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. &quot;en-US&quot;. This should not include a script tag (e.g. use &quot;cmn-cn&quot; rather than &quot;cmn-Hant-cn&quot;), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn&#x27;t a Canadian voice available), or even a different language, e.g. using &quot;nb&quot; (Norwegian Bokmal) instead of &quot;no&quot; (Norwegian)&quot;.
121121
&quot;name&quot;: &quot;A String&quot;, # The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and gender.

‎googleapiclient/discovery_cache/documents/texttospeech.v1.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
}
319319
}
320320
},
321-
"revision": "20231013",
321+
"revision": "20231023",
322322
"rootUrl": "https://texttospeech.googleapis.com/",
323323
"schemas": {
324324
"AudioConfig": {
@@ -390,7 +390,8 @@
390390
"type": "string"
391391
},
392392
"reportedUsage": {
393-
"description": "Optional. The usage of the synthesized audio to be reported.",
393+
"deprecated": true,
394+
"description": "Optional. Deprecated. The usage of the synthesized audio to be reported.",
394395
"enum": [
395396
"REPORTED_USAGE_UNSPECIFIED",
396397
"REALTIME",

‎googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
}
262262
}
263263
},
264-
"revision": "20231013",
264+
"revision": "20231023",
265265
"rootUrl": "https://texttospeech.googleapis.com/",
266266
"schemas": {
267267
"AudioConfig": {
@@ -329,7 +329,8 @@
329329
"type": "string"
330330
},
331331
"reportedUsage": {
332-
"description": "Optional. The usage of the synthesized audio to be reported.",
332+
"deprecated": true,
333+
"description": "Optional. Deprecated. The usage of the synthesized audio to be reported.",
333334
"enum": [
334335
"REPORTED_USAGE_UNSPECIFIED",
335336
"REALTIME",

0 commit comments

Comments
 (0)
Please sign in to comment.