Skip to content

Commit 4554c41

Browse files
1 parent dc1442a commit 4554c41

30 files changed

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

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

Lines changed: 389 additions & 549 deletions
Large diffs are not rendered by default.

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ public final class Backend extends com.google.api.client.json.GenericJson {
5757
private java.lang.Float capacityScaler;
5858

5959
/**
60-
* List of custom metrics that are used for CUSTOM_METRICS BalancingMode and WEIGHTED_ROUND_ROBIN
61-
* BackendService locality_lb_policy.
60+
* List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
6261
* The value may be {@code null}.
6362
*/
6463
@com.google.api.client.util.Key
@@ -224,17 +223,15 @@ public Backend setCapacityScaler(java.lang.Float capacityScaler) {
224223
}
225224

226225
/**
227-
* List of custom metrics that are used for CUSTOM_METRICS BalancingMode and WEIGHTED_ROUND_ROBIN
228-
* BackendService locality_lb_policy.
226+
* List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
229227
* @return value or {@code null} for none
230228
*/
231229
public java.util.List<BackendCustomMetric> getCustomMetrics() {
232230
return customMetrics;
233231
}
234232

235233
/**
236-
* List of custom metrics that are used for CUSTOM_METRICS BalancingMode and WEIGHTED_ROUND_ROBIN
237-
* BackendService locality_lb_policy.
234+
* List of custom metrics that are used for CUSTOM_METRICS BalancingMode.
238235
* @param customMetrics customMetrics or {@code null} for none
239236
*/
240237
public Backend setCustomMetrics(java.util.List<BackendCustomMetric> customMetrics) {

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

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
package com.google.api.services.compute.model;
1818

1919
/**
20-
* Custom Metrics are used for CUSTOM_METRICS balancing_mode and WEIGHTED_ROUND_ROBIN BackendService
21-
* locality_lb_policy.
20+
* Custom Metrics are used for CUSTOM_METRICS balancing_mode.
2221
*
2322
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2423
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
@@ -47,14 +46,13 @@ public final class BackendCustomMetric extends com.google.api.client.json.Generi
4746
private java.lang.Float maxUtilization;
4847

4948
/**
50-
* Name of a custom utilization signal. The name must be 1-64 characters long, and comply with
51-
* relaxed RFC1035. Specifically, the name must be 1-64 characters long and match the regular
52-
* expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a lowercase
53-
* letter, and all following characters must be a dash, period, underscore, lowercase letter, or
54-
* digit, except the last character, which cannot be a dash, period, or underscore. For usage
55-
* guidelines, see Custom Metrics balancing mode. This field can only be used for a global or
56-
* regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED
57-
* INTERNAL_SELF_MANAGED.
49+
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
50+
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
51+
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
52+
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For
53+
* usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global
54+
* or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED,
55+
* INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
5856
* The value may be {@code null}.
5957
*/
6058
@com.google.api.client.util.Key
@@ -99,29 +97,27 @@ public BackendCustomMetric setMaxUtilization(java.lang.Float maxUtilization) {
9997
}
10098

10199
/**
102-
* Name of a custom utilization signal. The name must be 1-64 characters long, and comply with
103-
* relaxed RFC1035. Specifically, the name must be 1-64 characters long and match the regular
104-
* expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a lowercase
105-
* letter, and all following characters must be a dash, period, underscore, lowercase letter, or
106-
* digit, except the last character, which cannot be a dash, period, or underscore. For usage
107-
* guidelines, see Custom Metrics balancing mode. This field can only be used for a global or
108-
* regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED
109-
* INTERNAL_SELF_MANAGED.
100+
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
101+
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
102+
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
103+
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For
104+
* usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global
105+
* or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED,
106+
* INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
110107
* @return value or {@code null} for none
111108
*/
112109
public java.lang.String getName() {
113110
return name;
114111
}
115112

116113
/**
117-
* Name of a custom utilization signal. The name must be 1-64 characters long, and comply with
118-
* relaxed RFC1035. Specifically, the name must be 1-64 characters long and match the regular
119-
* expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a lowercase
120-
* letter, and all following characters must be a dash, period, underscore, lowercase letter, or
121-
* digit, except the last character, which cannot be a dash, period, or underscore. For usage
122-
* guidelines, see Custom Metrics balancing mode. This field can only be used for a global or
123-
* regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED
124-
* INTERNAL_SELF_MANAGED.
114+
* Name of a custom utilization signal. The name must be 1-64 characters long and match the
115+
* regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the first character must be a
116+
* lowercase letter, and all following characters must be a dash, period, underscore, lowercase
117+
* letter, or digit, except the last character, which cannot be a dash, period, or underscore. For
118+
* usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global
119+
* or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED,
120+
* INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
125121
* @param name name or {@code null} for none
126122
*/
127123
public BackendCustomMetric setName(java.lang.String name) {

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

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,27 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
5858
@com.google.api.client.util.Key
5959
private java.lang.Boolean autoDeleteAutoCreatedReservations;
6060

61+
/**
62+
* If not present, then FR will not deliver a new commitment or update an existing commitment.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private FutureReservationCommitmentInfo commitmentInfo;
67+
6168
/**
6269
* [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
6370
* The value may be {@code null}.
6471
*/
6572
@com.google.api.client.util.Key
6673
private java.lang.String creationTimestamp;
6774

75+
/**
76+
* Type of the deployment requested as part of future reservation.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.lang.String deploymentType;
81+
6882
/**
6983
* An optional description of this resource. Provide this property when you create the future
7084
* reservation.
@@ -73,6 +87,14 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
7387
@com.google.api.client.util.Key
7488
private java.lang.String description;
7589

90+
/**
91+
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
92+
* FR by customers, and will be used for reservation and reservation block maintenance .
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private java.lang.Boolean enableOpportunisticMaintenance;
97+
7698
/**
7799
* [Output Only] A unique identifier for this future reservation. The server defines this
78100
* identifier.
@@ -81,6 +103,13 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
81103
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
82104
private java.math.BigInteger id;
83105

106+
/**
107+
* Action to take during reservation termination.
108+
* The value may be {@code null}.
109+
*/
110+
@com.google.api.client.util.Key
111+
private java.lang.String instanceTerminationAction;
112+
84113
/**
85114
* [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
86115
* The value may be {@code null}.
@@ -115,6 +144,24 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
115144
@com.google.api.client.util.Key
116145
private java.lang.String planningStatus;
117146

147+
/**
148+
* Name of reservations where the capacity is provisioned at the time of delivery of future
149+
* reservations. If the reservation with the given name does not exist already, it is created
150+
* automatically at the time of Approval with INACTIVE state till specified start-time. Either
151+
* provide the reservation_name or a name_prefix.
152+
* The value may be {@code null}.
153+
*/
154+
@com.google.api.client.util.Key
155+
private java.lang.String reservationName;
156+
157+
/**
158+
* Indicates the maintenance type for this group of VMs. This will be set on the reservation via
159+
* FR, and will be inherited for reservation blocks.
160+
* The value may be {@code null}.
161+
*/
162+
@com.google.api.client.util.Key
163+
private java.lang.String schedulingType;
164+
118165
/**
119166
* [Output Only] Server-defined fully-qualified URL for this resource.
120167
* The value may be {@code null}.
@@ -241,6 +288,23 @@ public FutureReservation setAutoDeleteAutoCreatedReservations(java.lang.Boolean
241288
return this;
242289
}
243290

291+
/**
292+
* If not present, then FR will not deliver a new commitment or update an existing commitment.
293+
* @return value or {@code null} for none
294+
*/
295+
public FutureReservationCommitmentInfo getCommitmentInfo() {
296+
return commitmentInfo;
297+
}
298+
299+
/**
300+
* If not present, then FR will not deliver a new commitment or update an existing commitment.
301+
* @param commitmentInfo commitmentInfo or {@code null} for none
302+
*/
303+
public FutureReservation setCommitmentInfo(FutureReservationCommitmentInfo commitmentInfo) {
304+
this.commitmentInfo = commitmentInfo;
305+
return this;
306+
}
307+
244308
/**
245309
* [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
246310
* @return value or {@code null} for none
@@ -258,6 +322,23 @@ public FutureReservation setCreationTimestamp(java.lang.String creationTimestamp
258322
return this;
259323
}
260324

325+
/**
326+
* Type of the deployment requested as part of future reservation.
327+
* @return value or {@code null} for none
328+
*/
329+
public java.lang.String getDeploymentType() {
330+
return deploymentType;
331+
}
332+
333+
/**
334+
* Type of the deployment requested as part of future reservation.
335+
* @param deploymentType deploymentType or {@code null} for none
336+
*/
337+
public FutureReservation setDeploymentType(java.lang.String deploymentType) {
338+
this.deploymentType = deploymentType;
339+
return this;
340+
}
341+
261342
/**
262343
* An optional description of this resource. Provide this property when you create the future
263344
* reservation.
@@ -277,6 +358,25 @@ public FutureReservation setDescription(java.lang.String description) {
277358
return this;
278359
}
279360

361+
/**
362+
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
363+
* FR by customers, and will be used for reservation and reservation block maintenance .
364+
* @return value or {@code null} for none
365+
*/
366+
public java.lang.Boolean getEnableOpportunisticMaintenance() {
367+
return enableOpportunisticMaintenance;
368+
}
369+
370+
/**
371+
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
372+
* FR by customers, and will be used for reservation and reservation block maintenance .
373+
* @param enableOpportunisticMaintenance enableOpportunisticMaintenance or {@code null} for none
374+
*/
375+
public FutureReservation setEnableOpportunisticMaintenance(java.lang.Boolean enableOpportunisticMaintenance) {
376+
this.enableOpportunisticMaintenance = enableOpportunisticMaintenance;
377+
return this;
378+
}
379+
280380
/**
281381
* [Output Only] A unique identifier for this future reservation. The server defines this
282382
* identifier.
@@ -296,6 +396,23 @@ public FutureReservation setId(java.math.BigInteger id) {
296396
return this;
297397
}
298398

399+
/**
400+
* Action to take during reservation termination.
401+
* @return value or {@code null} for none
402+
*/
403+
public java.lang.String getInstanceTerminationAction() {
404+
return instanceTerminationAction;
405+
}
406+
407+
/**
408+
* Action to take during reservation termination.
409+
* @param instanceTerminationAction instanceTerminationAction or {@code null} for none
410+
*/
411+
public FutureReservation setInstanceTerminationAction(java.lang.String instanceTerminationAction) {
412+
this.instanceTerminationAction = instanceTerminationAction;
413+
return this;
414+
}
415+
299416
/**
300417
* [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
301418
* @return value or {@code null} for none
@@ -376,6 +493,48 @@ public FutureReservation setPlanningStatus(java.lang.String planningStatus) {
376493
return this;
377494
}
378495

496+
/**
497+
* Name of reservations where the capacity is provisioned at the time of delivery of future
498+
* reservations. If the reservation with the given name does not exist already, it is created
499+
* automatically at the time of Approval with INACTIVE state till specified start-time. Either
500+
* provide the reservation_name or a name_prefix.
501+
* @return value or {@code null} for none
502+
*/
503+
public java.lang.String getReservationName() {
504+
return reservationName;
505+
}
506+
507+
/**
508+
* Name of reservations where the capacity is provisioned at the time of delivery of future
509+
* reservations. If the reservation with the given name does not exist already, it is created
510+
* automatically at the time of Approval with INACTIVE state till specified start-time. Either
511+
* provide the reservation_name or a name_prefix.
512+
* @param reservationName reservationName or {@code null} for none
513+
*/
514+
public FutureReservation setReservationName(java.lang.String reservationName) {
515+
this.reservationName = reservationName;
516+
return this;
517+
}
518+
519+
/**
520+
* Indicates the maintenance type for this group of VMs. This will be set on the reservation via
521+
* FR, and will be inherited for reservation blocks.
522+
* @return value or {@code null} for none
523+
*/
524+
public java.lang.String getSchedulingType() {
525+
return schedulingType;
526+
}
527+
528+
/**
529+
* Indicates the maintenance type for this group of VMs. This will be set on the reservation via
530+
* FR, and will be inherited for reservation blocks.
531+
* @param schedulingType schedulingType or {@code null} for none
532+
*/
533+
public FutureReservation setSchedulingType(java.lang.String schedulingType) {
534+
this.schedulingType = schedulingType;
535+
return this;
536+
}
537+
379538
/**
380539
* [Output Only] Server-defined fully-qualified URL for this resource.
381540
* @return value or {@code null} for none

0 commit comments

Comments
 (0)