Skip to content

Commit d08d12e

Browse files
chore: regenerate compute client
1 parent d757b96 commit d08d12e

File tree

172 files changed

+43974
-15779
lines changed

Some content is hidden

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

172 files changed

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

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

Lines changed: 2926 additions & 163 deletions
Large diffs are not rendered by default.

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

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public final class BackendService extends com.google.api.client.json.GenericJson
107107
* are added/removed from the destination service. This field specifies parameters that control
108108
* consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or
109109
* RING_HASH. This field is applicable to either: - A regional backend service with the
110-
* service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to
110+
* service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
111111
* INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to
112112
* INTERNAL_SELF_MANAGED.
113113
* The value may be {@code null}.
@@ -336,7 +336,7 @@ public final class BackendService extends com.google.api.client.json.GenericJson
336336
* balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host
337337
* selection times. For more information about Maglev, see
338338
* https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional
339-
* backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
339+
* backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
340340
* load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the
341341
* load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
342342
* sessionAffinity is not configured—that is, if session affinity remains at the default value of
@@ -394,7 +394,8 @@ public final class BackendService extends com.google.api.client.json.GenericJson
394394
* The URL of the network to which this backend service belongs. This field must be set for
395395
* Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External
396396
* Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only
397-
* be specified when the load balancing scheme is set to INTERNAL.
397+
* be specified when the load balancing scheme is set to INTERNAL, or when the load balancing
398+
* scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
398399
* The value may be {@code null}.
399400
*/
400401
@com.google.api.client.util.Key
@@ -424,9 +425,9 @@ public final class BackendService extends com.google.api.client.json.GenericJson
424425
* managed regional API endpoints or managed services published using Private Service Connect
425426
* Applicable backend service types can be: - A global backend service with the
426427
* loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend
427-
* service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to
428-
* INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the
429-
* backend service is referenced by a URL map that is bound to target gRPC proxy that has
428+
* service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set
429+
* to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when
430+
* the backend service is referenced by a URL map that is bound to target gRPC proxy that has
430431
* validateForProxyless field set to true.
431432
* The value may be {@code null}.
432433
*/
@@ -455,10 +456,10 @@ public final class BackendService extends com.google.api.client.json.GenericJson
455456

456457
/**
457458
* The protocol this BackendService uses to communicate with backends. Possible values are HTTP,
458-
* HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director
459-
* configuration. Refer to the documentation for the load balancers or for Traffic Director for
460-
* more information. Must be set to GRPC when the backend service is referenced by a URL map that
461-
* is bound to target gRPC proxy.
459+
* HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic
460+
* Director configuration. Refer to the documentation for the load balancers or for Traffic
461+
* Director for more information. Must be set to GRPC when the backend service is referenced by a
462+
* URL map that is bound to target gRPC proxy.
462463
* The value may be {@code null}.
463464
*/
464465
@com.google.api.client.util.Key
@@ -726,7 +727,7 @@ public BackendService setConnectionTrackingPolicy(BackendServiceConnectionTracki
726727
* are added/removed from the destination service. This field specifies parameters that control
727728
* consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or
728729
* RING_HASH. This field is applicable to either: - A regional backend service with the
729-
* service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to
730+
* service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
730731
* INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to
731732
* INTERNAL_SELF_MANAGED.
732733
* @return value or {@code null} for none
@@ -742,7 +743,7 @@ public ConsistentHashLoadBalancerSettings getConsistentHash() {
742743
* are added/removed from the destination service. This field specifies parameters that control
743744
* consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or
744745
* RING_HASH. This field is applicable to either: - A regional backend service with the
745-
* service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to
746+
* service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
746747
* INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to
747748
* INTERNAL_SELF_MANAGED.
748749
* @param consistentHash consistentHash or {@code null} for none
@@ -1276,7 +1277,7 @@ public BackendService setLocalityLbPolicies(java.util.List<BackendServiceLocalit
12761277
* balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host
12771278
* selection times. For more information about Maglev, see
12781279
* https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional
1279-
* backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
1280+
* backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
12801281
* load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the
12811282
* load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
12821283
* sessionAffinity is not configured—that is, if session affinity remains at the default value of
@@ -1305,7 +1306,7 @@ public java.lang.String getLocalityLbPolicy() {
13051306
* balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host
13061307
* selection times. For more information about Maglev, see
13071308
* https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional
1308-
* backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
1309+
* backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
13091310
* load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the
13101311
* load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
13111312
* sessionAffinity is not configured—that is, if session affinity remains at the default value of
@@ -1417,7 +1418,8 @@ public BackendService setName(java.lang.String name) {
14171418
* The URL of the network to which this backend service belongs. This field must be set for
14181419
* Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External
14191420
* Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only
1420-
* be specified when the load balancing scheme is set to INTERNAL.
1421+
* be specified when the load balancing scheme is set to INTERNAL, or when the load balancing
1422+
* scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
14211423
* @return value or {@code null} for none
14221424
*/
14231425
public java.lang.String getNetwork() {
@@ -1428,7 +1430,8 @@ public java.lang.String getNetwork() {
14281430
* The URL of the network to which this backend service belongs. This field must be set for
14291431
* Internal Passthrough Network Load Balancers when the haPolicy is enabled, and for External
14301432
* Passthrough Network Load Balancers when the haPolicy fastIpMove is enabled. This field can only
1431-
* be specified when the load balancing scheme is set to INTERNAL.
1433+
* be specified when the load balancing scheme is set to INTERNAL, or when the load balancing
1434+
* scheme is set to EXTERNAL and haPolicy fastIpMove is enabled.
14321435
* @param network network or {@code null} for none
14331436
*/
14341437
public BackendService setNetwork(java.lang.String network) {
@@ -1471,9 +1474,9 @@ public BackendService setNetworkPassThroughLbTrafficPolicy(BackendServiceNetwork
14711474
* managed regional API endpoints or managed services published using Private Service Connect
14721475
* Applicable backend service types can be: - A global backend service with the
14731476
* loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend
1474-
* service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to
1475-
* INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the
1476-
* backend service is referenced by a URL map that is bound to target gRPC proxy that has
1477+
* service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set
1478+
* to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when
1479+
* the backend service is referenced by a URL map that is bound to target gRPC proxy that has
14771480
* validateForProxyless field set to true.
14781481
* @return value or {@code null} for none
14791482
*/
@@ -1497,9 +1500,9 @@ public OutlierDetection getOutlierDetection() {
14971500
* managed regional API endpoints or managed services published using Private Service Connect
14981501
* Applicable backend service types can be: - A global backend service with the
14991502
* loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend
1500-
* service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to
1501-
* INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the
1502-
* backend service is referenced by a URL map that is bound to target gRPC proxy that has
1503+
* service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set
1504+
* to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when
1505+
* the backend service is referenced by a URL map that is bound to target gRPC proxy that has
15031506
* validateForProxyless field set to true.
15041507
* @param outlierDetection outlierDetection or {@code null} for none
15051508
*/
@@ -1556,10 +1559,10 @@ public BackendService setPortName(java.lang.String portName) {
15561559

15571560
/**
15581561
* The protocol this BackendService uses to communicate with backends. Possible values are HTTP,
1559-
* HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director
1560-
* configuration. Refer to the documentation for the load balancers or for Traffic Director for
1561-
* more information. Must be set to GRPC when the backend service is referenced by a URL map that
1562-
* is bound to target gRPC proxy.
1562+
* HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic
1563+
* Director configuration. Refer to the documentation for the load balancers or for Traffic
1564+
* Director for more information. Must be set to GRPC when the backend service is referenced by a
1565+
* URL map that is bound to target gRPC proxy.
15631566
* @return value or {@code null} for none
15641567
*/
15651568
public java.lang.String getProtocol() {
@@ -1568,10 +1571,10 @@ public java.lang.String getProtocol() {
15681571

15691572
/**
15701573
* The protocol this BackendService uses to communicate with backends. Possible values are HTTP,
1571-
* HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director
1572-
* configuration. Refer to the documentation for the load balancers or for Traffic Director for
1573-
* more information. Must be set to GRPC when the backend service is referenced by a URL map that
1574-
* is bound to target gRPC proxy.
1574+
* HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic
1575+
* Director configuration. Refer to the documentation for the load balancers or for Traffic
1576+
* Director for more information. Must be set to GRPC when the backend service is referenced by a
1577+
* URL map that is bound to target gRPC proxy.
15751578
* @param protocol protocol or {@code null} for none
15761579
*/
15771580
public BackendService setProtocol(java.lang.String protocol) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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+
* A request to provide Assistant Scores. These scores determine VM obtainability and preemption
21+
* likelihood.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class CapacityAdviceRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Policy specifying the distribution of instances across zones within the requested region.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private CapacityAdviceRequestDistributionPolicy distributionPolicy;
39+
40+
/**
41+
* Policy for instance selectors.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private CapacityAdviceRequestInstanceFlexibilityPolicy instanceFlexibilityPolicy;
46+
47+
/**
48+
* Instance properties for this request.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private CapacityAdviceRequestInstanceProperties instanceProperties;
53+
54+
/**
55+
* Policy specifying the distribution of instances across zones within the requested region.
56+
* @return value or {@code null} for none
57+
*/
58+
public CapacityAdviceRequestDistributionPolicy getDistributionPolicy() {
59+
return distributionPolicy;
60+
}
61+
62+
/**
63+
* Policy specifying the distribution of instances across zones within the requested region.
64+
* @param distributionPolicy distributionPolicy or {@code null} for none
65+
*/
66+
public CapacityAdviceRequest setDistributionPolicy(CapacityAdviceRequestDistributionPolicy distributionPolicy) {
67+
this.distributionPolicy = distributionPolicy;
68+
return this;
69+
}
70+
71+
/**
72+
* Policy for instance selectors.
73+
* @return value or {@code null} for none
74+
*/
75+
public CapacityAdviceRequestInstanceFlexibilityPolicy getInstanceFlexibilityPolicy() {
76+
return instanceFlexibilityPolicy;
77+
}
78+
79+
/**
80+
* Policy for instance selectors.
81+
* @param instanceFlexibilityPolicy instanceFlexibilityPolicy or {@code null} for none
82+
*/
83+
public CapacityAdviceRequest setInstanceFlexibilityPolicy(CapacityAdviceRequestInstanceFlexibilityPolicy instanceFlexibilityPolicy) {
84+
this.instanceFlexibilityPolicy = instanceFlexibilityPolicy;
85+
return this;
86+
}
87+
88+
/**
89+
* Instance properties for this request.
90+
* @return value or {@code null} for none
91+
*/
92+
public CapacityAdviceRequestInstanceProperties getInstanceProperties() {
93+
return instanceProperties;
94+
}
95+
96+
/**
97+
* Instance properties for this request.
98+
* @param instanceProperties instanceProperties or {@code null} for none
99+
*/
100+
public CapacityAdviceRequest setInstanceProperties(CapacityAdviceRequestInstanceProperties instanceProperties) {
101+
this.instanceProperties = instanceProperties;
102+
return this;
103+
}
104+
105+
@Override
106+
public CapacityAdviceRequest set(String fieldName, Object value) {
107+
return (CapacityAdviceRequest) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public CapacityAdviceRequest clone() {
112+
return (CapacityAdviceRequest) super.clone();
113+
}
114+
115+
}

0 commit comments

Comments
 (0)