Skip to content

Commit 5b18a0d

Browse files
1 parent c684327 commit 5b18a0d

File tree

10 files changed

+282
-12
lines changed

10 files changed

+282
-12
lines changed

clients/google-api-services-tpu/v2/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-tpu</artifactId>
25-
<version>v2-rev20250320-2.0.0</version>
25+
<version>v2-rev20250410-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-tpu:v2-rev20250320-2.0.0'
38+
implementation 'com.google.apis:google-api-services-tpu:v2-rev20250410-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-tpu/v2/2.0.0/com/google/api/services/tpu/v2/model/Node.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,13 @@ public final class Node extends com.google.api.client.json.GenericJson {
234234
@com.google.api.client.util.Key
235235
private java.util.List<java.lang.String> tags;
236236

237+
/**
238+
* Output only. Upcoming maintenance on this TPU node.
239+
* The value may be {@code null}.
240+
*/
241+
@com.google.api.client.util.Key
242+
private UpcomingMaintenance upcomingMaintenance;
243+
237244
/**
238245
* The AccleratorConfig for the TPU Node.
239246
* @return value or {@code null} for none
@@ -683,6 +690,23 @@ public Node setTags(java.util.List<java.lang.String> tags) {
683690
return this;
684691
}
685692

693+
/**
694+
* Output only. Upcoming maintenance on this TPU node.
695+
* @return value or {@code null} for none
696+
*/
697+
public UpcomingMaintenance getUpcomingMaintenance() {
698+
return upcomingMaintenance;
699+
}
700+
701+
/**
702+
* Output only. Upcoming maintenance on this TPU node.
703+
* @param upcomingMaintenance upcomingMaintenance or {@code null} for none
704+
*/
705+
public Node setUpcomingMaintenance(UpcomingMaintenance upcomingMaintenance) {
706+
this.upcomingMaintenance = upcomingMaintenance;
707+
return this;
708+
}
709+
686710
@Override
687711
public Node set(String fieldName, Object value) {
688712
return (Node) super.set(fieldName, value);
Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
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.tpu.v2.model;
18+
19+
/**
20+
* Upcoming Maintenance notification information.
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 Cloud TPU 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 UpcomingMaintenance extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Indicates if the maintenance can be customer triggered.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean canReschedule;
38+
39+
/**
40+
* The latest time for the planned maintenance window to start. This timestamp value is in RFC3339
41+
* text format.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String latestWindowStartTime;
46+
47+
/**
48+
* The status of the maintenance.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String maintenanceStatus;
53+
54+
/**
55+
* Defines the type of maintenance.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String type;
60+
61+
/**
62+
* The time by which the maintenance disruption will be completed. This timestamp value is in
63+
* RFC3339 text format.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.String windowEndTime;
68+
69+
/**
70+
* The current start time of the maintenance window. This timestamp value is in RFC3339 text
71+
* format.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private java.lang.String windowStartTime;
76+
77+
/**
78+
* Indicates if the maintenance can be customer triggered.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.Boolean getCanReschedule() {
82+
return canReschedule;
83+
}
84+
85+
/**
86+
* Indicates if the maintenance can be customer triggered.
87+
* @param canReschedule canReschedule or {@code null} for none
88+
*/
89+
public UpcomingMaintenance setCanReschedule(java.lang.Boolean canReschedule) {
90+
this.canReschedule = canReschedule;
91+
return this;
92+
}
93+
94+
/**
95+
* The latest time for the planned maintenance window to start. This timestamp value is in RFC3339
96+
* text format.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getLatestWindowStartTime() {
100+
return latestWindowStartTime;
101+
}
102+
103+
/**
104+
* The latest time for the planned maintenance window to start. This timestamp value is in RFC3339
105+
* text format.
106+
* @param latestWindowStartTime latestWindowStartTime or {@code null} for none
107+
*/
108+
public UpcomingMaintenance setLatestWindowStartTime(java.lang.String latestWindowStartTime) {
109+
this.latestWindowStartTime = latestWindowStartTime;
110+
return this;
111+
}
112+
113+
/**
114+
* The status of the maintenance.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.lang.String getMaintenanceStatus() {
118+
return maintenanceStatus;
119+
}
120+
121+
/**
122+
* The status of the maintenance.
123+
* @param maintenanceStatus maintenanceStatus or {@code null} for none
124+
*/
125+
public UpcomingMaintenance setMaintenanceStatus(java.lang.String maintenanceStatus) {
126+
this.maintenanceStatus = maintenanceStatus;
127+
return this;
128+
}
129+
130+
/**
131+
* Defines the type of maintenance.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.String getType() {
135+
return type;
136+
}
137+
138+
/**
139+
* Defines the type of maintenance.
140+
* @param type type or {@code null} for none
141+
*/
142+
public UpcomingMaintenance setType(java.lang.String type) {
143+
this.type = type;
144+
return this;
145+
}
146+
147+
/**
148+
* The time by which the maintenance disruption will be completed. This timestamp value is in
149+
* RFC3339 text format.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.lang.String getWindowEndTime() {
153+
return windowEndTime;
154+
}
155+
156+
/**
157+
* The time by which the maintenance disruption will be completed. This timestamp value is in
158+
* RFC3339 text format.
159+
* @param windowEndTime windowEndTime or {@code null} for none
160+
*/
161+
public UpcomingMaintenance setWindowEndTime(java.lang.String windowEndTime) {
162+
this.windowEndTime = windowEndTime;
163+
return this;
164+
}
165+
166+
/**
167+
* The current start time of the maintenance window. This timestamp value is in RFC3339 text
168+
* format.
169+
* @return value or {@code null} for none
170+
*/
171+
public java.lang.String getWindowStartTime() {
172+
return windowStartTime;
173+
}
174+
175+
/**
176+
* The current start time of the maintenance window. This timestamp value is in RFC3339 text
177+
* format.
178+
* @param windowStartTime windowStartTime or {@code null} for none
179+
*/
180+
public UpcomingMaintenance setWindowStartTime(java.lang.String windowStartTime) {
181+
this.windowStartTime = windowStartTime;
182+
return this;
183+
}
184+
185+
@Override
186+
public UpcomingMaintenance set(String fieldName, Object value) {
187+
return (UpcomingMaintenance) super.set(fieldName, value);
188+
}
189+
190+
@Override
191+
public UpcomingMaintenance clone() {
192+
return (UpcomingMaintenance) super.clone();
193+
}
194+
195+
}

clients/google-api-services-tpu/v2/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-tpu</artifactId>
11-
<version>v2-rev20250320-2.0.0</version>
12-
<name>Cloud TPU API v2-rev20250320-2.0.0</name>
11+
<version>v2-rev20250410-2.0.0</version>
12+
<name>Cloud TPU API v2-rev20250410-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-tpu/v2/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-tpu</artifactId>
25-
<version>v2-rev20250320-2.0.0</version>
25+
<version>v2-rev20250410-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-tpu:v2-rev20250320-2.0.0'
38+
implementation 'com.google.apis:google-api-services-tpu:v2-rev20250410-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-tpu/v2alpha1/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-tpu</artifactId>
25-
<version>v2alpha1-rev20250320-2.0.0</version>
25+
<version>v2alpha1-rev20250410-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-tpu:v2alpha1-rev20250320-2.0.0'
38+
implementation 'com.google.apis:google-api-services-tpu:v2alpha1-rev20250410-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-tpu/v2alpha1/2.0.0/com/google/api/services/tpu/v2alpha1/model/BootDiskConfig.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ public final class BootDiskConfig extends com.google.api.client.json.GenericJson
4343
@com.google.api.client.util.Key
4444
private java.lang.Boolean enableConfidentialCompute;
4545

46+
/**
47+
* Optional. Image from which boot disk is to be created. If not specified, the default image for
48+
* the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String sourceImage;
53+
4654
/**
4755
* Optional. Customer encryption key for boot disk.
4856
* @return value or {@code null} for none
@@ -77,6 +85,25 @@ public BootDiskConfig setEnableConfidentialCompute(java.lang.Boolean enableConfi
7785
return this;
7886
}
7987

88+
/**
89+
* Optional. Image from which boot disk is to be created. If not specified, the default image for
90+
* the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.lang.String getSourceImage() {
94+
return sourceImage;
95+
}
96+
97+
/**
98+
* Optional. Image from which boot disk is to be created. If not specified, the default image for
99+
* the runtime version will be used. Example: `projects/$PROJECT_ID/global/images/$IMAGE_NAME`.
100+
* @param sourceImage sourceImage or {@code null} for none
101+
*/
102+
public BootDiskConfig setSourceImage(java.lang.String sourceImage) {
103+
this.sourceImage = sourceImage;
104+
return this;
105+
}
106+
80107
@Override
81108
public BootDiskConfig set(String fieldName, Object value) {
82109
return (BootDiskConfig) super.set(fieldName, value);

clients/google-api-services-tpu/v2alpha1/2.0.0/com/google/api/services/tpu/v2alpha1/model/SchedulingConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class SchedulingConfig extends com.google.api.client.json.GenericJs
3636
@com.google.api.client.util.Key
3737
private java.lang.Boolean preemptible;
3838

39+
/**
40+
* Optional. Defines the provisioning model for the node.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String provisioningModel;
45+
3946
/**
4047
* Whether the node is created under a reservation.
4148
* The value may be {@code null}.
@@ -74,6 +81,23 @@ public SchedulingConfig setPreemptible(java.lang.Boolean preemptible) {
7481
return this;
7582
}
7683

84+
/**
85+
* Optional. Defines the provisioning model for the node.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.String getProvisioningModel() {
89+
return provisioningModel;
90+
}
91+
92+
/**
93+
* Optional. Defines the provisioning model for the node.
94+
* @param provisioningModel provisioningModel or {@code null} for none
95+
*/
96+
public SchedulingConfig setProvisioningModel(java.lang.String provisioningModel) {
97+
this.provisioningModel = provisioningModel;
98+
return this;
99+
}
100+
77101
/**
78102
* Whether the node is created under a reservation.
79103
* @return value or {@code null} for none

clients/google-api-services-tpu/v2alpha1/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-tpu</artifactId>
11-
<version>v2alpha1-rev20250320-2.0.0</version>
12-
<name>Cloud TPU API v2alpha1-rev20250320-2.0.0</name>
11+
<version>v2alpha1-rev20250410-2.0.0</version>
12+
<name>Cloud TPU API v2alpha1-rev20250410-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)