Skip to content

Commit

Permalink
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…
Browse files Browse the repository at this point in the history
…ator_java versions (#271)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 9, 2022
1 parent 3cfa76a commit 859720a
Show file tree
Hide file tree
Showing 103 changed files with 1,370 additions and 593 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@
* <p>For example, to set the total timeout of getMembership to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* GkeHubSettings.Builder gkeHubSettingsBuilder = GkeHubSettings.newBuilder();
* gkeHubSettingsBuilder
* .getMembershipSettings()
* .setRetrySettings(
* gkeHubSettingsBuilder
* .getMembershipSettings()
* .getRetrySettings()
* .toBuilder()
* gkeHubSettingsBuilder.getMembershipSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* GkeHubSettings gkeHubSettings = gkeHubSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@
* <p>Sample for GkeHubClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* MembershipName name = MembershipName.of("[PROJECT]", "[LOCATION]", "[MEMBERSHIP]");
* Membership response = gkeHubClient.getMembership(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@
* <p>For example, to set the total timeout of getMembership to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* GkeHubStubSettings.Builder gkeHubSettingsBuilder = GkeHubStubSettings.newBuilder();
* gkeHubSettingsBuilder
* .getMembershipSettings()
* .setRetrySettings(
* gkeHubSettingsBuilder
* .getMembershipSettings()
* .getRetrySettings()
* .toBuilder()
* gkeHubSettingsBuilder.getMembershipSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* GkeHubStubSettings gkeHubSettings = gkeHubSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public class HttpJsonGkeHubStub extends GkeHubStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("resource", request.getResource()))
.toBody("resource", request.getResource(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -289,7 +289,7 @@ public class HttpJsonGkeHubStub extends GkeHubStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("resource", request.getResource()))
.toBody("resource", request.getResource(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -405,7 +405,7 @@ public class HttpJsonGkeHubStub extends GkeHubStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("resource", request.getResource()))
.toBody("resource", request.getResource(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -446,7 +446,7 @@ public class HttpJsonGkeHubStub extends GkeHubStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("resource", request.getResource()))
.toBody("resource", request.getResource(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down
Loading

0 comments on commit 859720a

Please sign in to comment.