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 (#202)

- [ ] 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 6f27008 commit 9720ded
Show file tree
Hide file tree
Showing 98 changed files with 911 additions and 401 deletions.
6 changes: 3 additions & 3 deletions java-data-fusion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-data-fusion</artifactId>
<version>1.3.1</version>
<version>1.3.2</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-data-fusion:1.3.1'
implementation 'com.google.cloud:google-cloud-data-fusion:1.3.2'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.3.1"
libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.3.2"
```

## Authentication
Expand Down

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 getInstance 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
* DataFusionSettings.Builder dataFusionSettingsBuilder = DataFusionSettings.newBuilder();
* dataFusionSettingsBuilder
* .getInstanceSettings()
* .setRetrySettings(
* dataFusionSettingsBuilder
* .getInstanceSettings()
* .getRetrySettings()
* .toBuilder()
* dataFusionSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataFusionSettings dataFusionSettings = dataFusionSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
* <p>Sample for DataFusionClient:
*
* <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 (DataFusionClient dataFusionClient = DataFusionClient.create()) {
* GetInstanceRequest request =
* GetInstanceRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,16 @@
* <p>For example, to set the total timeout of getInstance 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
* DataFusionStubSettings.Builder dataFusionSettingsBuilder = DataFusionStubSettings.newBuilder();
* dataFusionSettingsBuilder
* .getInstanceSettings()
* .setRetrySettings(
* dataFusionSettingsBuilder
* .getInstanceSettings()
* .getRetrySettings()
* .toBuilder()
* dataFusionSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataFusionStubSettings dataFusionSettings = dataFusionSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public class HttpJsonDataFusionStub extends DataFusionStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("instance", request.getInstance()))
.toBody("instance", request.getInstance(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -286,7 +286,7 @@ public class HttpJsonDataFusionStub extends DataFusionStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("instance", request.getInstance()))
.toBody("instance", request.getInstance(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -325,7 +325,7 @@ public class HttpJsonDataFusionStub extends DataFusionStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down
Loading

0 comments on commit 9720ded

Please sign in to comment.