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

- [ ] 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 955d353 commit c4a48dc
Show file tree
Hide file tree
Showing 11 changed files with 423 additions and 177 deletions.
4 changes: 2 additions & 2 deletions java-bigqueryconnection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.5.1'
implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.5.2'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.5.1"
libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.5.2"
```

## Authentication
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@
* <p>For example, to set the total timeout of createConnection 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
* ConnectionServiceSettings.Builder connectionServiceSettingsBuilder =
* ConnectionServiceSettings.newBuilder();
* connectionServiceSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
* <p>Sample for ConnectionServiceClient:
*
* <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 (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* ConnectionProto.Connection connection = ConnectionProto.Connection.newBuilder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@
* <p>For example, to set the total timeout of createConnection 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
* ConnectionServiceStubSettings.Builder connectionServiceSettingsBuilder =
* ConnectionServiceStubSettings.newBuilder();
* connectionServiceSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("connection", request.getConnection()))
.toBody("connection", request.getConnection(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<ConnectionProto.Connection>newBuilder()
Expand Down Expand Up @@ -203,7 +203,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("connection", request.getConnection()))
.toBody("connection", request.getConnection(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<ConnectionProto.Connection>newBuilder()
Expand Down Expand Up @@ -241,7 +241,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("credential", request.getCredential()))
.toBody("credential", request.getCredential(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Empty>newBuilder()
Expand Down Expand Up @@ -312,7 +312,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Policy>newBuilder()
Expand Down Expand Up @@ -349,7 +349,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Policy>newBuilder()
Expand Down Expand Up @@ -386,7 +386,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearResource().build()))
.toBody("*", request.toBuilder().clearResource().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<TestIamPermissionsResponse>newBuilder()
Expand Down
Loading

0 comments on commit c4a48dc

Please sign in to comment.