Skip to content

Commit 340c9c6

Browse files
1 parent 1980c02 commit 340c9c6

20 files changed

+1008
-12
lines changed

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

clients/google-api-services-compute/alpha/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
@@ -36,6 +36,13 @@ public final class AllocationResourceStatus extends com.google.api.client.json.G
3636
@com.google.api.client.util.Key
3737
private AllocationResourceStatusAggregateAllocation aggregateAllocation;
3838

39+
/**
40+
* [Output only] Health information for the reservation.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private AllocationResourceStatusHealthInfo healthInfo;
45+
3946
/**
4047
* The number of reservation blocks associated with this reservation.
4148
* The value may be {@code null}.
@@ -74,6 +81,23 @@ public AllocationResourceStatus setAggregateAllocation(AllocationResourceStatusA
7481
return this;
7582
}
7683

84+
/**
85+
* [Output only] Health information for the reservation.
86+
* @return value or {@code null} for none
87+
*/
88+
public AllocationResourceStatusHealthInfo getHealthInfo() {
89+
return healthInfo;
90+
}
91+
92+
/**
93+
* [Output only] Health information for the reservation.
94+
* @param healthInfo healthInfo or {@code null} for none
95+
*/
96+
public AllocationResourceStatus setHealthInfo(AllocationResourceStatusHealthInfo healthInfo) {
97+
this.healthInfo = healthInfo;
98+
return this;
99+
}
100+
77101
/**
78102
* The number of reservation blocks associated with this reservation.
79103
* @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/alpha/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}.
@@ -173,6 +180,23 @@ public ReservationBlock setCreationTimestamp(java.lang.String creationTimestamp)
173180
return this;
174181
}
175182

183+
/**
184+
* [Output Only] Health information for the reservation block.
185+
* @return value or {@code null} for none
186+
*/
187+
public ReservationBlockHealthInfo getHealthInfo() {
188+
return healthInfo;
189+
}
190+
191+
/**
192+
* [Output Only] Health information for the reservation block.
193+
* @param healthInfo healthInfo or {@code null} for none
194+
*/
195+
public ReservationBlock setHealthInfo(ReservationBlockHealthInfo healthInfo) {
196+
this.healthInfo = healthInfo;
197+
return this;
198+
}
199+
176200
/**
177201
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
178202
* @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 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/alpha/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)