Skip to content

Commit b853aa1

Browse files
1 parent d8ebac5 commit b853aa1

40 files changed

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

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

Lines changed: 458 additions & 3 deletions
Large diffs are not rendered by default.

clients/google-api-services-compute/beta/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/beta/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/beta/2.0.0/com/google/api/services/compute/model/FutureReservation.java

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
8080
@com.google.api.client.util.Key
8181
private java.lang.String description;
8282

83-
/**
84-
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
85-
* FR by customers, and will be used for reservation and reservation block maintenance .
86-
* The value may be {@code null}.
87-
*/
88-
@com.google.api.client.util.Key
89-
private java.lang.Boolean enableOpportunisticMaintenance;
90-
9183
/**
9284
* [Output Only] A unique identifier for this future reservation. The server defines this
9385
* identifier.
@@ -96,13 +88,6 @@ public final class FutureReservation extends com.google.api.client.json.GenericJ
9688
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
9789
private java.math.BigInteger id;
9890

99-
/**
100-
* Action to take during reservation termination.
101-
* The value may be {@code null}.
102-
*/
103-
@com.google.api.client.util.Key
104-
private java.lang.String instanceTerminationAction;
105-
10691
/**
10792
* [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
10893
* The value may be {@code null}.
@@ -332,25 +317,6 @@ public FutureReservation setDescription(java.lang.String description) {
332317
return this;
333318
}
334319

335-
/**
336-
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
337-
* FR by customers, and will be used for reservation and reservation block maintenance .
338-
* @return value or {@code null} for none
339-
*/
340-
public java.lang.Boolean getEnableOpportunisticMaintenance() {
341-
return enableOpportunisticMaintenance;
342-
}
343-
344-
/**
345-
* Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the
346-
* FR by customers, and will be used for reservation and reservation block maintenance .
347-
* @param enableOpportunisticMaintenance enableOpportunisticMaintenance or {@code null} for none
348-
*/
349-
public FutureReservation setEnableOpportunisticMaintenance(java.lang.Boolean enableOpportunisticMaintenance) {
350-
this.enableOpportunisticMaintenance = enableOpportunisticMaintenance;
351-
return this;
352-
}
353-
354320
/**
355321
* [Output Only] A unique identifier for this future reservation. The server defines this
356322
* identifier.
@@ -370,23 +336,6 @@ public FutureReservation setId(java.math.BigInteger id) {
370336
return this;
371337
}
372338

373-
/**
374-
* Action to take during reservation termination.
375-
* @return value or {@code null} for none
376-
*/
377-
public java.lang.String getInstanceTerminationAction() {
378-
return instanceTerminationAction;
379-
}
380-
381-
/**
382-
* Action to take during reservation termination.
383-
* @param instanceTerminationAction instanceTerminationAction or {@code null} for none
384-
*/
385-
public FutureReservation setInstanceTerminationAction(java.lang.String instanceTerminationAction) {
386-
this.instanceTerminationAction = instanceTerminationAction;
387-
return this;
388-
}
389-
390339
/**
391340
* [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
392341
* @return value or {@code null} for none

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

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

32-
/**
33-
* This setting enables or disables opportunistic maintenance. If enabled, maintenance is
34-
* performed on unused reservations whenever possible.
35-
* The value may be {@code null}.
36-
*/
37-
@com.google.api.client.util.Key
38-
private java.lang.Boolean enableOpportunisticMaintenance;
39-
4032
/**
4133
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
4234
* block that have ongoing maintenance.
@@ -67,25 +59,6 @@ public final class GroupMaintenanceInfo extends com.google.api.client.json.Gener
6759
@com.google.api.client.util.Key
6860
private UpcomingMaintenance upcomingGroupMaintenance;
6961

70-
/**
71-
* This setting enables or disables opportunistic maintenance. If enabled, maintenance is
72-
* performed on unused reservations whenever possible.
73-
* @return value or {@code null} for none
74-
*/
75-
public java.lang.Boolean getEnableOpportunisticMaintenance() {
76-
return enableOpportunisticMaintenance;
77-
}
78-
79-
/**
80-
* This setting enables or disables opportunistic maintenance. If enabled, maintenance is
81-
* performed on unused reservations whenever possible.
82-
* @param enableOpportunisticMaintenance enableOpportunisticMaintenance or {@code null} for none
83-
*/
84-
public GroupMaintenanceInfo setEnableOpportunisticMaintenance(java.lang.Boolean enableOpportunisticMaintenance) {
85-
this.enableOpportunisticMaintenance = enableOpportunisticMaintenance;
86-
return this;
87-
}
88-
8962
/**
9063
* Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the
9164
* block that have ongoing maintenance.

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

Lines changed: 24 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,9 @@ public final class HttpRouteRule extends com.google.api.client.json.GenericJson
136136
/**
137137
* In response to a matching matchRule, the load balancer performs advanced routing actions, such
138138
* as URL rewrites and header transformations, before forwarding the request to the selected
139-
* backend. If routeAction specifies any weightedBackendServices, service must not be set.
140-
* Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one
141-
* of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic
142-
* Application Load Balancers only support the urlRewrite action within a route rule's
143-
* routeAction.
139+
* backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL
140+
* maps for classic Application Load Balancers only support the urlRewrite action within a route
141+
* rule's routeAction.
144142
* The value may be {@code null}.
145143
*/
146144
@com.google.api.client.util.Key
@@ -149,19 +147,17 @@ public final class HttpRouteRule extends com.google.api.client.json.GenericJson
149147
/**
150148
* The full or partial URL of the backend service resource to which traffic is directed if this
151149
* rule is matched. If routeAction is also specified, advanced routing actions, such as URL
152-
* rewrites, take effect before sending the request to the backend. However, if service is
153-
* specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction
154-
* specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect,
155-
* service or routeAction.weightedBackendService must be set.
150+
* rewrites, take effect before sending the request to the backend. Only one of urlRedirect,
151+
* service or routeAction.weightedBackendService can be set.
156152
* The value may be {@code null}.
157153
*/
158154
@com.google.api.client.util.Key
159155
private java.lang.String service;
160156

161157
/**
162-
* When this rule is matched, the request is redirected to a URL specified by urlRedirect. If
163-
* urlRedirect is specified, service or routeAction must not be set. Not supported when the URL
164-
* map is bound to a target gRPC proxy.
158+
* When this rule is matched, the request is redirected to a URL specified by urlRedirect. Only
159+
* one of urlRedirect, service or routeAction.weightedBackendService can be set. Not supported
160+
* when the URL map is bound to a target gRPC proxy.
165161
* The value may be {@code null}.
166162
*/
167163
@com.google.api.client.util.Key
@@ -373,11 +369,9 @@ public HttpRouteRule setPriority(java.lang.Integer priority) {
373369
/**
374370
* In response to a matching matchRule, the load balancer performs advanced routing actions, such
375371
* as URL rewrites and header transformations, before forwarding the request to the selected
376-
* backend. If routeAction specifies any weightedBackendServices, service must not be set.
377-
* Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one
378-
* of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic
379-
* Application Load Balancers only support the urlRewrite action within a route rule's
380-
* routeAction.
372+
* backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL
373+
* maps for classic Application Load Balancers only support the urlRewrite action within a route
374+
* rule's routeAction.
381375
* @return value or {@code null} for none
382376
*/
383377
public HttpRouteAction getRouteAction() {
@@ -387,11 +381,9 @@ public HttpRouteAction getRouteAction() {
387381
/**
388382
* In response to a matching matchRule, the load balancer performs advanced routing actions, such
389383
* as URL rewrites and header transformations, before forwarding the request to the selected
390-
* backend. If routeAction specifies any weightedBackendServices, service must not be set.
391-
* Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one
392-
* of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic
393-
* Application Load Balancers only support the urlRewrite action within a route rule's
394-
* routeAction.
384+
* backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL
385+
* maps for classic Application Load Balancers only support the urlRewrite action within a route
386+
* rule's routeAction.
395387
* @param routeAction routeAction or {@code null} for none
396388
*/
397389
public HttpRouteRule setRouteAction(HttpRouteAction routeAction) {
@@ -402,10 +394,8 @@ public HttpRouteRule setRouteAction(HttpRouteAction routeAction) {
402394
/**
403395
* The full or partial URL of the backend service resource to which traffic is directed if this
404396
* rule is matched. If routeAction is also specified, advanced routing actions, such as URL
405-
* rewrites, take effect before sending the request to the backend. However, if service is
406-
* specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction
407-
* specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect,
408-
* service or routeAction.weightedBackendService must be set.
397+
* rewrites, take effect before sending the request to the backend. Only one of urlRedirect,
398+
* service or routeAction.weightedBackendService can be set.
409399
* @return value or {@code null} for none
410400
*/
411401
public java.lang.String getService() {
@@ -415,10 +405,8 @@ public java.lang.String getService() {
415405
/**
416406
* The full or partial URL of the backend service resource to which traffic is directed if this
417407
* rule is matched. If routeAction is also specified, advanced routing actions, such as URL
418-
* rewrites, take effect before sending the request to the backend. However, if service is
419-
* specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction
420-
* specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect,
421-
* service or routeAction.weightedBackendService must be set.
408+
* rewrites, take effect before sending the request to the backend. Only one of urlRedirect,
409+
* service or routeAction.weightedBackendService can be set.
422410
* @param service service or {@code null} for none
423411
*/
424412
public HttpRouteRule setService(java.lang.String service) {
@@ -427,19 +415,19 @@ public HttpRouteRule setService(java.lang.String service) {
427415
}
428416

429417
/**
430-
* When this rule is matched, the request is redirected to a URL specified by urlRedirect. If
431-
* urlRedirect is specified, service or routeAction must not be set. Not supported when the URL
432-
* map is bound to a target gRPC proxy.
418+
* When this rule is matched, the request is redirected to a URL specified by urlRedirect. Only
419+
* one of urlRedirect, service or routeAction.weightedBackendService can be set. Not supported
420+
* when the URL map is bound to a target gRPC proxy.
433421
* @return value or {@code null} for none
434422
*/
435423
public HttpRedirectAction getUrlRedirect() {
436424
return urlRedirect;
437425
}
438426

439427
/**
440-
* When this rule is matched, the request is redirected to a URL specified by urlRedirect. If
441-
* urlRedirect is specified, service or routeAction must not be set. Not supported when the URL
442-
* map is bound to a target gRPC proxy.
428+
* When this rule is matched, the request is redirected to a URL specified by urlRedirect. Only
429+
* one of urlRedirect, service or routeAction.weightedBackendService can be set. Not supported
430+
* when the URL map is bound to a target gRPC proxy.
443431
* @param urlRedirect urlRedirect or {@code null} for none
444432
*/
445433
public HttpRouteRule setUrlRedirect(HttpRedirectAction urlRedirect) {

0 commit comments

Comments
 (0)