Skip to content

Commit 4d1ef21

Browse files
1 parent d030878 commit 4d1ef21

File tree

8 files changed

+66
-12
lines changed

8 files changed

+66
-12
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-rev20250805-2.0.0</version>
25+
<version>v1-rev20250903-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-rev20250805-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20250903-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ public final class SynthesisInput extends com.google.api.client.json.GenericJson
5656
@com.google.api.client.util.Key
5757
private MultiSpeakerMarkup multiSpeakerMarkup;
5858

59+
/**
60+
* This is system instruction supported only for controllable voice models. If used, we will pass
61+
* text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String prompt;
66+
5967
/**
6068
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise
6169
* the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see
@@ -131,6 +139,25 @@ public SynthesisInput setMultiSpeakerMarkup(MultiSpeakerMarkup multiSpeakerMarku
131139
return this;
132140
}
133141

142+
/**
143+
* This is system instruction supported only for controllable voice models. If used, we will pass
144+
* text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.
145+
* @return value or {@code null} for none
146+
*/
147+
public java.lang.String getPrompt() {
148+
return prompt;
149+
}
150+
151+
/**
152+
* This is system instruction supported only for controllable voice models. If used, we will pass
153+
* text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.
154+
* @param prompt prompt or {@code null} for none
155+
*/
156+
public SynthesisInput setPrompt(java.lang.String prompt) {
157+
this.prompt = prompt;
158+
return this;
159+
}
160+
134161
/**
135162
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise
136163
* the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see

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-rev20250805-2.0.0</version>
12-
<name>Cloud Text-to-Speech API v1-rev20250805-2.0.0</name>
11+
<version>v1-rev20250903-2.0.0</version>
12+
<name>Cloud Text-to-Speech API v1-rev20250903-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-rev20250805-2.0.0</version>
25+
<version>v1-rev20250903-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-rev20250805-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1-rev20250903-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-rev20250805-2.0.0</version>
25+
<version>v1beta1-rev20250903-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-rev20250805-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1beta1-rev20250903-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ public final class SynthesisInput extends com.google.api.client.json.GenericJson
5656
@com.google.api.client.util.Key
5757
private MultiSpeakerMarkup multiSpeakerMarkup;
5858

59+
/**
60+
* This is system instruction supported only for controllable voice models. If used, we will pass
61+
* text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String prompt;
66+
5967
/**
6068
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise
6169
* the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see
@@ -131,6 +139,25 @@ public SynthesisInput setMultiSpeakerMarkup(MultiSpeakerMarkup multiSpeakerMarku
131139
return this;
132140
}
133141

142+
/**
143+
* This is system instruction supported only for controllable voice models. If used, we will pass
144+
* text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.
145+
* @return value or {@code null} for none
146+
*/
147+
public java.lang.String getPrompt() {
148+
return prompt;
149+
}
150+
151+
/**
152+
* This is system instruction supported only for controllable voice models. If used, we will pass
153+
* text to Flash TTS as is. Can only used with Flash TTS. What AI Studio calls Style Instructions.
154+
* @param prompt prompt or {@code null} for none
155+
*/
156+
public SynthesisInput setPrompt(java.lang.String prompt) {
157+
this.prompt = prompt;
158+
return this;
159+
}
160+
134161
/**
135162
* The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise
136163
* the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see

clients/google-api-services-texttospeech/v1beta1/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>v1beta1-rev20250805-2.0.0</version>
12-
<name>Cloud Text-to-Speech API v1beta1-rev20250805-2.0.0</name>
11+
<version>v1beta1-rev20250903-2.0.0</version>
12+
<name>Cloud Text-to-Speech API v1beta1-rev20250903-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-texttospeech/v1beta1/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-rev20250805-2.0.0</version>
25+
<version>v1beta1-rev20250903-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-rev20250805-2.0.0'
38+
implementation 'com.google.apis:google-api-services-texttospeech:v1beta1-rev20250903-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)