Skip to content

Commit b237a44

Browse files
1 parent 6b705c9 commit b237a44

File tree

99 files changed

+44471
-34651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

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

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java

Lines changed: 35636 additions & 31215 deletions
Large diffs are not rendered by default.

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ public final class AllocationResourceStatus extends com.google.api.client.json.G
3636
@com.google.api.client.util.Key
3737
private java.lang.Integer reservationBlockCount;
3838

39+
/**
40+
* Maintenance information for the group of hosts on this reservation including running VMs and
41+
* unused hosts. Applicable only to accelerator optimized VM families beyond A3 only. For both
42+
* DENSE or STANDARD reservation, granular maintenance information can be retried at reservation
43+
* block level.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private GroupMaintenanceInfo reservationMaintenance;
48+
3949
/**
4050
* Allocation Properties of this reservation.
4151
* The value may be {@code null}.
@@ -60,6 +70,29 @@ public AllocationResourceStatus setReservationBlockCount(java.lang.Integer reser
6070
return this;
6171
}
6272

73+
/**
74+
* Maintenance information for the group of hosts on this reservation including running VMs and
75+
* unused hosts. Applicable only to accelerator optimized VM families beyond A3 only. For both
76+
* DENSE or STANDARD reservation, granular maintenance information can be retried at reservation
77+
* block level.
78+
* @return value or {@code null} for none
79+
*/
80+
public GroupMaintenanceInfo getReservationMaintenance() {
81+
return reservationMaintenance;
82+
}
83+
84+
/**
85+
* Maintenance information for the group of hosts on this reservation including running VMs and
86+
* unused hosts. Applicable only to accelerator optimized VM families beyond A3 only. For both
87+
* DENSE or STANDARD reservation, granular maintenance information can be retried at reservation
88+
* block level.
89+
* @param reservationMaintenance reservationMaintenance or {@code null} for none
90+
*/
91+
public AllocationResourceStatus setReservationMaintenance(GroupMaintenanceInfo reservationMaintenance) {
92+
this.reservationMaintenance = reservationMaintenance;
93+
return this;
94+
}
95+
6396
/**
6497
* Allocation Properties of this reservation.
6598
* @return value or {@code null} for none

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AuditConfig.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ public final class AuditConfig extends com.google.api.client.json.GenericJson {
4747
@com.google.api.client.util.Key
4848
private java.util.List<AuditLogConfig> auditLogConfigs;
4949

50-
/**
51-
* This is deprecated and has no effect. Do not use.
52-
* The value may be {@code null}.
53-
*/
54-
@com.google.api.client.util.Key
55-
private java.util.List<java.lang.String> exemptedMembers;
56-
5750
/**
5851
* Specifies a service that will be enabled for audit logging. For example,
5952
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that
@@ -80,23 +73,6 @@ public AuditConfig setAuditLogConfigs(java.util.List<AuditLogConfig> auditLogCon
8073
return this;
8174
}
8275

83-
/**
84-
* This is deprecated and has no effect. Do not use.
85-
* @return value or {@code null} for none
86-
*/
87-
public java.util.List<java.lang.String> getExemptedMembers() {
88-
return exemptedMembers;
89-
}
90-
91-
/**
92-
* This is deprecated and has no effect. Do not use.
93-
* @param exemptedMembers exemptedMembers or {@code null} for none
94-
*/
95-
public AuditConfig setExemptedMembers(java.util.List<java.lang.String> exemptedMembers) {
96-
this.exemptedMembers = exemptedMembers;
97-
return this;
98-
}
99-
10076
/**
10177
* Specifies a service that will be enabled for audit logging. For example,
10278
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AuditLogConfig.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ public final class AuditLogConfig extends com.google.api.client.json.GenericJson
4040
@com.google.api.client.util.Key
4141
private java.util.List<java.lang.String> exemptedMembers;
4242

43-
/**
44-
* This is deprecated and has no effect. Do not use.
45-
* The value may be {@code null}.
46-
*/
47-
@com.google.api.client.util.Key
48-
private java.lang.Boolean ignoreChildExemptions;
49-
5043
/**
5144
* The log type that this config enables.
5245
* The value may be {@code null}.
@@ -73,23 +66,6 @@ public AuditLogConfig setExemptedMembers(java.util.List<java.lang.String> exempt
7366
return this;
7467
}
7568

76-
/**
77-
* This is deprecated and has no effect. Do not use.
78-
* @return value or {@code null} for none
79-
*/
80-
public java.lang.Boolean getIgnoreChildExemptions() {
81-
return ignoreChildExemptions;
82-
}
83-
84-
/**
85-
* This is deprecated and has no effect. Do not use.
86-
* @param ignoreChildExemptions ignoreChildExemptions or {@code null} for none
87-
*/
88-
public AuditLogConfig setIgnoreChildExemptions(java.lang.Boolean ignoreChildExemptions) {
89-
this.ignoreChildExemptions = ignoreChildExemptions;
90-
return this;
91-
}
92-
9369
/**
9470
* The log type that this config enables.
9571
* @return value or {@code null} for none

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendCustomMetric.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class BackendCustomMetric extends com.google.api.client.json.Generi
4646
private java.lang.Float maxUtilization;
4747

4848
/**
49-
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
49+
* Name of a custom utilization signal. The name must be 1-24 characters long and match the
5050
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
5151
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
5252
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For
@@ -97,7 +97,7 @@ public BackendCustomMetric setMaxUtilization(java.lang.Float maxUtilization) {
9797
}
9898

9999
/**
100-
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
100+
* Name of a custom utilization signal. The name must be 1-24 characters long and match the
101101
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
102102
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
103103
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For
@@ -111,7 +111,7 @@ public java.lang.String getName() {
111111
}
112112

113113
/**
114-
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
114+
* Name of a custom utilization signal. The name must be 1-24 characters long and match the
115115
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
116116
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
117117
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceCustomMetric.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class BackendServiceCustomMetric extends com.google.api.client.json
3737
private java.lang.Boolean dryRun;
3838

3939
/**
40-
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
40+
* Name of a custom utilization signal. The name must be 1-24 characters long and match the
4141
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
4242
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
4343
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For
@@ -67,7 +67,7 @@ public BackendServiceCustomMetric setDryRun(java.lang.Boolean dryRun) {
6767
}
6868

6969
/**
70-
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
70+
* Name of a custom utilization signal. The name must be 1-24 characters long and match the
7171
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
7272
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
7373
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For
@@ -81,7 +81,7 @@ public java.lang.String getName() {
8181
}
8282

8383
/**
84-
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
84+
* Name of a custom utilization signal. The name must be 1-24 characters long and match the
8585
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
8686
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
8787
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FutureReservation.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
186186
/**
187187
* Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any"
188188
* reservation. If the field is set, then only VMs that target the reservation by name can consume
189-
* from the delivered reservation. If set to true,the delivered resevervation will have the same
190-
* name as the future reservation.
189+
* from the delivered reservation.
191190
* The value may be {@code null}.
192191
*/
193192
@com.google.api.client.util.Key
@@ -589,8 +588,7 @@ public FutureReservation setShareSettings(ShareSettings shareSettings) {
589588
/**
590589
* Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any"
591590
* reservation. If the field is set, then only VMs that target the reservation by name can consume
592-
* from the delivered reservation. If set to true,the delivered resevervation will have the same
593-
* name as the future reservation.
591+
* from the delivered reservation.
594592
* @return value or {@code null} for none
595593
*/
596594
public java.lang.Boolean getSpecificReservationRequired() {
@@ -600,8 +598,7 @@ public java.lang.Boolean getSpecificReservationRequired() {
600598
/**
601599
* Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any"
602600
* reservation. If the field is set, then only VMs that target the reservation by name can consume
603-
* from the delivered reservation. If set to true,the delivered resevervation will have the same
604-
* name as the future reservation.
601+
* from the delivered reservation.
605602
* @param specificReservationRequired specificReservationRequired or {@code null} for none
606603
*/
607604
public FutureReservation setSpecificReservationRequired(java.lang.Boolean specificReservationRequired) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
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+
* Maintenance Info for ReservationBlocks.
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 GroupMaintenanceInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
34+
* reservation, and will be inherited for reservation blocks.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean enableOpportunisticMaintenance;
39+
40+
/**
41+
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
42+
* block that have ongoing maintenance.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Integer maintenanceOngoingCount;
47+
48+
/**
49+
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
50+
* block that have pending maintenance.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.Integer maintenancePendingCount;
55+
56+
/**
57+
* Indicates the maintenance type for this group of VMs. This will be set on the reservation, and
58+
* will be inherited for reservation blocks.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String schedulingType;
63+
64+
/**
65+
* Maintenance information on this group of VMs.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private UpcomingMaintenance upcomingGroupMaintenance;
70+
71+
/**
72+
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
73+
* reservation, and will be inherited for reservation blocks.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.Boolean getEnableOpportunisticMaintenance() {
77+
return enableOpportunisticMaintenance;
78+
}
79+
80+
/**
81+
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
82+
* reservation, and will be inherited for reservation blocks.
83+
* @param enableOpportunisticMaintenance enableOpportunisticMaintenance or {@code null} for none
84+
*/
85+
public GroupMaintenanceInfo setEnableOpportunisticMaintenance(java.lang.Boolean enableOpportunisticMaintenance) {
86+
this.enableOpportunisticMaintenance = enableOpportunisticMaintenance;
87+
return this;
88+
}
89+
90+
/**
91+
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
92+
* block that have ongoing maintenance.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.Integer getMaintenanceOngoingCount() {
96+
return maintenanceOngoingCount;
97+
}
98+
99+
/**
100+
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
101+
* block that have ongoing maintenance.
102+
* @param maintenanceOngoingCount maintenanceOngoingCount or {@code null} for none
103+
*/
104+
public GroupMaintenanceInfo setMaintenanceOngoingCount(java.lang.Integer maintenanceOngoingCount) {
105+
this.maintenanceOngoingCount = maintenanceOngoingCount;
106+
return this;
107+
}
108+
109+
/**
110+
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
111+
* block that have pending maintenance.
112+
* @return value or {@code null} for none
113+
*/
114+
public java.lang.Integer getMaintenancePendingCount() {
115+
return maintenancePendingCount;
116+
}
117+
118+
/**
119+
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
120+
* block that have pending maintenance.
121+
* @param maintenancePendingCount maintenancePendingCount or {@code null} for none
122+
*/
123+
public GroupMaintenanceInfo setMaintenancePendingCount(java.lang.Integer maintenancePendingCount) {
124+
this.maintenancePendingCount = maintenancePendingCount;
125+
return this;
126+
}
127+
128+
/**
129+
* Indicates the maintenance type for this group of VMs. This will be set on the reservation, and
130+
* will be inherited for reservation blocks.
131+
* @return value or {@code null} for none
132+
*/
133+
public java.lang.String getSchedulingType() {
134+
return schedulingType;
135+
}
136+
137+
/**
138+
* Indicates the maintenance type for this group of VMs. This will be set on the reservation, and
139+
* will be inherited for reservation blocks.
140+
* @param schedulingType schedulingType or {@code null} for none
141+
*/
142+
public GroupMaintenanceInfo setSchedulingType(java.lang.String schedulingType) {
143+
this.schedulingType = schedulingType;
144+
return this;
145+
}
146+
147+
/**
148+
* Maintenance information on this group of VMs.
149+
* @return value or {@code null} for none
150+
*/
151+
public UpcomingMaintenance getUpcomingGroupMaintenance() {
152+
return upcomingGroupMaintenance;
153+
}
154+
155+
/**
156+
* Maintenance information on this group of VMs.
157+
* @param upcomingGroupMaintenance upcomingGroupMaintenance or {@code null} for none
158+
*/
159+
public GroupMaintenanceInfo setUpcomingGroupMaintenance(UpcomingMaintenance upcomingGroupMaintenance) {
160+
this.upcomingGroupMaintenance = upcomingGroupMaintenance;
161+
return this;
162+
}
163+
164+
@Override
165+
public GroupMaintenanceInfo set(String fieldName, Object value) {
166+
return (GroupMaintenanceInfo) super.set(fieldName, value);
167+
}
168+
169+
@Override
170+
public GroupMaintenanceInfo clone() {
171+
return (GroupMaintenanceInfo) super.clone();
172+
}
173+
174+
}

0 commit comments

Comments
 (0)