Skip to content

Commit df6d04b

Browse files
1 parent f348bef commit df6d04b

File tree

6 files changed

+54
-18
lines changed

6 files changed

+54
-18
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-rev20250604-2.0.0</version>
25+
<version>v2beta-rev20250610-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-rev20250604-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250610-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: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ public final class GoogleCloudAiplatformV1beta1Blob extends com.google.api.clien
3838

3939
/**
4040
* 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.
41+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
42+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
43+
* url_context) are enabled.
4344
* The value may be {@code null}.
4445
*/
4546
@com.google.api.client.util.Key
@@ -99,8 +100,9 @@ public GoogleCloudAiplatformV1beta1Blob encodeData(byte[] data) {
99100

100101
/**
101102
* 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.
103+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
104+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
105+
* url_context) are enabled.
104106
* @return value or {@code null} for none
105107
*/
106108
public java.lang.String getDisplayName() {
@@ -109,8 +111,9 @@ public java.lang.String getDisplayName() {
109111

110112
/**
111113
* 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+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
115+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
116+
* url_context) are enabled.
114117
* @param displayName displayName or {@code null} for none
115118
*/
116119
public GoogleCloudAiplatformV1beta1Blob setDisplayName(java.lang.String displayName) {

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ public final class GoogleCloudAiplatformV1beta1FileData extends com.google.api.c
3131

3232
/**
3333
* 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.
34+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
35+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
36+
* google_search, and url_context) are enabled.
3637
* The value may be {@code null}.
3738
*/
3839
@com.google.api.client.util.Key
@@ -54,8 +55,9 @@ public final class GoogleCloudAiplatformV1beta1FileData extends com.google.api.c
5455

5556
/**
5657
* 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.
58+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
59+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
60+
* google_search, and url_context) are enabled.
5961
* @return value or {@code null} for none
6062
*/
6163
public java.lang.String getDisplayName() {
@@ -64,8 +66,9 @@ public java.lang.String getDisplayName() {
6466

6567
/**
6668
* 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+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
70+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
71+
* google_search, and url_context) are enabled.
6972
* @param displayName displayName or {@code null} for none
7073
*/
7174
public GoogleCloudAiplatformV1beta1FileData setDisplayName(java.lang.String displayName) {

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ public final class GoogleCloudAiplatformV1beta1SafetyRating extends com.google.a
4343
@com.google.api.client.util.Key
4444
private java.lang.String category;
4545

46+
/**
47+
* Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If
48+
* minors are detected in the output image, the threshold of each safety category will be
49+
* overwritten if user sets a lower threshold.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String overwrittenThreshold;
54+
4655
/**
4756
* Output only. Harm probability levels in the content.
4857
* The value may be {@code null}.
@@ -105,6 +114,27 @@ public GoogleCloudAiplatformV1beta1SafetyRating setCategory(java.lang.String cat
105114
return this;
106115
}
107116

117+
/**
118+
* Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If
119+
* minors are detected in the output image, the threshold of each safety category will be
120+
* overwritten if user sets a lower threshold.
121+
* @return value or {@code null} for none
122+
*/
123+
public java.lang.String getOverwrittenThreshold() {
124+
return overwrittenThreshold;
125+
}
126+
127+
/**
128+
* Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If
129+
* minors are detected in the output image, the threshold of each safety category will be
130+
* overwritten if user sets a lower threshold.
131+
* @param overwrittenThreshold overwrittenThreshold or {@code null} for none
132+
*/
133+
public GoogleCloudAiplatformV1beta1SafetyRating setOverwrittenThreshold(java.lang.String overwrittenThreshold) {
134+
this.overwrittenThreshold = overwrittenThreshold;
135+
return this;
136+
}
137+
108138
/**
109139
* Output only. Harm probability levels in the content.
110140
* @return value or {@code null} for none

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-rev20250604-2.0.0</version>
12-
<name>Firebase ML API v2beta-rev20250604-2.0.0</name>
11+
<version>v2beta-rev20250610-2.0.0</version>
12+
<name>Firebase ML API v2beta-rev20250610-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-rev20250604-2.0.0</version>
25+
<version>v2beta-rev20250610-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-rev20250604-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250610-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)