Skip to content

Commit ac6bb49

Browse files
1 parent dec1226 commit ac6bb49

File tree

5 files changed

+42
-9
lines changed

5 files changed

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

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ public final class GoogleCloudAiplatformV1beta1FunctionResponse extends com.goog
4141
private java.lang.String name;
4242

4343
/**
44-
* Required. The function response in JSON object format.
44+
* Required. The function response in JSON object format. Use "output" key to specify function
45+
* output and "error" key to specify error details (if any). If "output" and "error" keys are not
46+
* specified, then whole "response" is treated as function output.
4547
* The value may be {@code null}.
4648
*/
4749
@com.google.api.client.util.Key
@@ -67,15 +69,19 @@ public GoogleCloudAiplatformV1beta1FunctionResponse setName(java.lang.String nam
6769
}
6870

6971
/**
70-
* Required. The function response in JSON object format.
72+
* Required. The function response in JSON object format. Use "output" key to specify function
73+
* output and "error" key to specify error details (if any). If "output" and "error" keys are not
74+
* specified, then whole "response" is treated as function output.
7175
* @return value or {@code null} for none
7276
*/
7377
public java.util.Map<String, java.lang.Object> getResponse() {
7478
return response;
7579
}
7680

7781
/**
78-
* Required. The function response in JSON object format.
82+
* Required. The function response in JSON object format. Use "output" key to specify function
83+
* output and "error" key to specify error details (if any). If "output" and "error" keys are not
84+
* specified, then whole "response" is treated as function output.
7985
* @param response response or {@code null} for none
8086
*/
8187
public GoogleCloudAiplatformV1beta1FunctionResponse setResponse(java.util.Map<String, java.lang.Object> response) {

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

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

32+
/**
33+
* Output only. Number of tokens in the cached part in the input (the cached content).
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer cachedContentTokenCount;
38+
3239
/**
3340
* Number of tokens in the response(s).
3441
* The value may be {@code null}.
@@ -45,11 +52,29 @@ public final class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetad
4552
private java.lang.Integer promptTokenCount;
4653

4754
/**
55+
* Total token count for prompt and response candidates.
4856
* The value may be {@code null}.
4957
*/
5058
@com.google.api.client.util.Key
5159
private java.lang.Integer totalTokenCount;
5260

61+
/**
62+
* Output only. Number of tokens in the cached part in the input (the cached content).
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.Integer getCachedContentTokenCount() {
66+
return cachedContentTokenCount;
67+
}
68+
69+
/**
70+
* Output only. Number of tokens in the cached part in the input (the cached content).
71+
* @param cachedContentTokenCount cachedContentTokenCount or {@code null} for none
72+
*/
73+
public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setCachedContentTokenCount(java.lang.Integer cachedContentTokenCount) {
74+
this.cachedContentTokenCount = cachedContentTokenCount;
75+
return this;
76+
}
77+
5378
/**
5479
* Number of tokens in the response(s).
5580
* @return value or {@code null} for none
@@ -87,13 +112,15 @@ public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setPromp
87112
}
88113

89114
/**
115+
* Total token count for prompt and response candidates.
90116
* @return value or {@code null} for none
91117
*/
92118
public java.lang.Integer getTotalTokenCount() {
93119
return totalTokenCount;
94120
}
95121

96122
/**
123+
* Total token count for prompt and response candidates.
97124
* @param totalTokenCount totalTokenCount or {@code null} for none
98125
*/
99126
public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setTotalTokenCount(java.lang.Integer totalTokenCount) {

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

0 commit comments

Comments
 (0)