You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** A voice that specifies the language in which the pronunciation is to be returned. All voices for the same language (for example, `en-US`) return the same translation. */
/** The phoneme format in which to return the pronunciation. Omit the parameter to obtain the pronunciation in the default format. */
1550
+
/** The phoneme format in which to return the pronunciation. The Arabic, Chinese, Dutch, and Korean languages support only IPA. Omit the parameter to obtain the pronunciation in the default format. */
1518
1551
exportenumFormat{
1519
1552
IBM='ibm',
1520
1553
IPA='ipa',
@@ -1525,7 +1558,10 @@ namespace TextToSpeechV1 {
1525
1558
exportinterfaceCreateVoiceModelParams{
1526
1559
/** The name of the new custom voice model. */
1527
1560
name: string;
1528
-
/** The language of the new custom voice model. Omit the parameter to use the the default language, `en-US`. */
1561
+
/** The language of the new custom voice model. You create a custom voice model for a specific language, not for
1562
+
* a specific voice. A custom model can be used with any voice, standard or neural, for its specified language.
1563
+
* Omit the parameter to use the the default language, `en-US`.
/** A description of the new custom voice model. Specifying a description is recommended. */
1531
1567
description?: string;
@@ -1534,8 +1570,9 @@ namespace TextToSpeechV1 {
1534
1570
1535
1571
/** Constants for the `createVoiceModel` operation. */
1536
1572
exportnamespaceCreateVoiceModelConstants{
1537
-
/** The language of the new custom voice model. Omit the parameter to use the the default language, `en-US`. */
1573
+
/** The language of the new custom voice model. You create a custom voice model for a specific language, not for a specific voice. A custom model can be used with any voice, standard or neural, for its specified language. Omit the parameter to use the the default language, `en-US`. */
1538
1574
exportenumLanguage{
1575
+
AR_AR='ar-AR',
1539
1576
DE_DE='de-DE',
1540
1577
EN_GB='en-GB',
1541
1578
EN_US='en-US',
@@ -1545,7 +1582,10 @@ namespace TextToSpeechV1 {
1545
1582
FR_FR='fr-FR',
1546
1583
IT_IT='it-IT',
1547
1584
JA_JP='ja-JP',
1585
+
KO_KR='ko-KR',
1586
+
NL_NL='nl-NL',
1548
1587
PT_BR='pt-BR',
1588
+
ZH_CN='zh-CN',
1549
1589
}
1550
1590
}
1551
1591
@@ -1562,6 +1602,7 @@ namespace TextToSpeechV1 {
1562
1602
exportnamespaceListVoiceModelsConstants{
1563
1603
/** The language for which custom voice models that are owned by the requesting credentials are to be returned. Omit the parameter to see all custom voice models that are owned by the requester. */
1564
1604
exportenumLanguage{
1605
+
AR_AR='ar-AR',
1565
1606
DE_DE='de-DE',
1566
1607
EN_GB='en-GB',
1567
1608
EN_US='en-US',
@@ -1571,7 +1612,10 @@ namespace TextToSpeechV1 {
1571
1612
FR_FR='fr-FR',
1572
1613
IT_IT='it-IT',
1573
1614
JA_JP='ja-JP',
1615
+
KO_KR='ko-KR',
1616
+
NL_NL='nl-NL',
1574
1617
PT_BR='pt-BR',
1618
+
ZH_CN='zh-CN',
1575
1619
}
1576
1620
}
1577
1621
@@ -1645,8 +1689,9 @@ namespace TextToSpeechV1 {
1645
1689
/** The word that is to be added or updated for the custom voice model. */
1646
1690
word: string;
1647
1691
/** The phonetic or sounds-like translation for the word. A phonetic translation is based on the SSML format for
1648
-
* representing the phonetic string of a word either as an IPA translation or as an IBM SPR translation. A
1649
-
* sounds-like is one or more words that, when combined, sound like the word.
1692
+
* representing the phonetic string of a word either as an IPA translation or as an IBM SPR translation. The
1693
+
* Arabic, Chinese, Dutch, and Korean languages support only IPA. A sounds-like is one or more words that, when
1694
+
* combined, sound like the word.
1650
1695
*/
1651
1696
translation: string;
1652
1697
/** **Japanese only.** The part of speech for the word. The service uses the value to produce the correct
@@ -1739,8 +1784,9 @@ namespace TextToSpeechV1 {
1739
1784
/** Information about the translation for the specified text. */
1740
1785
exportinterfaceTranslation{
1741
1786
/** The phonetic or sounds-like translation for the word. A phonetic translation is based on the SSML format for
1742
-
* representing the phonetic string of a word either as an IPA translation or as an IBM SPR translation. A
1743
-
* sounds-like is one or more words that, when combined, sound like the word.
1787
+
* representing the phonetic string of a word either as an IPA translation or as an IBM SPR translation. The
1788
+
* Arabic, Chinese, Dutch, and Korean languages support only IPA. A sounds-like is one or more words that, when
1789
+
* combined, sound like the word.
1744
1790
*/
1745
1791
translation: string;
1746
1792
/** **Japanese only.** The part of speech for the word. The service uses the value to produce the correct
0 commit comments