Skip to content

Commit a9132f0

Browse files
1 parent c9de356 commit a9132f0

File tree

11 files changed

+516
-6
lines changed

11 files changed

+516
-6
lines changed

clients/google-api-services-compute/beta/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-compute</artifactId>
25-
<version>beta-rev20250708-2.0.0</version>
25+
<version>beta-rev20250717-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-compute:beta-rev20250708-2.0.0'
38+
implementation 'com.google.apis:google-api-services-compute:beta-rev20250717-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/AllocationResourceStatus.java

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

32+
/**
33+
* [Output only] Health information for the reservation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private AllocationResourceStatusHealthInfo healthInfo;
38+
3239
/**
3340
* The number of reservation blocks associated with this reservation.
3441
* The value may be {@code null}.
@@ -50,6 +57,23 @@ public final class AllocationResourceStatus extends com.google.api.client.json.G
5057
@com.google.api.client.util.Key
5158
private AllocationResourceStatusSpecificSKUAllocation specificSkuAllocation;
5259

60+
/**
61+
* [Output only] Health information for the reservation.
62+
* @return value or {@code null} for none
63+
*/
64+
public AllocationResourceStatusHealthInfo getHealthInfo() {
65+
return healthInfo;
66+
}
67+
68+
/**
69+
* [Output only] Health information for the reservation.
70+
* @param healthInfo healthInfo or {@code null} for none
71+
*/
72+
public AllocationResourceStatus setHealthInfo(AllocationResourceStatusHealthInfo healthInfo) {
73+
this.healthInfo = healthInfo;
74+
return this;
75+
}
76+
5377
/**
5478
* The number of reservation blocks associated with this reservation.
5579
* @return value or {@code null} for none
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.compute.model;
18+
19+
/**
20+
* Health information for the reservation.
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 Compute Engine 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 AllocationResourceStatusHealthInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The number of reservation blocks that are degraded.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer degradedBlockCount;
38+
39+
/**
40+
* The health status of the reservation.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String healthStatus;
45+
46+
/**
47+
* The number of reservation blocks that are healthy.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Integer healthyBlockCount;
52+
53+
/**
54+
* The number of reservation blocks that are degraded.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Integer getDegradedBlockCount() {
58+
return degradedBlockCount;
59+
}
60+
61+
/**
62+
* The number of reservation blocks that are degraded.
63+
* @param degradedBlockCount degradedBlockCount or {@code null} for none
64+
*/
65+
public AllocationResourceStatusHealthInfo setDegradedBlockCount(java.lang.Integer degradedBlockCount) {
66+
this.degradedBlockCount = degradedBlockCount;
67+
return this;
68+
}
69+
70+
/**
71+
* The health status of the reservation.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getHealthStatus() {
75+
return healthStatus;
76+
}
77+
78+
/**
79+
* The health status of the reservation.
80+
* @param healthStatus healthStatus or {@code null} for none
81+
*/
82+
public AllocationResourceStatusHealthInfo setHealthStatus(java.lang.String healthStatus) {
83+
this.healthStatus = healthStatus;
84+
return this;
85+
}
86+
87+
/**
88+
* The number of reservation blocks that are healthy.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Integer getHealthyBlockCount() {
92+
return healthyBlockCount;
93+
}
94+
95+
/**
96+
* The number of reservation blocks that are healthy.
97+
* @param healthyBlockCount healthyBlockCount or {@code null} for none
98+
*/
99+
public AllocationResourceStatusHealthInfo setHealthyBlockCount(java.lang.Integer healthyBlockCount) {
100+
this.healthyBlockCount = healthyBlockCount;
101+
return this;
102+
}
103+
104+
@Override
105+
public AllocationResourceStatusHealthInfo set(String fieldName, Object value) {
106+
return (AllocationResourceStatusHealthInfo) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public AllocationResourceStatusHealthInfo clone() {
111+
return (AllocationResourceStatusHealthInfo) super.clone();
112+
}
113+
114+
}

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Reservation.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ public final class Reservation extends com.google.api.client.json.GenericJson {
160160
@com.google.api.client.util.Key
161161
private java.lang.Boolean satisfiesPzs;
162162

163+
/**
164+
* The type of maintenance for the reservation.
165+
* The value may be {@code null}.
166+
*/
167+
@com.google.api.client.util.Key
168+
private java.lang.String schedulingType;
169+
163170
/**
164171
* [Output Only] Server-defined fully-qualified URL for this resource.
165172
* The value may be {@code null}.
@@ -521,6 +528,23 @@ public Reservation setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
521528
return this;
522529
}
523530

531+
/**
532+
* The type of maintenance for the reservation.
533+
* @return value or {@code null} for none
534+
*/
535+
public java.lang.String getSchedulingType() {
536+
return schedulingType;
537+
}
538+
539+
/**
540+
* The type of maintenance for the reservation.
541+
* @param schedulingType schedulingType or {@code null} for none
542+
*/
543+
public Reservation setSchedulingType(java.lang.String schedulingType) {
544+
this.schedulingType = schedulingType;
545+
return this;
546+
}
547+
524548
/**
525549
* [Output Only] Server-defined fully-qualified URL for this resource.
526550
* @return value or {@code null} for none

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationBlock.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class ReservationBlock extends com.google.api.client.json.GenericJs
4343
@com.google.api.client.util.Key
4444
private java.lang.String creationTimestamp;
4545

46+
/**
47+
* [Output Only] Health information for the reservation block.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private ReservationBlockHealthInfo healthInfo;
52+
4653
/**
4754
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
4855
* The value may be {@code null}.
@@ -164,6 +171,23 @@ public ReservationBlock setCreationTimestamp(java.lang.String creationTimestamp)
164171
return this;
165172
}
166173

174+
/**
175+
* [Output Only] Health information for the reservation block.
176+
* @return value or {@code null} for none
177+
*/
178+
public ReservationBlockHealthInfo getHealthInfo() {
179+
return healthInfo;
180+
}
181+
182+
/**
183+
* [Output Only] Health information for the reservation block.
184+
* @param healthInfo healthInfo or {@code null} for none
185+
*/
186+
public ReservationBlock setHealthInfo(ReservationBlockHealthInfo healthInfo) {
187+
this.healthInfo = healthInfo;
188+
return this;
189+
}
190+
167191
/**
168192
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
169193
* @return value or {@code null} for none
Lines changed: 114 additions & 0 deletions
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.compute.model;
18+
19+
/**
20+
* Health information for the reservation block.
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 Compute Engine 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 ReservationBlockHealthInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The number of subBlocks that are degraded.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer degradedSubBlockCount;
38+
39+
/**
40+
* The health status of the reservation block.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String healthStatus;
45+
46+
/**
47+
* The number of subBlocks that are healthy.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Integer healthySubBlockCount;
52+
53+
/**
54+
* The number of subBlocks that are degraded.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Integer getDegradedSubBlockCount() {
58+
return degradedSubBlockCount;
59+
}
60+
61+
/**
62+
* The number of subBlocks that are degraded.
63+
* @param degradedSubBlockCount degradedSubBlockCount or {@code null} for none
64+
*/
65+
public ReservationBlockHealthInfo setDegradedSubBlockCount(java.lang.Integer degradedSubBlockCount) {
66+
this.degradedSubBlockCount = degradedSubBlockCount;
67+
return this;
68+
}
69+
70+
/**
71+
* The health status of the reservation block.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getHealthStatus() {
75+
return healthStatus;
76+
}
77+
78+
/**
79+
* The health status of the reservation block.
80+
* @param healthStatus healthStatus or {@code null} for none
81+
*/
82+
public ReservationBlockHealthInfo setHealthStatus(java.lang.String healthStatus) {
83+
this.healthStatus = healthStatus;
84+
return this;
85+
}
86+
87+
/**
88+
* The number of subBlocks that are healthy.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Integer getHealthySubBlockCount() {
92+
return healthySubBlockCount;
93+
}
94+
95+
/**
96+
* The number of subBlocks that are healthy.
97+
* @param healthySubBlockCount healthySubBlockCount or {@code null} for none
98+
*/
99+
public ReservationBlockHealthInfo setHealthySubBlockCount(java.lang.Integer healthySubBlockCount) {
100+
this.healthySubBlockCount = healthySubBlockCount;
101+
return this;
102+
}
103+
104+
@Override
105+
public ReservationBlockHealthInfo set(String fieldName, Object value) {
106+
return (ReservationBlockHealthInfo) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public ReservationBlockHealthInfo clone() {
111+
return (ReservationBlockHealthInfo) super.clone();
112+
}
113+
114+
}

clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSubBlock.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class ReservationSubBlock extends com.google.api.client.json.Generi
4343
@com.google.api.client.util.Key
4444
private java.lang.String creationTimestamp;
4545

46+
/**
47+
* [Output Only] Health information for the reservation subBlock.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private ReservationSubBlockHealthInfo healthInfo;
52+
4653
/**
4754
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
4855
* The value may be {@code null}.
@@ -150,6 +157,23 @@ public ReservationSubBlock setCreationTimestamp(java.lang.String creationTimesta
150157
return this;
151158
}
152159

160+
/**
161+
* [Output Only] Health information for the reservation subBlock.
162+
* @return value or {@code null} for none
163+
*/
164+
public ReservationSubBlockHealthInfo getHealthInfo() {
165+
return healthInfo;
166+
}
167+
168+
/**
169+
* [Output Only] Health information for the reservation subBlock.
170+
* @param healthInfo healthInfo or {@code null} for none
171+
*/
172+
public ReservationSubBlock setHealthInfo(ReservationSubBlockHealthInfo healthInfo) {
173+
this.healthInfo = healthInfo;
174+
return this;
175+
}
176+
153177
/**
154178
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
155179
* @return value or {@code null} for none

0 commit comments

Comments
 (0)