Skip to content

Commit 761738b

Browse files
1 parent ad6c51b commit 761738b

23 files changed

+948
-18
lines changed

clients/google-api-services-firebaseml/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-firebaseml</artifactId>
25-
<version>v1-rev20230802-2.0.0</version>
25+
<version>v1-rev20241117-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-firebaseml:v1-rev20230802-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v1-rev20241117-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firebaseml/v1/2.0.0/com/google/api/services/firebaseml/v1/FirebaseML.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public class Operations {
159159
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
160160
* methods to check whether the cancellation succeeded or whether the operation completed despite
161161
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
162-
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
162+
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
163163
* `Code.CANCELLED`.
164164
*
165165
* Create a request for the method "operations.cancel".
@@ -190,7 +190,7 @@ public class Cancel extends FirebaseMLRequest<com.google.api.services.firebaseml
190190
* it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
191191
* methods to check whether the cancellation succeeded or whether the operation completed despite
192192
* cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
193-
* operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to
193+
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
194194
* `Code.CANCELLED`.
195195
*
196196
* Create a request for the method "operations.cancel".

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

Lines changed: 3 additions & 3 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-firebaseml</artifactId>
11-
<version>v1-rev20230802-2.0.0</version>
12-
<name>Firebase ML API v1-rev20230802-2.0.0</name>
11+
<version>v1-rev20241117-2.0.0</version>
12+
<name>Firebase ML API v1-rev20241117-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -90,7 +90,7 @@
9090
<windowtitle>Firebase ML API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.45.0/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.45.2/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.36.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.0/</link>
9696
</links>

clients/google-api-services-firebaseml/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-firebaseml</artifactId>
25-
<version>v1-rev20230802-2.0.0</version>
25+
<version>v1-rev20241117-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-firebaseml:v1-rev20230802-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v1-rev20241117-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firebaseml/v1beta2/2.0.0/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<windowtitle>Firebase ML API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.45.0/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.45.2/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.36.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.0/</link>
9696
</links>

clients/google-api-services-firebaseml/v2beta/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-firebaseml</artifactId>
25-
<version>v2beta-rev20241101-2.0.0</version>
25+
<version>v2beta-rev20241217-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-firebaseml:v2beta-rev20241101-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20241217-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1Blob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.firebaseml.v2beta.model;
1818

1919
/**
20-
* Content blob. It's preferred to send as text directly rather than raw bytes.
20+
* Content blob.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Firebase ML API. For a detailed explanation see:

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1GenerationConfig.java

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ public final class GoogleCloudAiplatformV1beta1GenerationConfig extends com.goog
6464
@com.google.api.client.util.Key
6565
private java.lang.Integer maxOutputTokens;
6666

67+
/**
68+
* Optional. If specified, the media resolution specified will be used.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.String mediaResolution;
73+
6774
/**
6875
* Optional. Positive penalties.
6976
* The value may be {@code null}.
@@ -88,6 +95,13 @@ public final class GoogleCloudAiplatformV1beta1GenerationConfig extends com.goog
8895
@com.google.api.client.util.Key
8996
private java.lang.String responseMimeType;
9097

98+
/**
99+
* Optional. The modalities of the response.
100+
* The value may be {@code null}.
101+
*/
102+
@com.google.api.client.util.Key
103+
private java.util.List<java.lang.String> responseModalities;
104+
91105
/**
92106
* Optional. The `Schema` object allows the definition of input and output data types. These types
93107
* can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0
@@ -113,6 +127,13 @@ public final class GoogleCloudAiplatformV1beta1GenerationConfig extends com.goog
113127
@com.google.api.client.util.Key
114128
private java.lang.Integer seed;
115129

130+
/**
131+
* Optional. The speech generation config.
132+
* The value may be {@code null}.
133+
*/
134+
@com.google.api.client.util.Key
135+
private GoogleCloudAiplatformV1beta1SpeechConfig speechConfig;
136+
116137
/**
117138
* Optional. Stop sequences.
118139
* The value may be {@code null}.
@@ -226,6 +247,23 @@ public GoogleCloudAiplatformV1beta1GenerationConfig setMaxOutputTokens(java.lang
226247
return this;
227248
}
228249

250+
/**
251+
* Optional. If specified, the media resolution specified will be used.
252+
* @return value or {@code null} for none
253+
*/
254+
public java.lang.String getMediaResolution() {
255+
return mediaResolution;
256+
}
257+
258+
/**
259+
* Optional. If specified, the media resolution specified will be used.
260+
* @param mediaResolution mediaResolution or {@code null} for none
261+
*/
262+
public GoogleCloudAiplatformV1beta1GenerationConfig setMediaResolution(java.lang.String mediaResolution) {
263+
this.mediaResolution = mediaResolution;
264+
return this;
265+
}
266+
229267
/**
230268
* Optional. Positive penalties.
231269
* @return value or {@code null} for none
@@ -283,6 +321,23 @@ public GoogleCloudAiplatformV1beta1GenerationConfig setResponseMimeType(java.lan
283321
return this;
284322
}
285323

324+
/**
325+
* Optional. The modalities of the response.
326+
* @return value or {@code null} for none
327+
*/
328+
public java.util.List<java.lang.String> getResponseModalities() {
329+
return responseModalities;
330+
}
331+
332+
/**
333+
* Optional. The modalities of the response.
334+
* @param responseModalities responseModalities or {@code null} for none
335+
*/
336+
public GoogleCloudAiplatformV1beta1GenerationConfig setResponseModalities(java.util.List<java.lang.String> responseModalities) {
337+
this.responseModalities = responseModalities;
338+
return this;
339+
}
340+
286341
/**
287342
* Optional. The `Schema` object allows the definition of input and output data types. These types
288343
* can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0
@@ -342,6 +397,23 @@ public GoogleCloudAiplatformV1beta1GenerationConfig setSeed(java.lang.Integer se
342397
return this;
343398
}
344399

400+
/**
401+
* Optional. The speech generation config.
402+
* @return value or {@code null} for none
403+
*/
404+
public GoogleCloudAiplatformV1beta1SpeechConfig getSpeechConfig() {
405+
return speechConfig;
406+
}
407+
408+
/**
409+
* Optional. The speech generation config.
410+
* @param speechConfig speechConfig or {@code null} for none
411+
*/
412+
public GoogleCloudAiplatformV1beta1GenerationConfig setSpeechConfig(GoogleCloudAiplatformV1beta1SpeechConfig speechConfig) {
413+
this.speechConfig = speechConfig;
414+
return this;
415+
}
416+
345417
/**
346418
* Optional. Stop sequences.
347419
* @return value or {@code null} for none

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1Part.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ public final class GoogleCloudAiplatformV1beta1Part extends com.google.api.clien
8484
@com.google.api.client.util.Key
8585
private java.lang.String text;
8686

87+
/**
88+
* Output only. Indicates if the part is thought from the model.
89+
* The value may be {@code null}.
90+
*/
91+
@com.google.api.client.util.Key
92+
private java.lang.Boolean thought;
93+
8794
/**
8895
* Optional. Video metadata. The metadata should only be specified while the video data is
8996
* presented in inline_data or file_data.
@@ -217,6 +224,23 @@ public GoogleCloudAiplatformV1beta1Part setText(java.lang.String text) {
217224
return this;
218225
}
219226

227+
/**
228+
* Output only. Indicates if the part is thought from the model.
229+
* @return value or {@code null} for none
230+
*/
231+
public java.lang.Boolean getThought() {
232+
return thought;
233+
}
234+
235+
/**
236+
* Output only. Indicates if the part is thought from the model.
237+
* @param thought thought or {@code null} for none
238+
*/
239+
public GoogleCloudAiplatformV1beta1Part setThought(java.lang.Boolean thought) {
240+
this.thought = thought;
241+
return this;
242+
}
243+
220244
/**
221245
* Optional. Video metadata. The metadata should only be specified while the video data is
222246
* presented in inline_data or file_data.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.firebaseml.v2beta.model;
18+
19+
/**
20+
* The configuration for the prebuilt speaker to use.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Firebase ML API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The name of the preset voice to use.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String voiceName;
38+
39+
/**
40+
* The name of the preset voice to use.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getVoiceName() {
44+
return voiceName;
45+
}
46+
47+
/**
48+
* The name of the preset voice to use.
49+
* @param voiceName voiceName or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig setVoiceName(java.lang.String voiceName) {
52+
this.voiceName = voiceName;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig clone() {
63+
return (GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)