Skip to content

Commit ca0d2db

Browse files
feat: [compute] Update Compute Engine API to revision 20230701 (#821) (#9628)
* feat: Update Compute Engine API to revision 20230701 (#821) Source-Link: googleapis/googleapis@761c3cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/cac56a0edd1179e929c31ebeaae8487f388dc109 Copy-Tag: eyJwIjoiamF2YS1jb21wdXRlLy5Pd2xCb3QueWFtbCIsImgiOiJjYWM1NmEwZWRkMTE3OWU5MjljMzFlYmVhYWU4NDg3ZjM4OGRjMTA5In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent be099c7 commit ca0d2db

33 files changed

+14774
-12384
lines changed

java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectsClient.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,8 @@ public final UnaryCallable<MoveDiskProjectRequest, Operation> moveDiskCallable()
12621262
* Moving VMs or disks by using this method might cause unexpected behavior. For more information,
12631263
* see the [known
12641264
* issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
1265+
* [Deprecated] This method is deprecated. See [moving instance across
1266+
* zones](/compute/docs/instances/moving-instance-across-zones) instead.
12651267
*
12661268
* <p>Sample code:
12671269
*
@@ -1299,6 +1301,8 @@ public final OperationFuture<Operation, Operation> moveInstanceAsync(
12991301
* Moving VMs or disks by using this method might cause unexpected behavior. For more information,
13001302
* see the [known
13011303
* issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
1304+
* [Deprecated] This method is deprecated. See [moving instance across
1305+
* zones](/compute/docs/instances/moving-instance-across-zones) instead.
13021306
*
13031307
* <p>Sample code:
13041308
*
@@ -1335,6 +1339,8 @@ public final OperationFuture<Operation, Operation> moveInstanceAsync(
13351339
* Moving VMs or disks by using this method might cause unexpected behavior. For more information,
13361340
* see the [known
13371341
* issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
1342+
* [Deprecated] This method is deprecated. See [moving instance across
1343+
* zones](/compute/docs/instances/moving-instance-across-zones) instead.
13381344
*
13391345
* <p>Sample code:
13401346
*
@@ -1369,6 +1375,8 @@ public final OperationFuture<Operation, Operation> moveInstanceAsync(
13691375
* Moving VMs or disks by using this method might cause unexpected behavior. For more information,
13701376
* see the [known
13711377
* issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).
1378+
* [Deprecated] This method is deprecated. See [moving instance across
1379+
* zones](/compute/docs/instances/moving-instance-across-zones) instead.
13721380
*
13731381
* <p>Sample code:
13741382
*

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagersClientTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,8 @@ public void getTest() throws Exception {
660660
.setFingerprint("fingerprint-1375934236")
661661
.setId(3355)
662662
.setInstanceGroup("instanceGroup-1404696854")
663+
.setInstanceLifecyclePolicy(
664+
InstanceGroupManagerInstanceLifecyclePolicy.newBuilder().build())
663665
.setInstanceTemplate("instanceTemplate1009541167")
664666
.setKind("kind3292052")
665667
.setListManagedInstancesResults("listManagedInstancesResults1836889817")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersClientTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,8 @@ public void getTest() throws Exception {
609609
.setFingerprint("fingerprint-1375934236")
610610
.setId(3355)
611611
.setInstanceGroup("instanceGroup-1404696854")
612+
.setInstanceLifecyclePolicy(
613+
InstanceGroupManagerInstanceLifecyclePolicy.newBuilder().build())
612614
.setInstanceTemplate("instanceTemplate1009541167")
613615
.setKind("kind3292052")
614616
.setListManagedInstancesResults("listManagedInstancesResults1836889817")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpProxiesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ public void getTest() throws Exception {
155155
.setCreationTimestamp("creationTimestamp-370203401")
156156
.setDescription("description-1724546052")
157157
.setFingerprint("fingerprint-1375934236")
158+
.setHttpKeepAliveTimeoutSec(2057938782)
158159
.setId(3355)
159160
.setKind("kind3292052")
160161
.setName("name3373707")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public void getTest() throws Exception {
157157
.setCreationTimestamp("creationTimestamp-370203401")
158158
.setDescription("description-1724546052")
159159
.setFingerprint("fingerprint-1375934236")
160+
.setHttpKeepAliveTimeoutSec(2057938782)
160161
.setId(3355)
161162
.setKind("kind3292052")
162163
.setName("name3373707")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ public void getTest() throws Exception {
158158
.setName("name3373707")
159159
.setNetwork("network1843485230")
160160
.setNextHopGateway("nextHopGateway45033742")
161+
.setNextHopHub("nextHopHub-1583649601")
161162
.setNextHopIlb("nextHopIlb-1583648919")
162163
.setNextHopInstance("nextHopInstance-776074485")
163164
.setNextHopIp("nextHopIp1195840541")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpProxiesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public void getTest() throws Exception {
208208
.setCreationTimestamp("creationTimestamp-370203401")
209209
.setDescription("description-1724546052")
210210
.setFingerprint("fingerprint-1375934236")
211+
.setHttpKeepAliveTimeoutSec(2057938782)
211212
.setId(3355)
212213
.setKind("kind3292052")
213214
.setName("name3373707")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/TargetHttpsProxiesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ public void getTest() throws Exception {
211211
.setCreationTimestamp("creationTimestamp-370203401")
212212
.setDescription("description-1724546052")
213213
.setFingerprint("fingerprint-1375934236")
214+
.setHttpKeepAliveTimeoutSec(2057938782)
214215
.setId(3355)
215216
.setKind("kind3292052")
216217
.setName("name3373707")

java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendService.java

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

java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceOrBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ java.lang.String getMetadatasOrDefault(
11121112
*
11131113
*
11141114
* <pre>
1115-
* Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1115+
* Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
11161116
* </pre>
11171117
*
11181118
* <code>optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;</code>
@@ -1124,7 +1124,7 @@ java.lang.String getMetadatasOrDefault(
11241124
*
11251125
*
11261126
* <pre>
1127-
* Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1127+
* Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
11281128
* </pre>
11291129
*
11301130
* <code>optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;</code>
@@ -1136,7 +1136,7 @@ java.lang.String getMetadatasOrDefault(
11361136
*
11371137
*
11381138
* <pre>
1139-
* Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1139+
* Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
11401140
* </pre>
11411141
*
11421142
* <code>optional .google.cloud.compute.v1.OutlierDetection outlier_detection = 354625086;</code>

0 commit comments

Comments
 (0)