Skip to content

Commit c4a48dc

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_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
1 parent 955d353 commit c4a48dc

File tree

11 files changed

+423
-177
lines changed

11 files changed

+423
-177
lines changed

java-bigqueryconnection/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
2727
If you are using Gradle without BOM, add this to your dependencies:
2828

2929
```Groovy
30-
implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.5.1'
30+
implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.5.2'
3131
```
3232

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

3535
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.5.1"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.5.2"
3737
```
3838

3939
## Authentication

java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java

Lines changed: 195 additions & 78 deletions
Large diffs are not rendered by default.

java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@
5757
* <p>For example, to set the total timeout of createConnection to 30 seconds:
5858
*
5959
* <pre>{@code
60-
* // This snippet has been automatically generated for illustrative purposes only.
61-
* // It may require modifications to work in your environment.
60+
* // This snippet has been automatically generated and should be regarded as a code template only.
61+
* // It will require modifications to work:
62+
* // - It may require correct/in-range values for request initialization.
63+
* // - It may require specifying regional endpoints when creating the service client as shown in
64+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6265
* ConnectionServiceSettings.Builder connectionServiceSettingsBuilder =
6366
* ConnectionServiceSettings.newBuilder();
6467
* connectionServiceSettingsBuilder

java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/package-info.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@
2424
* <p>Sample for ConnectionServiceClient:
2525
*
2626
* <pre>{@code
27-
* // This snippet has been automatically generated for illustrative purposes only.
28-
* // It may require modifications to work in your environment.
27+
* // This snippet has been automatically generated and should be regarded as a code template only.
28+
* // It will require modifications to work:
29+
* // - It may require correct/in-range values for request initialization.
30+
* // - It may require specifying regional endpoints when creating the service client as shown in
31+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2932
* try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
3033
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
3134
* ConnectionProto.Connection connection = ConnectionProto.Connection.newBuilder().build();

java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStubSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,11 @@
6969
* <p>For example, to set the total timeout of createConnection to 30 seconds:
7070
*
7171
* <pre>{@code
72-
* // This snippet has been automatically generated for illustrative purposes only.
73-
* // It may require modifications to work in your environment.
72+
* // This snippet has been automatically generated and should be regarded as a code template only.
73+
* // It will require modifications to work:
74+
* // - It may require correct/in-range values for request initialization.
75+
* // - It may require specifying regional endpoints when creating the service client as shown in
76+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
7477
* ConnectionServiceStubSettings.Builder connectionServiceSettingsBuilder =
7578
* ConnectionServiceStubSettings.newBuilder();
7679
* connectionServiceSettingsBuilder

java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/HttpJsonConnectionServiceStub.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
8787
.setRequestBodyExtractor(
8888
request ->
8989
ProtoRestSerializer.create()
90-
.toBody("connection", request.getConnection()))
90+
.toBody("connection", request.getConnection(), false))
9191
.build())
9292
.setResponseParser(
9393
ProtoMessageResponseParser.<ConnectionProto.Connection>newBuilder()
@@ -203,7 +203,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
203203
.setRequestBodyExtractor(
204204
request ->
205205
ProtoRestSerializer.create()
206-
.toBody("connection", request.getConnection()))
206+
.toBody("connection", request.getConnection(), false))
207207
.build())
208208
.setResponseParser(
209209
ProtoMessageResponseParser.<ConnectionProto.Connection>newBuilder()
@@ -241,7 +241,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
241241
.setRequestBodyExtractor(
242242
request ->
243243
ProtoRestSerializer.create()
244-
.toBody("credential", request.getCredential()))
244+
.toBody("credential", request.getCredential(), false))
245245
.build())
246246
.setResponseParser(
247247
ProtoMessageResponseParser.<Empty>newBuilder()
@@ -312,7 +312,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
312312
.setRequestBodyExtractor(
313313
request ->
314314
ProtoRestSerializer.create()
315-
.toBody("*", request.toBuilder().clearResource().build()))
315+
.toBody("*", request.toBuilder().clearResource().build(), false))
316316
.build())
317317
.setResponseParser(
318318
ProtoMessageResponseParser.<Policy>newBuilder()
@@ -349,7 +349,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
349349
.setRequestBodyExtractor(
350350
request ->
351351
ProtoRestSerializer.create()
352-
.toBody("*", request.toBuilder().clearResource().build()))
352+
.toBody("*", request.toBuilder().clearResource().build(), false))
353353
.build())
354354
.setResponseParser(
355355
ProtoMessageResponseParser.<Policy>newBuilder()
@@ -386,7 +386,7 @@ public class HttpJsonConnectionServiceStub extends ConnectionServiceStub {
386386
.setRequestBodyExtractor(
387387
request ->
388388
ProtoRestSerializer.create()
389-
.toBody("*", request.toBuilder().clearResource().build()))
389+
.toBody("*", request.toBuilder().clearResource().build(), false))
390390
.build())
391391
.setResponseParser(
392392
ProtoMessageResponseParser.<TestIamPermissionsResponse>newBuilder()

0 commit comments

Comments
 (0)