Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): [compute] Update the Java code generator (gapic-generator-java) to 2.37.0 #10447

Merged
merged 8 commits into from
Mar 4, 2024
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions java-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.32.0</version>
<version>26.33.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -260,7 +260,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-compute.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.45.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.46.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
* </tr>
* <tr>
* <td><p> AggregatedList</td>
* <td><p> Retrieves an aggregated list of accelerator types.</td>
* <td><p> Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.</td>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
Expand Down Expand Up @@ -218,7 +218,8 @@ public AcceleratorTypesStub getStub() {

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

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

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

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Retrieves an aggregated list of accelerator types.
* Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that
* you set the `returnPartialSuccess` parameter to `true`.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

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

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

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

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Retrieves an aggregated list of addresses.
* Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set
* the `returnPartialSuccess` parameter to `true`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -501,8 +504,6 @@ public final OperationFuture<Operation, Operation> deleteAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> deleteAsync(DeleteAddressRequest request) {
return deleteOperationCallable().futureCall(request);
}
Expand Down Expand Up @@ -726,8 +727,6 @@ public final OperationFuture<Operation, Operation> insertAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> insertAsync(InsertAddressRequest request) {
return insertOperationCallable().futureCall(request);
}
Expand Down Expand Up @@ -1013,8 +1012,6 @@ public final OperationFuture<Operation, Operation> moveAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> moveAsync(MoveAddressRequest request) {
return moveOperationCallable().futureCall(request);
}
Expand Down Expand Up @@ -1160,8 +1157,6 @@ public final OperationFuture<Operation, Operation> setLabelsAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> setLabelsAsync(
SetLabelsAddressRequest request) {
return setLabelsOperationCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

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

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

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

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Retrieves an aggregated list of autoscalers.
* Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set
* the `returnPartialSuccess` parameter to `true`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -398,7 +400,8 @@ public final AggregatedListPagedResponse aggregatedList(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Retrieves an aggregated list of autoscalers.
* Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set
* the `returnPartialSuccess` parameter to `true`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -504,8 +507,6 @@ public final OperationFuture<Operation, Operation> deleteAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> deleteAsync(DeleteAutoscalerRequest request) {
return deleteOperationCallable().futureCall(request);
}
Expand Down Expand Up @@ -729,8 +730,6 @@ public final OperationFuture<Operation, Operation> insertAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> insertAsync(InsertAutoscalerRequest request) {
return insertOperationCallable().futureCall(request);
}
Expand Down Expand Up @@ -1007,8 +1006,6 @@ public final OperationFuture<Operation, Operation> patchAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> patchAsync(PatchAutoscalerRequest request) {
return patchOperationCallable().futureCall(request);
}
Expand Down Expand Up @@ -1143,8 +1140,6 @@ public final OperationFuture<Operation, Operation> updateAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> updateAsync(UpdateAutoscalerRequest request) {
return updateOperationCallable().futureCall(request);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.longrunning.OperationFuture;
import com.google.api.gax.paging.AbstractFixedSizeCollection;
Expand Down Expand Up @@ -447,8 +446,6 @@ public final OperationFuture<Operation, Operation> addSignedUrlKeyAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> addSignedUrlKeyAsync(
AddSignedUrlKeyBackendBucketRequest request) {
return addSignedUrlKeyOperationCallable().futureCall(request);
Expand Down Expand Up @@ -577,8 +574,6 @@ public final OperationFuture<Operation, Operation> deleteAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> deleteAsync(
DeleteBackendBucketRequest request) {
return deleteOperationCallable().futureCall(request);
Expand Down Expand Up @@ -709,8 +704,6 @@ public final OperationFuture<Operation, Operation> deleteSignedUrlKeyAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> deleteSignedUrlKeyAsync(
DeleteSignedUrlKeyBackendBucketRequest request) {
return deleteSignedUrlKeyOperationCallable().futureCall(request);
Expand Down Expand Up @@ -1024,8 +1017,6 @@ public final OperationFuture<Operation, Operation> insertAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> insertAsync(
InsertBackendBucketRequest request) {
return insertOperationCallable().futureCall(request);
Expand Down Expand Up @@ -1299,8 +1290,6 @@ public final OperationFuture<Operation, Operation> patchAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> patchAsync(PatchBackendBucketRequest request) {
return patchOperationCallable().futureCall(request);
}
Expand Down Expand Up @@ -1439,8 +1428,6 @@ public final OperationFuture<Operation, Operation> setEdgeSecurityPolicyAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> setEdgeSecurityPolicyAsync(
SetEdgeSecurityPolicyBackendBucketRequest request) {
return setEdgeSecurityPolicyOperationCallable().futureCall(request);
Expand Down Expand Up @@ -1772,8 +1759,6 @@ public final OperationFuture<Operation, Operation> updateAsync(
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Operation, Operation> updateAsync(
UpdateBackendBucketRequest request) {
return updateOperationCallable().futureCall(request);
Expand Down
Loading
Loading