Skip to content

Commit 448b36c

Browse files
1 parent d3a25cb commit 448b36c

7 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ public final class GoogleCloudAiplatformV1beta1GenerationConfig extends com.goog
7878
@com.google.api.client.util.Key
7979
private GoogleCloudAiplatformV1beta1Schema responseSchema;
8080

81+
/**
82+
* Optional. Routing configuration.
83+
* The value may be {@code null}.
84+
*/
85+
@com.google.api.client.util.Key
86+
private GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig routingConfig;
87+
8188
/**
8289
* Optional. Stop sequences.
8390
* The value may be {@code null}.
@@ -222,6 +229,23 @@ public GoogleCloudAiplatformV1beta1GenerationConfig setResponseSchema(GoogleClou
222229
return this;
223230
}
224231

232+
/**
233+
* Optional. Routing configuration.
234+
* @return value or {@code null} for none
235+
*/
236+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig getRoutingConfig() {
237+
return routingConfig;
238+
}
239+
240+
/**
241+
* Optional. Routing configuration.
242+
* @param routingConfig routingConfig or {@code null} for none
243+
*/
244+
public GoogleCloudAiplatformV1beta1GenerationConfig setRoutingConfig(GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig routingConfig) {
245+
this.routingConfig = routingConfig;
246+
return this;
247+
}
248+
225249
/**
226250
* Optional. Stop sequences.
227251
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Routing config.
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 GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Automated routing.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode autoMode;
38+
39+
/**
40+
* Manual routing.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode manualMode;
45+
46+
/**
47+
* Automated routing.
48+
* @return value or {@code null} for none
49+
*/
50+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode getAutoMode() {
51+
return autoMode;
52+
}
53+
54+
/**
55+
* Automated routing.
56+
* @param autoMode autoMode or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig setAutoMode(GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode autoMode) {
59+
this.autoMode = autoMode;
60+
return this;
61+
}
62+
63+
/**
64+
* Manual routing.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode getManualMode() {
68+
return manualMode;
69+
}
70+
71+
/**
72+
* Manual routing.
73+
* @param manualMode manualMode or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig setManualMode(GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode manualMode) {
76+
this.manualMode = manualMode;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig clone() {
87+
return (GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* When automated routing is specified, the routing will be determined by the pretrained routing
21+
* model and customer provided model routing preference.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Firebase ML API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The model routing preference.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String modelRoutingPreference;
39+
40+
/**
41+
* The model routing preference.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getModelRoutingPreference() {
45+
return modelRoutingPreference;
46+
}
47+
48+
/**
49+
* The model routing preference.
50+
* @param modelRoutingPreference modelRoutingPreference or {@code null} for none
51+
*/
52+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode setModelRoutingPreference(java.lang.String modelRoutingPreference) {
53+
this.modelRoutingPreference = modelRoutingPreference;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode set(String fieldName, Object value) {
59+
return (GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode clone() {
64+
return (GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* When manual routing is set, the specified model will be used directly.
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 GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String modelName;
38+
39+
/**
40+
* The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getModelName() {
44+
return modelName;
45+
}
46+
47+
/**
48+
* The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001.
49+
* @param modelName modelName or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode setModelName(java.lang.String modelName) {
52+
this.modelName = modelName;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode clone() {
63+
return (GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode) super.clone();
64+
}
65+
66+
}

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

0 commit comments

Comments
 (0)