Skip to content

Commit c67c468

Browse files
1 parent 112e559 commit c67c468

File tree

37 files changed

+1662
-36
lines changed

37 files changed

+1662
-36
lines changed

clients/google-api-services-aiplatform/v1/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-aiplatform</artifactId>
25-
<version>v1-rev20240725-2.0.0</version>
25+
<version>v1-rev20240727-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-aiplatform:v1-rev20240725-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20240727-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CustomJob.java

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ public final class GoogleCloudAiplatformV1CustomJob extends com.google.api.clien
9393
@com.google.api.client.util.Key
9494
private java.lang.String name;
9595

96+
/**
97+
* Output only. Reserved for future use.
98+
* The value may be {@code null}.
99+
*/
100+
@com.google.api.client.util.Key
101+
private java.lang.Boolean satisfiesPzi;
102+
103+
/**
104+
* Output only. Reserved for future use.
105+
* The value may be {@code null}.
106+
*/
107+
@com.google.api.client.util.Key
108+
private java.lang.Boolean satisfiesPzs;
109+
96110
/**
97111
* Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
98112
* The value may be {@code null}.
@@ -274,6 +288,40 @@ public GoogleCloudAiplatformV1CustomJob setName(java.lang.String name) {
274288
return this;
275289
}
276290

291+
/**
292+
* Output only. Reserved for future use.
293+
* @return value or {@code null} for none
294+
*/
295+
public java.lang.Boolean getSatisfiesPzi() {
296+
return satisfiesPzi;
297+
}
298+
299+
/**
300+
* Output only. Reserved for future use.
301+
* @param satisfiesPzi satisfiesPzi or {@code null} for none
302+
*/
303+
public GoogleCloudAiplatformV1CustomJob setSatisfiesPzi(java.lang.Boolean satisfiesPzi) {
304+
this.satisfiesPzi = satisfiesPzi;
305+
return this;
306+
}
307+
308+
/**
309+
* Output only. Reserved for future use.
310+
* @return value or {@code null} for none
311+
*/
312+
public java.lang.Boolean getSatisfiesPzs() {
313+
return satisfiesPzs;
314+
}
315+
316+
/**
317+
* Output only. Reserved for future use.
318+
* @param satisfiesPzs satisfiesPzs or {@code null} for none
319+
*/
320+
public GoogleCloudAiplatformV1CustomJob setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
321+
this.satisfiesPzs = satisfiesPzs;
322+
return this;
323+
}
324+
277325
/**
278326
* Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state.
279327
* @return value or {@code null} for none

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1DedicatedResources.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ public final class GoogleCloudAiplatformV1DedicatedResources extends com.google.
8686
@com.google.api.client.util.Key
8787
private java.lang.Integer minReplicaCount;
8888

89+
/**
90+
* Optional. If true, schedule the deployment workload on [spot
91+
* VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
92+
* The value may be {@code null}.
93+
*/
94+
@com.google.api.client.util.Key
95+
private java.lang.Boolean spot;
96+
8997
/**
9098
* Immutable. The metric specifications that overrides a resource utilization metric (CPU
9199
* utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At
@@ -198,6 +206,25 @@ public GoogleCloudAiplatformV1DedicatedResources setMinReplicaCount(java.lang.In
198206
return this;
199207
}
200208

209+
/**
210+
* Optional. If true, schedule the deployment workload on [spot
211+
* VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
212+
* @return value or {@code null} for none
213+
*/
214+
public java.lang.Boolean getSpot() {
215+
return spot;
216+
}
217+
218+
/**
219+
* Optional. If true, schedule the deployment workload on [spot
220+
* VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
221+
* @param spot spot or {@code null} for none
222+
*/
223+
public GoogleCloudAiplatformV1DedicatedResources setSpot(java.lang.Boolean spot) {
224+
this.spot = spot;
225+
return this;
226+
}
227+
201228
@Override
202229
public GoogleCloudAiplatformV1DedicatedResources set(String fieldName, Object value) {
203230
return (GoogleCloudAiplatformV1DedicatedResources) super.set(fieldName, value);

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerationConfig.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ public final class GoogleCloudAiplatformV1GenerationConfig extends com.google.ap
7979
private GoogleCloudAiplatformV1Schema responseSchema;
8080

8181
/**
82-
* Optional. Seed.
82+
* Optional. Routing configuration.
8383
* The value may be {@code null}.
8484
*/
8585
@com.google.api.client.util.Key
86-
private java.lang.Integer seed;
86+
private GoogleCloudAiplatformV1GenerationConfigRoutingConfig routingConfig;
8787

8888
/**
8989
* Optional. Stop sequences.
@@ -230,19 +230,19 @@ public GoogleCloudAiplatformV1GenerationConfig setResponseSchema(GoogleCloudAipl
230230
}
231231

232232
/**
233-
* Optional. Seed.
233+
* Optional. Routing configuration.
234234
* @return value or {@code null} for none
235235
*/
236-
public java.lang.Integer getSeed() {
237-
return seed;
236+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfig getRoutingConfig() {
237+
return routingConfig;
238238
}
239239

240240
/**
241-
* Optional. Seed.
242-
* @param seed seed or {@code null} for none
241+
* Optional. Routing configuration.
242+
* @param routingConfig routingConfig or {@code null} for none
243243
*/
244-
public GoogleCloudAiplatformV1GenerationConfig setSeed(java.lang.Integer seed) {
245-
this.seed = seed;
244+
public GoogleCloudAiplatformV1GenerationConfig setRoutingConfig(GoogleCloudAiplatformV1GenerationConfigRoutingConfig routingConfig) {
245+
this.routingConfig = routingConfig;
246246
return this;
247247
}
248248

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.aiplatform.v1.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 Vertex AI 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 GoogleCloudAiplatformV1GenerationConfigRoutingConfig 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 GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode autoMode;
38+
39+
/**
40+
* Manual routing.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode manualMode;
45+
46+
/**
47+
* Automated routing.
48+
* @return value or {@code null} for none
49+
*/
50+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode getAutoMode() {
51+
return autoMode;
52+
}
53+
54+
/**
55+
* Automated routing.
56+
* @param autoMode autoMode or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfig setAutoMode(GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode 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 GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode getManualMode() {
68+
return manualMode;
69+
}
70+
71+
/**
72+
* Manual routing.
73+
* @param manualMode manualMode or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfig setManualMode(GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode manualMode) {
76+
this.manualMode = manualMode;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfig set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1GenerationConfigRoutingConfig) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfig clone() {
87+
return (GoogleCloudAiplatformV1GenerationConfigRoutingConfig) 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.aiplatform.v1.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 Vertex AI 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 GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode 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 GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode setModelRoutingPreference(java.lang.String modelRoutingPreference) {
53+
this.modelRoutingPreference = modelRoutingPreference;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode set(String fieldName, Object value) {
59+
return (GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode clone() {
64+
return (GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode) 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.aiplatform.v1.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 Vertex AI 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 GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode 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 GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode setModelName(java.lang.String modelName) {
52+
this.modelName = modelName;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode clone() {
63+
return (GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)