Skip to content

Commit 05aa0b1

Browse files
chore: Set rest_numeric_enums = False for all gapic rules explicitly (#904)
* chore: Set `rest_numeric_enums = False` for all gapic rules explicitly PiperOrigin-RevId: 485623855 Source-Link: googleapis/googleapis@807125e Source-Link: https://github.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent eb1e714 commit 05aa0b1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,7 @@
192192
* // - It may require specifying regional endpoints when creating the service client as shown in
193193
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
194194
* DatastoreAdminSettings datastoreAdminSettings =
195-
* DatastoreAdminSettings.newBuilder()
196-
* .setTransportChannelProvider(
197-
* DatastoreAdminSettings.defaultHttpJsonTransportProviderBuilder().build())
198-
* .build();
195+
* DatastoreAdminSettings.newHttpJsonBuilder().build();
199196
* DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
200197
* }</pre>
201198
*

0 commit comments

Comments
 (0)