Skip to content

Commit 35ae49d

Browse files
1 parent d938afc commit 35ae49d

9 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ public final class GoogleCloudAiplatformV1beta1Candidate extends com.google.api.
8181
@com.google.api.client.util.Key
8282
private java.util.List<GoogleCloudAiplatformV1beta1SafetyRating> safetyRatings;
8383

84+
/**
85+
* Output only. Confidence score of the candidate.
86+
* The value may be {@code null}.
87+
*/
88+
@com.google.api.client.util.Key
89+
private java.lang.Double score;
90+
8491
/**
8592
* Output only. Source attribution of the generated content.
8693
* @return value or {@code null} for none
@@ -206,6 +213,23 @@ public GoogleCloudAiplatformV1beta1Candidate setSafetyRatings(java.util.List<Goo
206213
return this;
207214
}
208215

216+
/**
217+
* Output only. Confidence score of the candidate.
218+
* @return value or {@code null} for none
219+
*/
220+
public java.lang.Double getScore() {
221+
return score;
222+
}
223+
224+
/**
225+
* Output only. Confidence score of the candidate.
226+
* @param score score or {@code null} for none
227+
*/
228+
public GoogleCloudAiplatformV1beta1Candidate setScore(java.lang.Double score) {
229+
this.score = score;
230+
return this;
231+
}
232+
209233
@Override
210234
public GoogleCloudAiplatformV1beta1Candidate set(String fieldName, Object value) {
211235
return (GoogleCloudAiplatformV1beta1Candidate) super.set(fieldName, value);

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

Lines changed: 66 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public final class GoogleCloudAiplatformV1beta1CountTokensRequest extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Required. Input content.
33+
* Optional. Input content.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
@@ -43,31 +43,48 @@ public final class GoogleCloudAiplatformV1beta1CountTokensRequest extends com.go
4343
}
4444

4545
/**
46-
* Required. The instances that are the input to token counting call. Schema is identical to the
46+
* Optional. The instances that are the input to token counting call. Schema is identical to the
4747
* prediction schema of the underlying model.
4848
* The value may be {@code null}.
4949
*/
5050
@com.google.api.client.util.Key
5151
private java.util.List<java.lang.Object> instances;
5252

5353
/**
54-
* Required. The name of the publisher model requested to serve the prediction. Format:
54+
* Optional. The name of the publisher model requested to serve the prediction. Format:
5555
* `projects/{project}/locations/{location}/publishers/models`
5656
* The value may be {@code null}.
5757
*/
5858
@com.google.api.client.util.Key
5959
private java.lang.String model;
6060

6161
/**
62-
* Required. Input content.
62+
* Optional. The user provided system instructions for the model. Note: only text should be used
63+
* in parts and content in each part will be in a separate paragraph.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private GoogleCloudAiplatformV1beta1Content systemInstruction;
68+
69+
/**
70+
* Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a
71+
* piece of code that enables the system to interact with external systems to perform an action,
72+
* or set of actions, outside of knowledge and scope of the model.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.util.List<GoogleCloudAiplatformV1beta1Tool> tools;
77+
78+
/**
79+
* Optional. Input content.
6380
* @return value or {@code null} for none
6481
*/
6582
public java.util.List<GoogleCloudAiplatformV1beta1Content> getContents() {
6683
return contents;
6784
}
6885

6986
/**
70-
* Required. Input content.
87+
* Optional. Input content.
7188
* @param contents contents or {@code null} for none
7289
*/
7390
public GoogleCloudAiplatformV1beta1CountTokensRequest setContents(java.util.List<GoogleCloudAiplatformV1beta1Content> contents) {
@@ -76,7 +93,7 @@ public GoogleCloudAiplatformV1beta1CountTokensRequest setContents(java.util.List
7693
}
7794

7895
/**
79-
* Required. The instances that are the input to token counting call. Schema is identical to the
96+
* Optional. The instances that are the input to token counting call. Schema is identical to the
8097
* prediction schema of the underlying model.
8198
* @return value or {@code null} for none
8299
*/
@@ -85,7 +102,7 @@ public java.util.List<java.lang.Object> getInstances() {
85102
}
86103

87104
/**
88-
* Required. The instances that are the input to token counting call. Schema is identical to the
105+
* Optional. The instances that are the input to token counting call. Schema is identical to the
89106
* prediction schema of the underlying model.
90107
* @param instances instances or {@code null} for none
91108
*/
@@ -95,7 +112,7 @@ public GoogleCloudAiplatformV1beta1CountTokensRequest setInstances(java.util.Lis
95112
}
96113

97114
/**
98-
* Required. The name of the publisher model requested to serve the prediction. Format:
115+
* Optional. The name of the publisher model requested to serve the prediction. Format:
99116
* `projects/{project}/locations/{location}/publishers/models`
100117
* @return value or {@code null} for none
101118
*/
@@ -104,7 +121,7 @@ public java.lang.String getModel() {
104121
}
105122

106123
/**
107-
* Required. The name of the publisher model requested to serve the prediction. Format:
124+
* Optional. The name of the publisher model requested to serve the prediction. Format:
108125
* `projects/{project}/locations/{location}/publishers/models`
109126
* @param model model or {@code null} for none
110127
*/
@@ -113,6 +130,46 @@ public GoogleCloudAiplatformV1beta1CountTokensRequest setModel(java.lang.String
113130
return this;
114131
}
115132

133+
/**
134+
* Optional. The user provided system instructions for the model. Note: only text should be used
135+
* in parts and content in each part will be in a separate paragraph.
136+
* @return value or {@code null} for none
137+
*/
138+
public GoogleCloudAiplatformV1beta1Content getSystemInstruction() {
139+
return systemInstruction;
140+
}
141+
142+
/**
143+
* Optional. The user provided system instructions for the model. Note: only text should be used
144+
* in parts and content in each part will be in a separate paragraph.
145+
* @param systemInstruction systemInstruction or {@code null} for none
146+
*/
147+
public GoogleCloudAiplatformV1beta1CountTokensRequest setSystemInstruction(GoogleCloudAiplatformV1beta1Content systemInstruction) {
148+
this.systemInstruction = systemInstruction;
149+
return this;
150+
}
151+
152+
/**
153+
* Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a
154+
* piece of code that enables the system to interact with external systems to perform an action,
155+
* or set of actions, outside of knowledge and scope of the model.
156+
* @return value or {@code null} for none
157+
*/
158+
public java.util.List<GoogleCloudAiplatformV1beta1Tool> getTools() {
159+
return tools;
160+
}
161+
162+
/**
163+
* Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a
164+
* piece of code that enables the system to interact with external systems to perform an action,
165+
* or set of actions, outside of knowledge and scope of the model.
166+
* @param tools tools or {@code null} for none
167+
*/
168+
public GoogleCloudAiplatformV1beta1CountTokensRequest setTools(java.util.List<GoogleCloudAiplatformV1beta1Tool> tools) {
169+
this.tools = tools;
170+
return this;
171+
}
172+
116173
@Override
117174
public GoogleCloudAiplatformV1beta1CountTokensRequest set(String fieldName, Object value) {
118175
return (GoogleCloudAiplatformV1beta1CountTokensRequest) super.set(fieldName, value);

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

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)