Skip to content

Commit 7c29c16

Browse files
1 parent 518e292 commit 7c29c16

File tree

12 files changed

+82
-42
lines changed

12 files changed

+82
-42
lines changed

clients/google-api-services-texttospeech/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-texttospeech</artifactId>
25-
<version>v1-rev20251202-2.0.0</version>
25+
<version>v1-rev20260312-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20251202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20260312-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/Texttospeech.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Texttospeech extends com.google.api.client.googleapis.services.json
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -1307,8 +1307,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
13071307
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
13081308
* <li>Android: {@code newCompatibleTransport} from
13091309
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
1310-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
1311-
* </li>
1310+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
13121311
* </ul>
13131312
* @param jsonFactory JSON factory, which may be:
13141313
* <ul>

clients/google-api-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/AdvancedVoiceOptions.java

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
@SuppressWarnings("javadoc")
3131
public final class AdvancedVoiceOptions extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. If true, textnorm will be applied to text input. This feature is enabled by default.
35+
* Only applies for Gemini TTS.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Boolean enableTextnorm;
40+
3341
/**
3442
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
3543
* The value may be {@code null}.
@@ -38,14 +46,31 @@ public final class AdvancedVoiceOptions extends com.google.api.client.json.Gener
3846
private java.lang.Boolean lowLatencyJourneySynthesis;
3947

4048
/**
41-
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for
42-
* accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result
43-
* google.rpc.Code.INVALID_ARGUMENT.
49+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS.
4450
* The value may be {@code null}.
4551
*/
4652
@com.google.api.client.util.Key
4753
private java.lang.Boolean relaxSafetyFilters;
4854

55+
/**
56+
* Optional. If true, textnorm will be applied to text input. This feature is enabled by default.
57+
* Only applies for Gemini TTS.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.Boolean getEnableTextnorm() {
61+
return enableTextnorm;
62+
}
63+
64+
/**
65+
* Optional. If true, textnorm will be applied to text input. This feature is enabled by default.
66+
* Only applies for Gemini TTS.
67+
* @param enableTextnorm enableTextnorm or {@code null} for none
68+
*/
69+
public AdvancedVoiceOptions setEnableTextnorm(java.lang.Boolean enableTextnorm) {
70+
this.enableTextnorm = enableTextnorm;
71+
return this;
72+
}
73+
4974
/**
5075
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
5176
* @return value or {@code null} for none
@@ -64,19 +89,15 @@ public AdvancedVoiceOptions setLowLatencyJourneySynthesis(java.lang.Boolean lowL
6489
}
6590

6691
/**
67-
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for
68-
* accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result
69-
* google.rpc.Code.INVALID_ARGUMENT.
92+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS.
7093
* @return value or {@code null} for none
7194
*/
7295
public java.lang.Boolean getRelaxSafetyFilters() {
7396
return relaxSafetyFilters;
7497
}
7598

7699
/**
77-
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for
78-
* accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result
79-
* google.rpc.Code.INVALID_ARGUMENT.
100+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS.
80101
* @param relaxSafetyFilters relaxSafetyFilters or {@code null} for none
81102
*/
82103
public AdvancedVoiceOptions setRelaxSafetyFilters(java.lang.Boolean relaxSafetyFilters) {

clients/google-api-services-texttospeech/v1/2.0.0/com/google/api/services/texttospeech/v1/model/SynthesizeSpeechRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class SynthesizeSpeechRequest extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Advanced voice options.
34+
* Optional. Advanced voice options.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -59,15 +59,15 @@ public final class SynthesizeSpeechRequest extends com.google.api.client.json.Ge
5959
private VoiceSelectionParams voice;
6060

6161
/**
62-
* Advanced voice options.
62+
* Optional. Advanced voice options.
6363
* @return value or {@code null} for none
6464
*/
6565
public AdvancedVoiceOptions getAdvancedVoiceOptions() {
6666
return advancedVoiceOptions;
6767
}
6868

6969
/**
70-
* Advanced voice options.
70+
* Optional. Advanced voice options.
7171
* @param advancedVoiceOptions advancedVoiceOptions or {@code null} for none
7272
*/
7373
public SynthesizeSpeechRequest setAdvancedVoiceOptions(AdvancedVoiceOptions advancedVoiceOptions) {

clients/google-api-services-texttospeech/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-texttospeech</artifactId>
11-
<version>v1-rev20251202-2.0.0</version>
12-
<name>Cloud Text-to-Speech API v1-rev20251202-2.0.0</name>
11+
<version>v1-rev20260312-2.0.0</version>
12+
<name>Cloud Text-to-Speech API v1-rev20260312-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-texttospeech/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-texttospeech</artifactId>
25-
<version>v1-rev20251202-2.0.0</version>
25+
<version>v1-rev20260312-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20251202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20260312-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-texttospeech/v1beta1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-texttospeech</artifactId>
25-
<version>v1beta1-rev20251202-2.0.0</version>
25+
<version>v1beta1-rev20260312-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-texttospeech:v1beta1-rev20251202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1beta1-rev20260312-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-texttospeech/v1beta1/2.0.0/com/google/api/services/texttospeech/v1beta1/Texttospeech.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Texttospeech extends com.google.api.client.googleapis.services.json
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -1008,8 +1008,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
10081008
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
10091009
* <li>Android: {@code newCompatibleTransport} from
10101010
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
1011-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
1012-
* </li>
1011+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
10131012
* </ul>
10141013
* @param jsonFactory JSON factory, which may be:
10151014
* <ul>

clients/google-api-services-texttospeech/v1beta1/2.0.0/com/google/api/services/texttospeech/v1beta1/model/AdvancedVoiceOptions.java

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
@SuppressWarnings("javadoc")
3131
public final class AdvancedVoiceOptions extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. If true, textnorm will be applied to text input. This feature is enabled by default.
35+
* Only applies for Gemini TTS.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Boolean enableTextnorm;
40+
3341
/**
3442
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
3543
* The value may be {@code null}.
@@ -38,14 +46,31 @@ public final class AdvancedVoiceOptions extends com.google.api.client.json.Gener
3846
private java.lang.Boolean lowLatencyJourneySynthesis;
3947

4048
/**
41-
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for
42-
* accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result
43-
* google.rpc.Code.INVALID_ARGUMENT.
49+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS.
4450
* The value may be {@code null}.
4551
*/
4652
@com.google.api.client.util.Key
4753
private java.lang.Boolean relaxSafetyFilters;
4854

55+
/**
56+
* Optional. If true, textnorm will be applied to text input. This feature is enabled by default.
57+
* Only applies for Gemini TTS.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.Boolean getEnableTextnorm() {
61+
return enableTextnorm;
62+
}
63+
64+
/**
65+
* Optional. If true, textnorm will be applied to text input. This feature is enabled by default.
66+
* Only applies for Gemini TTS.
67+
* @param enableTextnorm enableTextnorm or {@code null} for none
68+
*/
69+
public AdvancedVoiceOptions setEnableTextnorm(java.lang.Boolean enableTextnorm) {
70+
this.enableTextnorm = enableTextnorm;
71+
return this;
72+
}
73+
4974
/**
5075
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
5176
* @return value or {@code null} for none
@@ -64,19 +89,15 @@ public AdvancedVoiceOptions setLowLatencyJourneySynthesis(java.lang.Boolean lowL
6489
}
6590

6691
/**
67-
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for
68-
* accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result
69-
* google.rpc.Code.INVALID_ARGUMENT.
92+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS.
7093
* @return value or {@code null} for none
7194
*/
7295
public java.lang.Boolean getRelaxSafetyFilters() {
7396
return relaxSafetyFilters;
7497
}
7598

7699
/**
77-
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for
78-
* accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result
79-
* google.rpc.Code.INVALID_ARGUMENT.
100+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS.
80101
* @param relaxSafetyFilters relaxSafetyFilters or {@code null} for none
81102
*/
82103
public AdvancedVoiceOptions setRelaxSafetyFilters(java.lang.Boolean relaxSafetyFilters) {

clients/google-api-services-texttospeech/v1beta1/2.0.0/com/google/api/services/texttospeech/v1beta1/model/SynthesizeSpeechRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class SynthesizeSpeechRequest extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Advanced voice options.
34+
* Optional. Advanced voice options.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -66,15 +66,15 @@ public final class SynthesizeSpeechRequest extends com.google.api.client.json.Ge
6666
private VoiceSelectionParams voice;
6767

6868
/**
69-
* Advanced voice options.
69+
* Optional. Advanced voice options.
7070
* @return value or {@code null} for none
7171
*/
7272
public AdvancedVoiceOptions getAdvancedVoiceOptions() {
7373
return advancedVoiceOptions;
7474
}
7575

7676
/**
77-
* Advanced voice options.
77+
* Optional. Advanced voice options.
7878
* @param advancedVoiceOptions advancedVoiceOptions or {@code null} for none
7979
*/
8080
public SynthesizeSpeechRequest setAdvancedVoiceOptions(AdvancedVoiceOptions advancedVoiceOptions) {

0 commit comments

Comments
 (0)