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

- [ ] 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 e902cab commit 7dad81f
Show file tree
Hide file tree
Showing 235 changed files with 2,270 additions and 962 deletions.
4 changes: 2 additions & 2 deletions java-domains/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-domains:1.0.2'
implementation 'com.google.cloud:google-cloud-domains:1.0.3'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.0.2"
libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.0.3"
```

## Authentication
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@
* <p>For example, to set the total timeout of searchDomains 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
* DomainsSettings.Builder domainsSettingsBuilder = DomainsSettings.newBuilder();
* domainsSettingsBuilder
* .searchDomainsSettings()
* .setRetrySettings(
* domainsSettingsBuilder
* .searchDomainsSettings()
* .getRetrySettings()
* .toBuilder()
* domainsSettingsBuilder.searchDomainsSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DomainsSettings domainsSettings = domainsSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@
* <p>Sample for DomainsClient:
*
* <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 (DomainsClient domainsClient = DomainsClient.create()) {
* LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
* String query = "query107944136";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,16 @@
* <p>For example, to set the total timeout of searchDomains 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
* DomainsStubSettings.Builder domainsSettingsBuilder = DomainsStubSettings.newBuilder();
* domainsSettingsBuilder
* .searchDomainsSettings()
* .setRetrySettings(
* domainsSettingsBuilder
* .searchDomainsSettings()
* .getRetrySettings()
* .toBuilder()
* domainsSettingsBuilder.searchDomainsSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DomainsStubSettings domainsSettings = domainsSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -254,7 +254,7 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -364,7 +364,7 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("registration", request.getRegistration()))
.toBody("registration", request.getRegistration(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -404,7 +404,8 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearRegistration().build()))
.toBody(
"*", request.toBuilder().clearRegistration().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -444,7 +445,8 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearRegistration().build()))
.toBody(
"*", request.toBuilder().clearRegistration().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -484,7 +486,8 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearRegistration().build()))
.toBody(
"*", request.toBuilder().clearRegistration().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -523,7 +526,7 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -633,7 +636,8 @@ public class HttpJsonDomainsStub extends DomainsStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearRegistration().build()))
.toBody(
"*", request.toBuilder().clearRegistration().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<AuthorizationCode>newBuilder()
Expand Down
Loading

0 comments on commit 7dad81f

Please sign in to comment.