Skip to content

Commit 816000f

Browse files
1 parent 8c0fe58 commit 816000f

27 files changed

+953
-22
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-rev20250422-2.0.0</version>
25+
<version>v1-rev20250501-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-rev20250422-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250501-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* Describes the machine learning model version checkpoint.
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 GoogleCloudAiplatformV1Checkpoint extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The ID of the checkpoint.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String checkpointId;
38+
39+
/**
40+
* The epoch of the checkpoint.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
44+
private java.lang.Long epoch;
45+
46+
/**
47+
* The step of the checkpoint.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
51+
private java.lang.Long step;
52+
53+
/**
54+
* The ID of the checkpoint.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getCheckpointId() {
58+
return checkpointId;
59+
}
60+
61+
/**
62+
* The ID of the checkpoint.
63+
* @param checkpointId checkpointId or {@code null} for none
64+
*/
65+
public GoogleCloudAiplatformV1Checkpoint setCheckpointId(java.lang.String checkpointId) {
66+
this.checkpointId = checkpointId;
67+
return this;
68+
}
69+
70+
/**
71+
* The epoch of the checkpoint.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.Long getEpoch() {
75+
return epoch;
76+
}
77+
78+
/**
79+
* The epoch of the checkpoint.
80+
* @param epoch epoch or {@code null} for none
81+
*/
82+
public GoogleCloudAiplatformV1Checkpoint setEpoch(java.lang.Long epoch) {
83+
this.epoch = epoch;
84+
return this;
85+
}
86+
87+
/**
88+
* The step of the checkpoint.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Long getStep() {
92+
return step;
93+
}
94+
95+
/**
96+
* The step of the checkpoint.
97+
* @param step step or {@code null} for none
98+
*/
99+
public GoogleCloudAiplatformV1Checkpoint setStep(java.lang.Long step) {
100+
this.step = step;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleCloudAiplatformV1Checkpoint set(String fieldName, Object value) {
106+
return (GoogleCloudAiplatformV1Checkpoint) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleCloudAiplatformV1Checkpoint clone() {
111+
return (GoogleCloudAiplatformV1Checkpoint) super.clone();
112+
}
113+
114+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class GoogleCloudAiplatformV1DeployedModel extends com.google.api.c
3737
@com.google.api.client.util.Key
3838
private GoogleCloudAiplatformV1AutomaticResources automaticResources;
3939

40+
/**
41+
* The checkpoint id of the model.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String checkpointId;
46+
4047
/**
4148
* Output only. Timestamp when the DeployedModel was created.
4249
* The value may be {@code null}.
@@ -205,6 +212,23 @@ public GoogleCloudAiplatformV1DeployedModel setAutomaticResources(GoogleCloudAip
205212
return this;
206213
}
207214

215+
/**
216+
* The checkpoint id of the model.
217+
* @return value or {@code null} for none
218+
*/
219+
public java.lang.String getCheckpointId() {
220+
return checkpointId;
221+
}
222+
223+
/**
224+
* The checkpoint id of the model.
225+
* @param checkpointId checkpointId or {@code null} for none
226+
*/
227+
public GoogleCloudAiplatformV1DeployedModel setCheckpointId(java.lang.String checkpointId) {
228+
this.checkpointId = checkpointId;
229+
return this;
230+
}
231+
208232
/**
209233
* Output only. Timestamp when the DeployedModel was created.
210234
* @return value or {@code null} for none

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ public final class GoogleCloudAiplatformV1Model extends com.google.api.client.js
4545
@com.google.api.client.util.Key
4646
private GoogleCloudAiplatformV1ModelBaseModelSource baseModelSource;
4747

48+
/**
49+
* Optional. Output only. The checkpoints of the model.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<GoogleCloudAiplatformV1Checkpoint> checkpoints;
54+
55+
static {
56+
// hack to force ProGuard to consider GoogleCloudAiplatformV1Checkpoint used, since otherwise it would be stripped out
57+
// see https://github.com/google/google-api-java-client/issues/543
58+
com.google.api.client.util.Data.nullOf(GoogleCloudAiplatformV1Checkpoint.class);
59+
}
60+
4861
/**
4962
* Input only. The specification of the container that is to be used when deploying this Model.
5063
* The specification is ingested upon ModelService.UploadModel, and all binaries it contains are
@@ -381,6 +394,23 @@ public GoogleCloudAiplatformV1Model setBaseModelSource(GoogleCloudAiplatformV1Mo
381394
return this;
382395
}
383396

397+
/**
398+
* Optional. Output only. The checkpoints of the model.
399+
* @return value or {@code null} for none
400+
*/
401+
public java.util.List<GoogleCloudAiplatformV1Checkpoint> getCheckpoints() {
402+
return checkpoints;
403+
}
404+
405+
/**
406+
* Optional. Output only. The checkpoints of the model.
407+
* @param checkpoints checkpoints or {@code null} for none
408+
*/
409+
public GoogleCloudAiplatformV1Model setCheckpoints(java.util.List<GoogleCloudAiplatformV1Checkpoint> checkpoints) {
410+
this.checkpoints = checkpoints;
411+
return this;
412+
}
413+
384414
/**
385415
* Input only. The specification of the container that is to be used when deploying this Model.
386416
* The specification is ingested upon ModelService.UploadModel, and all binaries it contains are

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
/**
2020
* A runtime is a virtual machine allocated to a particular user for a particular Notebook file on
21-
* temporary basis with lifetime limited to 24 hours.
21+
* temporary basis with lifetime. Default runtimes have a lifetime of 18 hours, while custom
22+
* runtimes last for 6 months from their creation or last upgrade.
2223
*
2324
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2425
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.aiplatform.v1.model;
1818

1919
/**
20-
* Notebook Software Config.
20+
* Notebook Software Config. This is passed to the backend when user makes software configurations
21+
* in UI.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:

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

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
@SuppressWarnings("javadoc")
3232
public final class GoogleCloudAiplatformV1Schema extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Optional. Can either be a boolean or an object; controls the presence of additional properties.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Object additionalProperties;
40+
3441
/**
3542
* Optional. The value should be validated against any (one or more) of the subschemas in the
3643
* list.
@@ -46,6 +53,13 @@ public final class GoogleCloudAiplatformV1Schema extends com.google.api.client.j
4653
@com.google.api.client.util.Key("default")
4754
private java.lang.Object default__;
4855

56+
/**
57+
* Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.util.Map<String, GoogleCloudAiplatformV1Schema> defs;
62+
4963
/**
5064
* Optional. The description of the data.
5165
* The value may be {@code null}.
@@ -170,6 +184,18 @@ public final class GoogleCloudAiplatformV1Schema extends com.google.api.client.j
170184
@com.google.api.client.util.Key
171185
private java.util.List<java.lang.String> propertyOrdering;
172186

187+
/**
188+
* Optional. Allows indirect references between schema nodes. The value should be a valid
189+
* reference to a child of the root `defs`. For example, the following schema defines a reference
190+
* to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type:
191+
* object properties: name: type: string The value of the "pet" property is a reference to the
192+
* schema node named "Pet". See details in https://json-schema.org/understanding-json-
193+
* schema/structuring
194+
* The value may be {@code null}.
195+
*/
196+
@com.google.api.client.util.Key
197+
private java.lang.String ref;
198+
173199
/**
174200
* Optional. Required properties of Type.OBJECT.
175201
* The value may be {@code null}.
@@ -191,6 +217,23 @@ public final class GoogleCloudAiplatformV1Schema extends com.google.api.client.j
191217
@com.google.api.client.util.Key
192218
private java.lang.String type;
193219

220+
/**
221+
* Optional. Can either be a boolean or an object; controls the presence of additional properties.
222+
* @return value or {@code null} for none
223+
*/
224+
public java.lang.Object getAdditionalProperties() {
225+
return additionalProperties;
226+
}
227+
228+
/**
229+
* Optional. Can either be a boolean or an object; controls the presence of additional properties.
230+
* @param additionalProperties additionalProperties or {@code null} for none
231+
*/
232+
public GoogleCloudAiplatformV1Schema setAdditionalProperties(java.lang.Object additionalProperties) {
233+
this.additionalProperties = additionalProperties;
234+
return this;
235+
}
236+
194237
/**
195238
* Optional. The value should be validated against any (one or more) of the subschemas in the
196239
* list.
@@ -227,6 +270,23 @@ public GoogleCloudAiplatformV1Schema setDefault(java.lang.Object default__) {
227270
return this;
228271
}
229272

273+
/**
274+
* Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.
275+
* @return value or {@code null} for none
276+
*/
277+
public java.util.Map<String, GoogleCloudAiplatformV1Schema> getDefs() {
278+
return defs;
279+
}
280+
281+
/**
282+
* Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.
283+
* @param defs defs or {@code null} for none
284+
*/
285+
public GoogleCloudAiplatformV1Schema setDefs(java.util.Map<String, GoogleCloudAiplatformV1Schema> defs) {
286+
this.defs = defs;
287+
return this;
288+
}
289+
230290
/**
231291
* Optional. The description of the data.
232292
* @return value or {@code null} for none
@@ -526,6 +586,33 @@ public GoogleCloudAiplatformV1Schema setPropertyOrdering(java.util.List<java.lan
526586
return this;
527587
}
528588

589+
/**
590+
* Optional. Allows indirect references between schema nodes. The value should be a valid
591+
* reference to a child of the root `defs`. For example, the following schema defines a reference
592+
* to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type:
593+
* object properties: name: type: string The value of the "pet" property is a reference to the
594+
* schema node named "Pet". See details in https://json-schema.org/understanding-json-
595+
* schema/structuring
596+
* @return value or {@code null} for none
597+
*/
598+
public java.lang.String getRef() {
599+
return ref;
600+
}
601+
602+
/**
603+
* Optional. Allows indirect references between schema nodes. The value should be a valid
604+
* reference to a child of the root `defs`. For example, the following schema defines a reference
605+
* to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type:
606+
* object properties: name: type: string The value of the "pet" property is a reference to the
607+
* schema node named "Pet". See details in https://json-schema.org/understanding-json-
608+
* schema/structuring
609+
* @param ref ref or {@code null} for none
610+
*/
611+
public GoogleCloudAiplatformV1Schema setRef(java.lang.String ref) {
612+
this.ref = ref;
613+
return this;
614+
}
615+
529616
/**
530617
* Optional. Required properties of Type.OBJECT.
531618
* @return value or {@code null} for none

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public final class GoogleCloudAiplatformV1SupervisedTuningDataStats extends com.
3131

3232
/**
3333
* Output only. For each index in `truncated_example_indices`, the user-facing reason why the
34-
* example was dropped. Must not include example itself.
34+
* example was dropped.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -124,7 +124,7 @@ public final class GoogleCloudAiplatformV1SupervisedTuningDataStats extends com.
124124

125125
/**
126126
* Output only. For each index in `truncated_example_indices`, the user-facing reason why the
127-
* example was dropped. Must not include example itself.
127+
* example was dropped.
128128
* @return value or {@code null} for none
129129
*/
130130
public java.util.List<java.lang.String> getDroppedExampleReasons() {
@@ -133,7 +133,7 @@ public java.util.List<java.lang.String> getDroppedExampleReasons() {
133133

134134
/**
135135
* Output only. For each index in `truncated_example_indices`, the user-facing reason why the
136-
* example was dropped. Must not include example itself.
136+
* example was dropped.
137137
* @param droppedExampleReasons droppedExampleReasons or {@code null} for none
138138
*/
139139
public GoogleCloudAiplatformV1SupervisedTuningDataStats setDroppedExampleReasons(java.util.List<java.lang.String> droppedExampleReasons) {

0 commit comments

Comments
 (0)