Skip to content

Commit 5ba64bd

Browse files
1 parent e4b06a3 commit 5ba64bd

File tree

89 files changed

+17366
-10702
lines changed

Some content is hidden

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

89 files changed

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

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

Lines changed: 1625 additions & 538 deletions
Large diffs are not rendered by default.

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ public final class BackendBucketCdnPolicy extends com.google.api.client.json.Gen
5555
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
5656
* content, including common image formats, media (video and audio), and web assets (JavaScript
5757
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
58-
* (including HTML), will not be cached.
58+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
59+
* defaults to CACHE_ALL_STATIC.
5960
* The value may be {@code null}.
6061
*/
6162
@com.google.api.client.util.Key
@@ -216,7 +217,8 @@ public BackendBucketCdnPolicy setCacheKeyPolicy(BackendBucketCdnPolicyCacheKeyPo
216217
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
217218
* content, including common image formats, media (video and audio), and web assets (JavaScript
218219
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
219-
* (including HTML), will not be cached.
220+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
221+
* defaults to CACHE_ALL_STATIC.
220222
* @return value or {@code null} for none
221223
*/
222224
public java.lang.String getCacheMode() {
@@ -233,7 +235,8 @@ public java.lang.String getCacheMode() {
233235
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
234236
* content, including common image formats, media (video and audio), and web assets (JavaScript
235237
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
236-
* (including HTML), will not be cached.
238+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
239+
* defaults to CACHE_ALL_STATIC.
237240
* @param cacheMode cacheMode or {@code null} for none
238241
*/
239242
public BackendBucketCdnPolicy setCacheMode(java.lang.String cacheMode) {

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ public final class BackendServiceCdnPolicy extends com.google.api.client.json.Ge
5555
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
5656
* content, including common image formats, media (video and audio), and web assets (JavaScript
5757
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
58-
* (including HTML), will not be cached.
58+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
59+
* defaults to CACHE_ALL_STATIC.
5960
* The value may be {@code null}.
6061
*/
6162
@com.google.api.client.util.Key
@@ -216,7 +217,8 @@ public BackendServiceCdnPolicy setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy)
216217
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
217218
* content, including common image formats, media (video and audio), and web assets (JavaScript
218219
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
219-
* (including HTML), will not be cached.
220+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
221+
* defaults to CACHE_ALL_STATIC.
220222
* @return value or {@code null} for none
221223
*/
222224
public java.lang.String getCacheMode() {
@@ -233,7 +235,8 @@ public java.lang.String getCacheMode() {
233235
* private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static
234236
* content, including common image formats, media (video and audio), and web assets (JavaScript
235237
* and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content
236-
* (including HTML), will not be cached.
238+
* (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it
239+
* defaults to CACHE_ALL_STATIC.
237240
* @param cacheMode cacheMode or {@code null} for none
238241
*/
239242
public BackendServiceCdnPolicy setCacheMode(java.lang.String cacheMode) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Model definition for BackendServicesGetEffectiveSecurityPoliciesResponse.
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 BackendServicesGetEffectiveSecurityPoliciesResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Effective security policies for the backend service.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<SecurityPolicy> securityPolicies;
38+
39+
/**
40+
* Effective security policies for the backend service.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<SecurityPolicy> getSecurityPolicies() {
44+
return securityPolicies;
45+
}
46+
47+
/**
48+
* Effective security policies for the backend service.
49+
* @param securityPolicies securityPolicies or {@code null} for none
50+
*/
51+
public BackendServicesGetEffectiveSecurityPoliciesResponse setSecurityPolicies(java.util.List<SecurityPolicy> securityPolicies) {
52+
this.securityPolicies = securityPolicies;
53+
return this;
54+
}
55+
56+
@Override
57+
public BackendServicesGetEffectiveSecurityPoliciesResponse set(String fieldName, Object value) {
58+
return (BackendServicesGetEffectiveSecurityPoliciesResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public BackendServicesGetEffectiveSecurityPoliciesResponse clone() {
63+
return (BackendServicesGetEffectiveSecurityPoliciesResponse) super.clone();
64+
}
65+
66+
}

clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CacheInvalidationRule.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 CacheInvalidationRule extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Not implemented.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<java.lang.String> cacheTags;
38+
3239
/**
3340
* If set, this invalidation rule will only apply to requests with a Host header matching host.
3441
* The value may be {@code null}.
@@ -42,6 +49,23 @@ public final class CacheInvalidationRule extends com.google.api.client.json.Gene
4249
@com.google.api.client.util.Key
4350
private java.lang.String path;
4451

52+
/**
53+
* Not implemented.
54+
* @return value or {@code null} for none
55+
*/
56+
public java.util.List<java.lang.String> getCacheTags() {
57+
return cacheTags;
58+
}
59+
60+
/**
61+
* Not implemented.
62+
* @param cacheTags cacheTags or {@code null} for none
63+
*/
64+
public CacheInvalidationRule setCacheTags(java.util.List<java.lang.String> cacheTags) {
65+
this.cacheTags = cacheTags;
66+
return this;
67+
}
68+
4569
/**
4670
* If set, this invalidation rule will only apply to requests with a Host header matching host.
4771
* @return value or {@code null} for none

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public final class DiskPairReplicationState extends com.google.api.client.json.G
3434
* is doing the initial replication after starting the replication. -
3535
* ASYNC_REPLICATION_STATE_REPLICATING_HEALTHY: The primary disk is healthily replicating to the
3636
* secondary device i.e. last_replication_time is within RPO. -
37-
* ASYNC_REPLICATION_STATE_REPLICATING_BEHIND: The replication is lagging above the SLO limit due
38-
* to some internal issue. - ASYNC_REPLICATION_STATE_REPLICATING_UNHEALTHY: The replication is
39-
* lagging, and the RPO is not being met due to some internal issue. . -
37+
* ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_HIGH_CHURN: The replication is lagging above the SLO
38+
* limit due to some internal issue. - ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_SYSTEM_LAGGING:
39+
* The replication is lagging, and the RPO is not being met due to some internal issue. -
4040
* ASYNC_REPLICATION_STATE_REPLICATION_STUCK: The replication is completely stuck due to some
4141
* internal error. - ASYNC_REPLICATION_STATE_STOPPING: The replication is under the process of
4242
* being stopped. This is a transient state. - ASYNC_REPLICATION_STATE_STOPPED: The replication
@@ -57,9 +57,9 @@ public final class DiskPairReplicationState extends com.google.api.client.json.G
5757
* is doing the initial replication after starting the replication. -
5858
* ASYNC_REPLICATION_STATE_REPLICATING_HEALTHY: The primary disk is healthily replicating to the
5959
* secondary device i.e. last_replication_time is within RPO. -
60-
* ASYNC_REPLICATION_STATE_REPLICATING_BEHIND: The replication is lagging above the SLO limit due
61-
* to some internal issue. - ASYNC_REPLICATION_STATE_REPLICATING_UNHEALTHY: The replication is
62-
* lagging, and the RPO is not being met due to some internal issue. . -
60+
* ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_HIGH_CHURN: The replication is lagging above the SLO
61+
* limit due to some internal issue. - ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_SYSTEM_LAGGING:
62+
* The replication is lagging, and the RPO is not being met due to some internal issue. -
6363
* ASYNC_REPLICATION_STATE_REPLICATION_STUCK: The replication is completely stuck due to some
6464
* internal error. - ASYNC_REPLICATION_STATE_STOPPING: The replication is under the process of
6565
* being stopped. This is a transient state. - ASYNC_REPLICATION_STATE_STOPPED: The replication
@@ -75,9 +75,9 @@ public java.lang.String getDataReplicationState() {
7575
* is doing the initial replication after starting the replication. -
7676
* ASYNC_REPLICATION_STATE_REPLICATING_HEALTHY: The primary disk is healthily replicating to the
7777
* secondary device i.e. last_replication_time is within RPO. -
78-
* ASYNC_REPLICATION_STATE_REPLICATING_BEHIND: The replication is lagging above the SLO limit due
79-
* to some internal issue. - ASYNC_REPLICATION_STATE_REPLICATING_UNHEALTHY: The replication is
80-
* lagging, and the RPO is not being met due to some internal issue. . -
78+
* ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_HIGH_CHURN: The replication is lagging above the SLO
79+
* limit due to some internal issue. - ASYNC_REPLICATION_STATE_REPLICATING_BEHIND_SYSTEM_LAGGING:
80+
* The replication is lagging, and the RPO is not being met due to some internal issue. -
8181
* ASYNC_REPLICATION_STATE_REPLICATION_STUCK: The replication is completely stuck due to some
8282
* internal error. - ASYNC_REPLICATION_STATE_STOPPING: The replication is under the process of
8383
* being stopped. This is a transient state. - ASYNC_REPLICATION_STATE_STOPPED: The replication

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

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

32+
/**
33+
* Aggregate reservation details for the future reservation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private AllocationAggregateReservation aggregateReservation;
38+
3239
/**
3340
* Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.
3441
* Format of this field must be a valid href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
@@ -87,14 +94,6 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
8794
@com.google.api.client.util.Key
8895
private java.lang.String description;
8996

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-
9897
/**
9998
* [Output Only] A unique identifier for this future reservation. The server defines this
10099
* identifier.
@@ -103,13 +102,6 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
103102
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
104103
private java.math.BigInteger id;
105104

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-
113105
/**
114106
* [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
115107
* The value may be {@code null}.
@@ -144,6 +136,13 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
144136
@com.google.api.client.util.Key
145137
private java.lang.String planningStatus;
146138

139+
/**
140+
* The reservation mode which determines reservation-termination behavior and expected pricing.
141+
* The value may be {@code null}.
142+
*/
143+
@com.google.api.client.util.Key
144+
private java.lang.String reservationMode;
145+
147146
/**
148147
* Name of reservations where the capacity is provisioned at the time of delivery of future
149148
* reservations. If the reservation with the given name does not exist already, it is created
@@ -219,6 +218,23 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
219218
@com.google.api.client.util.Key
220219
private java.lang.String zone;
221220

221+
/**
222+
* Aggregate reservation details for the future reservation.
223+
* @return value or {@code null} for none
224+
*/
225+
public AllocationAggregateReservation getAggregateReservation() {
226+
return aggregateReservation;
227+
}
228+
229+
/**
230+
* Aggregate reservation details for the future reservation.
231+
* @param aggregateReservation aggregateReservation or {@code null} for none
232+
*/
233+
public FutureReservation setAggregateReservation(AllocationAggregateReservation aggregateReservation) {
234+
this.aggregateReservation = aggregateReservation;
235+
return this;
236+
}
237+
222238
/**
223239
* Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.
224240
* Format of this field must be a valid href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
@@ -356,25 +372,6 @@ public FutureReservation setDescription(java.lang.String description) {
356372
return this;
357373
}
358374

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

397-
/**
398-
* Action to take during reservation termination.
399-
* @return value or {@code null} for none
400-
*/
401-
public java.lang.String getInstanceTerminationAction() {
402-
return instanceTerminationAction;
403-
}
404-
405-
/**
406-
* Action to take during reservation termination.
407-
* @param instanceTerminationAction instanceTerminationAction or {@code null} for none
408-
*/
409-
public FutureReservation setInstanceTerminationAction(java.lang.String instanceTerminationAction) {
410-
this.instanceTerminationAction = instanceTerminationAction;
411-
return this;
412-
}
413-
414394
/**
415395
* [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
416396
* @return value or {@code null} for none
@@ -491,6 +471,23 @@ public FutureReservation setPlanningStatus(java.lang.String planningStatus) {
491471
return this;
492472
}
493473

474+
/**
475+
* The reservation mode which determines reservation-termination behavior and expected pricing.
476+
* @return value or {@code null} for none
477+
*/
478+
public java.lang.String getReservationMode() {
479+
return reservationMode;
480+
}
481+
482+
/**
483+
* The reservation mode which determines reservation-termination behavior and expected pricing.
484+
* @param reservationMode reservationMode or {@code null} for none
485+
*/
486+
public FutureReservation setReservationMode(java.lang.String reservationMode) {
487+
this.reservationMode = reservationMode;
488+
return this;
489+
}
490+
494491
/**
495492
* Name of reservations where the capacity is provisioned at the time of delivery of future
496493
* reservations. If the reservation with the given name does not exist already, it is created

0 commit comments

Comments
 (0)