Skip to content

Commit 53ab113

Browse files
1 parent 311651e commit 53ab113

File tree

8 files changed

+210
-6
lines changed

8 files changed

+210
-6
lines changed

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-rev20241231-2.0.0</version>
25+
<version>v2beta-rev20250120-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-rev20241231-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250120-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: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ public final class GoogleCloudAiplatformV1beta1Blob extends com.google.api.clien
3636
@com.google.api.client.util.Key
3737
private java.lang.String data;
3838

39+
/**
40+
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
41+
* This field is only returned in PromptMessage for prompt management. It is not currently used in
42+
* the Gemini GenerateContent calls.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String displayName;
47+
3948
/**
4049
* Required. The IANA standard MIME type of the source data.
4150
* The value may be {@code null}.
@@ -88,6 +97,27 @@ public GoogleCloudAiplatformV1beta1Blob encodeData(byte[] data) {
8897
return this;
8998
}
9099

100+
/**
101+
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
102+
* This field is only returned in PromptMessage for prompt management. It is not currently used in
103+
* the Gemini GenerateContent calls.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.lang.String getDisplayName() {
107+
return displayName;
108+
}
109+
110+
/**
111+
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
112+
* This field is only returned in PromptMessage for prompt management. It is not currently used in
113+
* the Gemini GenerateContent calls.
114+
* @param displayName displayName or {@code null} for none
115+
*/
116+
public GoogleCloudAiplatformV1beta1Blob setDisplayName(java.lang.String displayName) {
117+
this.displayName = displayName;
118+
return this;
119+
}
120+
91121
/**
92122
* Required. The IANA standard MIME type of the source data.
93123
* @return value or {@code null} for none

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

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

32+
/**
33+
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
34+
* file datas. This field is only returned in PromptMessage for prompt management. It is not
35+
* currently used in the Gemini GenerateContent calls.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String displayName;
40+
3241
/**
3342
* Required. URI.
3443
* The value may be {@code null}.
@@ -43,6 +52,27 @@ public final class GoogleCloudAiplatformV1beta1FileData extends com.google.api.c
4352
@com.google.api.client.util.Key
4453
private java.lang.String mimeType;
4554

55+
/**
56+
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
57+
* file datas. This field is only returned in PromptMessage for prompt management. It is not
58+
* currently used in the Gemini GenerateContent calls.
59+
* @return value or {@code null} for none
60+
*/
61+
public java.lang.String getDisplayName() {
62+
return displayName;
63+
}
64+
65+
/**
66+
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
67+
* file datas. This field is only returned in PromptMessage for prompt management. It is not
68+
* currently used in the Gemini GenerateContent calls.
69+
* @param displayName displayName or {@code null} for none
70+
*/
71+
public GoogleCloudAiplatformV1beta1FileData setDisplayName(java.lang.String displayName) {
72+
this.displayName = displayName;
73+
return this;
74+
}
75+
4676
/**
4777
* Required. URI.
4878
* @return value or {@code null} for none

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ public final class GoogleCloudAiplatformV1beta1GenerateContentResponse extends c
4242
com.google.api.client.util.Data.nullOf(GoogleCloudAiplatformV1beta1Candidate.class);
4343
}
4444

45+
/**
46+
* Output only. Timestamp when the request is made to the server.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private String createTime;
51+
4552
/**
4653
* Output only. The model version used to generate the response.
4754
* The value may be {@code null}.
@@ -57,6 +64,13 @@ public final class GoogleCloudAiplatformV1beta1GenerateContentResponse extends c
5764
@com.google.api.client.util.Key
5865
private GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback promptFeedback;
5966

67+
/**
68+
* Output only. response_id is used to identify each response. It is the encoding of the event_id.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.String responseId;
73+
6074
/**
6175
* Usage metadata about the response(s).
6276
* The value may be {@code null}.
@@ -81,6 +95,23 @@ public GoogleCloudAiplatformV1beta1GenerateContentResponse setCandidates(java.ut
8195
return this;
8296
}
8397

98+
/**
99+
* Output only. Timestamp when the request is made to the server.
100+
* @return value or {@code null} for none
101+
*/
102+
public String getCreateTime() {
103+
return createTime;
104+
}
105+
106+
/**
107+
* Output only. Timestamp when the request is made to the server.
108+
* @param createTime createTime or {@code null} for none
109+
*/
110+
public GoogleCloudAiplatformV1beta1GenerateContentResponse setCreateTime(String createTime) {
111+
this.createTime = createTime;
112+
return this;
113+
}
114+
84115
/**
85116
* Output only. The model version used to generate the response.
86117
* @return value or {@code null} for none
@@ -117,6 +148,23 @@ public GoogleCloudAiplatformV1beta1GenerateContentResponse setPromptFeedback(Goo
117148
return this;
118149
}
119150

151+
/**
152+
* Output only. response_id is used to identify each response. It is the encoding of the event_id.
153+
* @return value or {@code null} for none
154+
*/
155+
public java.lang.String getResponseId() {
156+
return responseId;
157+
}
158+
159+
/**
160+
* Output only. response_id is used to identify each response. It is the encoding of the event_id.
161+
* @param responseId responseId or {@code null} for none
162+
*/
163+
public GoogleCloudAiplatformV1beta1GenerateContentResponse setResponseId(java.lang.String responseId) {
164+
this.responseId = responseId;
165+
return this;
166+
}
167+
120168
/**
121169
* Usage metadata about the response(s).
122170
* @return value or {@code null} for none

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ public final class GoogleCloudAiplatformV1beta1GenerationConfig extends com.goog
148148
@com.google.api.client.util.Key
149149
private java.lang.Float temperature;
150150

151+
/**
152+
* Optional. Config for thinking features. An error will be returned if this field is set for
153+
* models that don't support thinking.
154+
* The value may be {@code null}.
155+
*/
156+
@com.google.api.client.util.Key
157+
private GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig thinkingConfig;
158+
151159
/**
152160
* Optional. If specified, top-k sampling will be used.
153161
* The value may be {@code null}.
@@ -448,6 +456,25 @@ public GoogleCloudAiplatformV1beta1GenerationConfig setTemperature(java.lang.Flo
448456
return this;
449457
}
450458

459+
/**
460+
* Optional. Config for thinking features. An error will be returned if this field is set for
461+
* models that don't support thinking.
462+
* @return value or {@code null} for none
463+
*/
464+
public GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig getThinkingConfig() {
465+
return thinkingConfig;
466+
}
467+
468+
/**
469+
* Optional. Config for thinking features. An error will be returned if this field is set for
470+
* models that don't support thinking.
471+
* @param thinkingConfig thinkingConfig or {@code null} for none
472+
*/
473+
public GoogleCloudAiplatformV1beta1GenerationConfig setThinkingConfig(GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig thinkingConfig) {
474+
this.thinkingConfig = thinkingConfig;
475+
return this;
476+
}
477+
451478
/**
452479
* Optional. If specified, top-k sampling will be used.
453480
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
* Config for thinking features.
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 GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned
34+
* only when available.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean includeThoughts;
39+
40+
/**
41+
* Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned
42+
* only when available.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.Boolean getIncludeThoughts() {
46+
return includeThoughts;
47+
}
48+
49+
/**
50+
* Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned
51+
* only when available.
52+
* @param includeThoughts includeThoughts or {@code null} for none
53+
*/
54+
public GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig setIncludeThoughts(java.lang.Boolean includeThoughts) {
55+
this.includeThoughts = includeThoughts;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig set(String fieldName, Object value) {
61+
return (GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig clone() {
66+
return (GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig) super.clone();
67+
}
68+
69+
}

clients/google-api-services-firebaseml/v2beta/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-firebaseml</artifactId>
11-
<version>v2beta-rev20241231-2.0.0</version>
12-
<name>Firebase ML API v2beta-rev20241231-2.0.0</name>
11+
<version>v2beta-rev20250120-2.0.0</version>
12+
<name>Firebase ML API v2beta-rev20250120-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)