Skip to content

Commit c87fa39

Browse files
fix(deps): [compute] Update the Java code generator (gapic-generator-java) to 2.37.0 (googleapis#10447)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 611816371 Source-Link: https://togithub.com/googleapis/googleapis/commit/2a40f63ea714c7f4c6856a5db4d1f3cc7d4c4b18 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d30ff0767777b381fb1617f67a90e3abd3bdc6dc Copy-Tag: eyJwIjoiamF2YS1jb21wdXRlLy5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0= BEGIN_NESTED_COMMIT feat: [compute] Update Compute Engine API to revision 20240220 (googleapis#886) Source-Link: https://togithub.com/googleapis/googleapis/commit/0df0f51c86a9316e5bff871ec9ba79de1050b29c Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/b0b8f147a77162bbc603cc1e04752a3621e12eb5 Copy-Tag: eyJwIjoiamF2YS1jb21wdXRlLy5Pd2xCb3QueWFtbCIsImgiOiJiMGI4ZjE0N2E3NzE2MmJiYzYwM2NjMWUwNDc1MmEzNjIxZTEyZWI1In0= END_NESTED_COMMIT
1 parent 5a3bf2b commit c87fa39

File tree

814 files changed

+76970
-19752
lines changed

Some content is hidden

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

814 files changed

+76970
-19752
lines changed

java-compute/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.32.0</version>
23+
<version>26.33.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -260,7 +260,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
260260
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
261261
[stability-image]: https://img.shields.io/badge/stability-stable-green
262262
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-compute.svg
263-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.45.0
263+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.46.0
264264
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
265265
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
266266
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
* </tr>
7070
* <tr>
7171
* <td><p> AggregatedList</td>
72-
* <td><p> Retrieves an aggregated list of accelerator types.</td>
72+
* <td><p> Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.</td>
7373
* <td>
7474
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
7575
* <ul>
@@ -218,7 +218,8 @@ public AcceleratorTypesStub getStub() {
218218

219219
// AUTO-GENERATED DOCUMENTATION AND METHOD.
220220
/**
221-
* Retrieves an aggregated list of accelerator types.
221+
* Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that
222+
* you set the `returnPartialSuccess` parameter to `true`.
222223
*
223224
* <p>Sample code:
224225
*
@@ -248,7 +249,8 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
248249

249250
// AUTO-GENERATED DOCUMENTATION AND METHOD.
250251
/**
251-
* Retrieves an aggregated list of accelerator types.
252+
* Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that
253+
* you set the `returnPartialSuccess` parameter to `true`.
252254
*
253255
* <p>Sample code:
254256
*
@@ -287,7 +289,8 @@ public final AggregatedListPagedResponse aggregatedList(
287289

288290
// AUTO-GENERATED DOCUMENTATION AND METHOD.
289291
/**
290-
* Retrieves an aggregated list of accelerator types.
292+
* Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that
293+
* you set the `returnPartialSuccess` parameter to `true`.
291294
*
292295
* <p>Sample code:
293296
*
@@ -325,7 +328,8 @@ public final AggregatedListPagedResponse aggregatedList(
325328

326329
// AUTO-GENERATED DOCUMENTATION AND METHOD.
327330
/**
328-
* Retrieves an aggregated list of accelerator types.
331+
* Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that
332+
* you set the `returnPartialSuccess` parameter to `true`.
329333
*
330334
* <p>Sample code:
331335
*

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

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import com.google.api.core.ApiFuture;
2020
import com.google.api.core.ApiFutures;
21-
import com.google.api.core.BetaApi;
2221
import com.google.api.gax.core.BackgroundResource;
2322
import com.google.api.gax.longrunning.OperationFuture;
2423
import com.google.api.gax.paging.AbstractFixedSizeCollection;
@@ -69,7 +68,7 @@
6968
* </tr>
7069
* <tr>
7170
* <td><p> AggregatedList</td>
72-
* <td><p> Retrieves an aggregated list of addresses.</td>
71+
* <td><p> Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.</td>
7372
* <td>
7473
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
7574
* <ul>
@@ -290,7 +289,8 @@ public AddressesStub getStub() {
290289

291290
// AUTO-GENERATED DOCUMENTATION AND METHOD.
292291
/**
293-
* Retrieves an aggregated list of addresses.
292+
* Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set
293+
* the `returnPartialSuccess` parameter to `true`.
294294
*
295295
* <p>Sample code:
296296
*
@@ -320,7 +320,8 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
320320

321321
// AUTO-GENERATED DOCUMENTATION AND METHOD.
322322
/**
323-
* Retrieves an aggregated list of addresses.
323+
* Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set
324+
* the `returnPartialSuccess` parameter to `true`.
324325
*
325326
* <p>Sample code:
326327
*
@@ -358,7 +359,8 @@ public final AggregatedListPagedResponse aggregatedList(AggregatedListAddressesR
358359

359360
// AUTO-GENERATED DOCUMENTATION AND METHOD.
360361
/**
361-
* Retrieves an aggregated list of addresses.
362+
* Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set
363+
* the `returnPartialSuccess` parameter to `true`.
362364
*
363365
* <p>Sample code:
364366
*
@@ -396,7 +398,8 @@ public final AggregatedListPagedResponse aggregatedList(AggregatedListAddressesR
396398

397399
// AUTO-GENERATED DOCUMENTATION AND METHOD.
398400
/**
399-
* Retrieves an aggregated list of addresses.
401+
* Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set
402+
* the `returnPartialSuccess` parameter to `true`.
400403
*
401404
* <p>Sample code:
402405
*
@@ -501,8 +504,6 @@ public final OperationFuture<Operation, Operation> deleteAsync(
501504
* @param request The request object containing all of the parameters for the API call.
502505
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
503506
*/
504-
@BetaApi(
505-
"The surface for long-running operations is not stable yet and may change in the future.")
506507
public final OperationFuture<Operation, Operation> deleteAsync(DeleteAddressRequest request) {
507508
return deleteOperationCallable().futureCall(request);
508509
}
@@ -726,8 +727,6 @@ public final OperationFuture<Operation, Operation> insertAsync(
726727
* @param request The request object containing all of the parameters for the API call.
727728
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
728729
*/
729-
@BetaApi(
730-
"The surface for long-running operations is not stable yet and may change in the future.")
731730
public final OperationFuture<Operation, Operation> insertAsync(InsertAddressRequest request) {
732731
return insertOperationCallable().futureCall(request);
733732
}
@@ -1013,8 +1012,6 @@ public final OperationFuture<Operation, Operation> moveAsync(
10131012
* @param request The request object containing all of the parameters for the API call.
10141013
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
10151014
*/
1016-
@BetaApi(
1017-
"The surface for long-running operations is not stable yet and may change in the future.")
10181015
public final OperationFuture<Operation, Operation> moveAsync(MoveAddressRequest request) {
10191016
return moveOperationCallable().futureCall(request);
10201017
}
@@ -1160,8 +1157,6 @@ public final OperationFuture<Operation, Operation> setLabelsAsync(
11601157
* @param request The request object containing all of the parameters for the API call.
11611158
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
11621159
*/
1163-
@BetaApi(
1164-
"The surface for long-running operations is not stable yet and may change in the future.")
11651160
public final OperationFuture<Operation, Operation> setLabelsAsync(
11661161
SetLabelsAddressRequest request) {
11671162
return setLabelsOperationCallable().futureCall(request);

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

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import com.google.api.core.ApiFuture;
2020
import com.google.api.core.ApiFutures;
21-
import com.google.api.core.BetaApi;
2221
import com.google.api.gax.core.BackgroundResource;
2322
import com.google.api.gax.longrunning.OperationFuture;
2423
import com.google.api.gax.paging.AbstractFixedSizeCollection;
@@ -69,7 +68,7 @@
6968
* </tr>
7069
* <tr>
7170
* <td><p> AggregatedList</td>
72-
* <td><p> Retrieves an aggregated list of autoscalers.</td>
71+
* <td><p> Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.</td>
7372
* <td>
7473
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
7574
* <ul>
@@ -291,7 +290,8 @@ public AutoscalersStub getStub() {
291290

292291
// AUTO-GENERATED DOCUMENTATION AND METHOD.
293292
/**
294-
* Retrieves an aggregated list of autoscalers.
293+
* Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set
294+
* the `returnPartialSuccess` parameter to `true`.
295295
*
296296
* <p>Sample code:
297297
*
@@ -321,7 +321,8 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
321321

322322
// AUTO-GENERATED DOCUMENTATION AND METHOD.
323323
/**
324-
* Retrieves an aggregated list of autoscalers.
324+
* Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set
325+
* the `returnPartialSuccess` parameter to `true`.
325326
*
326327
* <p>Sample code:
327328
*
@@ -360,7 +361,8 @@ public final AggregatedListPagedResponse aggregatedList(
360361

361362
// AUTO-GENERATED DOCUMENTATION AND METHOD.
362363
/**
363-
* Retrieves an aggregated list of autoscalers.
364+
* Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set
365+
* the `returnPartialSuccess` parameter to `true`.
364366
*
365367
* <p>Sample code:
366368
*
@@ -398,7 +400,8 @@ public final AggregatedListPagedResponse aggregatedList(
398400

399401
// AUTO-GENERATED DOCUMENTATION AND METHOD.
400402
/**
401-
* Retrieves an aggregated list of autoscalers.
403+
* Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set
404+
* the `returnPartialSuccess` parameter to `true`.
402405
*
403406
* <p>Sample code:
404407
*
@@ -504,8 +507,6 @@ public final OperationFuture<Operation, Operation> deleteAsync(
504507
* @param request The request object containing all of the parameters for the API call.
505508
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
506509
*/
507-
@BetaApi(
508-
"The surface for long-running operations is not stable yet and may change in the future.")
509510
public final OperationFuture<Operation, Operation> deleteAsync(DeleteAutoscalerRequest request) {
510511
return deleteOperationCallable().futureCall(request);
511512
}
@@ -729,8 +730,6 @@ public final OperationFuture<Operation, Operation> insertAsync(
729730
* @param request The request object containing all of the parameters for the API call.
730731
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
731732
*/
732-
@BetaApi(
733-
"The surface for long-running operations is not stable yet and may change in the future.")
734733
public final OperationFuture<Operation, Operation> insertAsync(InsertAutoscalerRequest request) {
735734
return insertOperationCallable().futureCall(request);
736735
}
@@ -1007,8 +1006,6 @@ public final OperationFuture<Operation, Operation> patchAsync(
10071006
* @param request The request object containing all of the parameters for the API call.
10081007
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
10091008
*/
1010-
@BetaApi(
1011-
"The surface for long-running operations is not stable yet and may change in the future.")
10121009
public final OperationFuture<Operation, Operation> patchAsync(PatchAutoscalerRequest request) {
10131010
return patchOperationCallable().futureCall(request);
10141011
}
@@ -1143,8 +1140,6 @@ public final OperationFuture<Operation, Operation> updateAsync(
11431140
* @param request The request object containing all of the parameters for the API call.
11441141
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
11451142
*/
1146-
@BetaApi(
1147-
"The surface for long-running operations is not stable yet and may change in the future.")
11481143
public final OperationFuture<Operation, Operation> updateAsync(UpdateAutoscalerRequest request) {
11491144
return updateOperationCallable().futureCall(request);
11501145
}

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import com.google.api.core.ApiFuture;
2020
import com.google.api.core.ApiFutures;
21-
import com.google.api.core.BetaApi;
2221
import com.google.api.gax.core.BackgroundResource;
2322
import com.google.api.gax.longrunning.OperationFuture;
2423
import com.google.api.gax.paging.AbstractFixedSizeCollection;
@@ -447,8 +446,6 @@ public final OperationFuture<Operation, Operation> addSignedUrlKeyAsync(
447446
* @param request The request object containing all of the parameters for the API call.
448447
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
449448
*/
450-
@BetaApi(
451-
"The surface for long-running operations is not stable yet and may change in the future.")
452449
public final OperationFuture<Operation, Operation> addSignedUrlKeyAsync(
453450
AddSignedUrlKeyBackendBucketRequest request) {
454451
return addSignedUrlKeyOperationCallable().futureCall(request);
@@ -577,8 +574,6 @@ public final OperationFuture<Operation, Operation> deleteAsync(
577574
* @param request The request object containing all of the parameters for the API call.
578575
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
579576
*/
580-
@BetaApi(
581-
"The surface for long-running operations is not stable yet and may change in the future.")
582577
public final OperationFuture<Operation, Operation> deleteAsync(
583578
DeleteBackendBucketRequest request) {
584579
return deleteOperationCallable().futureCall(request);
@@ -709,8 +704,6 @@ public final OperationFuture<Operation, Operation> deleteSignedUrlKeyAsync(
709704
* @param request The request object containing all of the parameters for the API call.
710705
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
711706
*/
712-
@BetaApi(
713-
"The surface for long-running operations is not stable yet and may change in the future.")
714707
public final OperationFuture<Operation, Operation> deleteSignedUrlKeyAsync(
715708
DeleteSignedUrlKeyBackendBucketRequest request) {
716709
return deleteSignedUrlKeyOperationCallable().futureCall(request);
@@ -1024,8 +1017,6 @@ public final OperationFuture<Operation, Operation> insertAsync(
10241017
* @param request The request object containing all of the parameters for the API call.
10251018
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
10261019
*/
1027-
@BetaApi(
1028-
"The surface for long-running operations is not stable yet and may change in the future.")
10291020
public final OperationFuture<Operation, Operation> insertAsync(
10301021
InsertBackendBucketRequest request) {
10311022
return insertOperationCallable().futureCall(request);
@@ -1299,8 +1290,6 @@ public final OperationFuture<Operation, Operation> patchAsync(
12991290
* @param request The request object containing all of the parameters for the API call.
13001291
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13011292
*/
1302-
@BetaApi(
1303-
"The surface for long-running operations is not stable yet and may change in the future.")
13041293
public final OperationFuture<Operation, Operation> patchAsync(PatchBackendBucketRequest request) {
13051294
return patchOperationCallable().futureCall(request);
13061295
}
@@ -1439,8 +1428,6 @@ public final OperationFuture<Operation, Operation> setEdgeSecurityPolicyAsync(
14391428
* @param request The request object containing all of the parameters for the API call.
14401429
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14411430
*/
1442-
@BetaApi(
1443-
"The surface for long-running operations is not stable yet and may change in the future.")
14441431
public final OperationFuture<Operation, Operation> setEdgeSecurityPolicyAsync(
14451432
SetEdgeSecurityPolicyBackendBucketRequest request) {
14461433
return setEdgeSecurityPolicyOperationCallable().futureCall(request);
@@ -1772,8 +1759,6 @@ public final OperationFuture<Operation, Operation> updateAsync(
17721759
* @param request The request object containing all of the parameters for the API call.
17731760
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
17741761
*/
1775-
@BetaApi(
1776-
"The surface for long-running operations is not stable yet and may change in the future.")
17771762
public final OperationFuture<Operation, Operation> updateAsync(
17781763
UpdateBackendBucketRequest request) {
17791764
return updateOperationCallable().futureCall(request);

0 commit comments

Comments
 (0)