Skip to content

Commit 49b0178

Browse files
1 parent cc66754 commit 49b0178

8 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* Describes the options to customize dynamic retrieval.
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 GoogleCloudAiplatformV1beta1DynamicRetrievalConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is
34+
* used.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Float dynamicThreshold;
39+
40+
/**
41+
* The mode of the predictor to be used in dynamic retrieval.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String mode;
46+
47+
/**
48+
* Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is
49+
* used.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.Float getDynamicThreshold() {
53+
return dynamicThreshold;
54+
}
55+
56+
/**
57+
* Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is
58+
* used.
59+
* @param dynamicThreshold dynamicThreshold or {@code null} for none
60+
*/
61+
public GoogleCloudAiplatformV1beta1DynamicRetrievalConfig setDynamicThreshold(java.lang.Float dynamicThreshold) {
62+
this.dynamicThreshold = dynamicThreshold;
63+
return this;
64+
}
65+
66+
/**
67+
* The mode of the predictor to be used in dynamic retrieval.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getMode() {
71+
return mode;
72+
}
73+
74+
/**
75+
* The mode of the predictor to be used in dynamic retrieval.
76+
* @param mode mode or {@code null} for none
77+
*/
78+
public GoogleCloudAiplatformV1beta1DynamicRetrievalConfig setMode(java.lang.String mode) {
79+
this.mode = mode;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudAiplatformV1beta1DynamicRetrievalConfig set(String fieldName, Object value) {
85+
return (GoogleCloudAiplatformV1beta1DynamicRetrievalConfig) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudAiplatformV1beta1DynamicRetrievalConfig clone() {
90+
return (GoogleCloudAiplatformV1beta1DynamicRetrievalConfig) super.clone();
91+
}
92+
93+
}

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

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

32+
/**
33+
* Specifies the dynamic retrieval configuration for the given source.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1beta1DynamicRetrievalConfig dynamicRetrievalConfig;
38+
39+
/**
40+
* Specifies the dynamic retrieval configuration for the given source.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudAiplatformV1beta1DynamicRetrievalConfig getDynamicRetrievalConfig() {
44+
return dynamicRetrievalConfig;
45+
}
46+
47+
/**
48+
* Specifies the dynamic retrieval configuration for the given source.
49+
* @param dynamicRetrievalConfig dynamicRetrievalConfig or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1beta1GoogleSearchRetrieval setDynamicRetrievalConfig(GoogleCloudAiplatformV1beta1DynamicRetrievalConfig dynamicRetrievalConfig) {
52+
this.dynamicRetrievalConfig = dynamicRetrievalConfig;
53+
return this;
54+
}
55+
3256
@Override
3357
public GoogleCloudAiplatformV1beta1GoogleSearchRetrieval set(String fieldName, Object value) {
3458
return (GoogleCloudAiplatformV1beta1GoogleSearchRetrieval) super.set(fieldName, value);

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ public final class GoogleCloudAiplatformV1beta1GroundingMetadata extends com.goo
4949
@com.google.api.client.util.Key
5050
private java.util.List<GoogleCloudAiplatformV1beta1GroundingSupport> groundingSupports;
5151

52+
/**
53+
* Optional. Output only. Retrieval metadata.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private GoogleCloudAiplatformV1beta1RetrievalMetadata retrievalMetadata;
58+
5259
/**
5360
* Optional. Queries executed by the retrieval tools.
5461
* The value may be {@code null}.
@@ -104,6 +111,23 @@ public GoogleCloudAiplatformV1beta1GroundingMetadata setGroundingSupports(java.u
104111
return this;
105112
}
106113

114+
/**
115+
* Optional. Output only. Retrieval metadata.
116+
* @return value or {@code null} for none
117+
*/
118+
public GoogleCloudAiplatformV1beta1RetrievalMetadata getRetrievalMetadata() {
119+
return retrievalMetadata;
120+
}
121+
122+
/**
123+
* Optional. Output only. Retrieval metadata.
124+
* @param retrievalMetadata retrievalMetadata or {@code null} for none
125+
*/
126+
public GoogleCloudAiplatformV1beta1GroundingMetadata setRetrievalMetadata(GoogleCloudAiplatformV1beta1RetrievalMetadata retrievalMetadata) {
127+
this.retrievalMetadata = retrievalMetadata;
128+
return this;
129+
}
130+
107131
/**
108132
* Optional. Queries executed by the retrieval tools.
109133
* @return value or {@code null} for none

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ public final class GoogleCloudAiplatformV1beta1LogprobsResultCandidate extends c
3737
private java.lang.Float logProbability;
3838

3939
/**
40-
* The candidates token string value.
40+
* The candidate's token string value.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
4444
private java.lang.String token;
4545

4646
/**
47-
* The candidates token id value.
47+
* The candidate's token id value.
4848
* The value may be {@code null}.
4949
*/
5050
@com.google.api.client.util.Key
@@ -68,15 +68,15 @@ public GoogleCloudAiplatformV1beta1LogprobsResultCandidate setLogProbability(jav
6868
}
6969

7070
/**
71-
* The candidates token string value.
71+
* The candidate's token string value.
7272
* @return value or {@code null} for none
7373
*/
7474
public java.lang.String getToken() {
7575
return token;
7676
}
7777

7878
/**
79-
* The candidates token string value.
79+
* The candidate's token string value.
8080
* @param token token or {@code null} for none
8181
*/
8282
public GoogleCloudAiplatformV1beta1LogprobsResultCandidate setToken(java.lang.String token) {
@@ -85,15 +85,15 @@ public GoogleCloudAiplatformV1beta1LogprobsResultCandidate setToken(java.lang.St
8585
}
8686

8787
/**
88-
* The candidates token id value.
88+
* The candidate's token id value.
8989
* @return value or {@code null} for none
9090
*/
9191
public java.lang.Integer getTokenId() {
9292
return tokenId;
9393
}
9494

9595
/**
96-
* The candidates token id value.
96+
* The candidate's token id value.
9797
* @param tokenId tokenId or {@code null} for none
9898
*/
9999
public GoogleCloudAiplatformV1beta1LogprobsResultCandidate setTokenId(java.lang.Integer tokenId) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
* Metadata related to retrieval in the grounding flow.
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 GoogleCloudAiplatformV1beta1RetrievalMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Score indicating how likely information from Google Search could help answer the
34+
* prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most
35+
* likely. This score is only populated when Google Search grounding and dynamic retrieval is
36+
* enabled. It will be compared to the threshold to determine whether to trigger Google Search.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.Float googleSearchDynamicRetrievalScore;
41+
42+
/**
43+
* Optional. Score indicating how likely information from Google Search could help answer the
44+
* prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most
45+
* likely. This score is only populated when Google Search grounding and dynamic retrieval is
46+
* enabled. It will be compared to the threshold to determine whether to trigger Google Search.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.lang.Float getGoogleSearchDynamicRetrievalScore() {
50+
return googleSearchDynamicRetrievalScore;
51+
}
52+
53+
/**
54+
* Optional. Score indicating how likely information from Google Search could help answer the
55+
* prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most
56+
* likely. This score is only populated when Google Search grounding and dynamic retrieval is
57+
* enabled. It will be compared to the threshold to determine whether to trigger Google Search.
58+
* @param googleSearchDynamicRetrievalScore googleSearchDynamicRetrievalScore or {@code null} for none
59+
*/
60+
public GoogleCloudAiplatformV1beta1RetrievalMetadata setGoogleSearchDynamicRetrievalScore(java.lang.Float googleSearchDynamicRetrievalScore) {
61+
this.googleSearchDynamicRetrievalScore = googleSearchDynamicRetrievalScore;
62+
return this;
63+
}
64+
65+
@Override
66+
public GoogleCloudAiplatformV1beta1RetrievalMetadata set(String fieldName, Object value) {
67+
return (GoogleCloudAiplatformV1beta1RetrievalMetadata) super.set(fieldName, value);
68+
}
69+
70+
@Override
71+
public GoogleCloudAiplatformV1beta1RetrievalMetadata clone() {
72+
return (GoogleCloudAiplatformV1beta1RetrievalMetadata) super.clone();
73+
}
74+
75+
}

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

0 commit comments

Comments
 (0)