Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(bazel): [java-datacatalog] Update WORKSPACE files for rules_gapic, gax_java, generator_java versions #8467

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion java-datacatalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,4 @@ Java is a registered trademark of Oracle and/or its affiliates.
[cloudlibs]: https://cloud.google.com/apis/docs/client-libraries-explained
[apilibs]: https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries
[oracle]: https://www.oracle.com/java/technologies/java-se-support-roadmap.html
[g-c-j]: http://github.com/googleapis/google-cloud-java
[g-c-j]: http://github.com/googleapis/google-cloud-java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@
* <p>For example, to set the total timeout of createEntryGroup to 30 seconds:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
* dataCatalogSettingsBuilder
* .createEntryGroupSettings()
* .setRetrySettings(
* dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
* dataCatalogSettingsBuilder
* .createEntryGroupSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ReplaceTaxonomyRequest request =
Expand Down Expand Up @@ -81,11 +78,8 @@
* <p>To customize credentials:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
* PolicyTagManagerSerializationSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -97,11 +91,8 @@
* <p>To customize the endpoint:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
* PolicyTagManagerSerializationSettings.newBuilder().setEndpoint(myEndpoint).build();
* PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
Expand All @@ -112,11 +103,8 @@
* the wire:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings =
* PolicyTagManagerSerializationSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -199,11 +187,8 @@ public PolicyTagManagerSerializationStub getStub() {
* <p>Sample code:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ReplaceTaxonomyRequest request =
Expand Down Expand Up @@ -238,11 +223,8 @@ public final Taxonomy replaceTaxonomy(ReplaceTaxonomyRequest request) {
* <p>Sample code:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ReplaceTaxonomyRequest request =
Expand Down Expand Up @@ -275,11 +257,8 @@ public final UnaryCallable<ReplaceTaxonomyRequest, Taxonomy> replaceTaxonomyCall
* <p>Sample code:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
Expand Down Expand Up @@ -312,11 +291,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* <p>Sample code:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ImportTaxonomiesRequest request =
Expand Down Expand Up @@ -346,11 +322,8 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r
* <p>Sample code:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
Expand Down Expand Up @@ -381,11 +354,8 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r
* <p>Sample code:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ExportTaxonomiesRequest request =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@
* <p>For example, to set the total timeout of replaceTaxonomy to 30 seconds:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
* PolicyTagManagerSerializationSettings.newBuilder();
* policyTagManagerSerializationSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@
* <p>For example, to set the total timeout of createTaxonomy to 30 seconds:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* PolicyTagManagerSettings.Builder policyTagManagerSettingsBuilder =
* PolicyTagManagerSettings.newBuilder();
* policyTagManagerSettingsBuilder
* .createTaxonomySettings()
* .setRetrySettings(
* policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
* policyTagManagerSettingsBuilder
* .createTaxonomySettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* PolicyTagManagerSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@
* <p>Sample for DataCatalogClient:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* String entryGroupId = "entryGroupId1228924712";
Expand All @@ -49,11 +46,8 @@
* <p>Sample for PolicyTagManagerClient:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Taxonomy taxonomy = Taxonomy.newBuilder().build();
Expand All @@ -71,11 +65,8 @@
* <p>Sample for PolicyTagManagerSerializationClient:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
* PolicyTagManagerSerializationClient.create()) {
* ReplaceTaxonomyRequest request =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,17 @@
* <p>For example, to set the total timeout of createEntryGroup to 30 seconds:
*
* <pre>{@code
* // 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
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* DataCatalogStubSettings.Builder dataCatalogSettingsBuilder =
* DataCatalogStubSettings.newBuilder();
* dataCatalogSettingsBuilder
* .createEntryGroupSettings()
* .setRetrySettings(
* dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
* dataCatalogSettingsBuilder
* .createEntryGroupSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DataCatalogStubSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
Expand Down
Loading