Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

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

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: googleapis/googleapis-gen@230a558
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 8, 2022
1 parent 7d379c1 commit b96153e
Show file tree
Hide file tree
Showing 23 changed files with 1,321 additions and 544 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-monitoring'
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-monitoring:3.4.1'
implementation 'com.google.cloud:google-cloud-monitoring:3.4.2'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.4.1"
libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.4.2"
```

## Authentication
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@
* <p>For example, to set the total timeout of getAlertPolicy 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
* AlertPolicyServiceSettings.Builder alertPolicyServiceSettingsBuilder =
* AlertPolicyServiceSettings.newBuilder();
* alertPolicyServiceSettingsBuilder
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@
* <p>For example, to set the total timeout of getGroup 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
* GroupServiceSettings.Builder groupServiceSettingsBuilder = GroupServiceSettings.newBuilder();
* groupServiceSettingsBuilder
* .getGroupSettings()
* .setRetrySettings(
* groupServiceSettingsBuilder
* .getGroupSettings()
* .getRetrySettings()
* .toBuilder()
* groupServiceSettingsBuilder.getGroupSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* GroupServiceSettings groupServiceSettings = groupServiceSettingsBuilder.build();
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@
* <p>For example, to set the total timeout of getMonitoredResourceDescriptor 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
* MetricServiceSettings.Builder metricServiceSettingsBuilder = MetricServiceSettings.newBuilder();
* metricServiceSettingsBuilder
* .getMonitoredResourceDescriptorSettings()
Expand Down

Large diffs are not rendered by default.

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 getNotificationChannelDescriptor 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
* NotificationChannelServiceSettings.Builder notificationChannelServiceSettingsBuilder =
* NotificationChannelServiceSettings.newBuilder();
* notificationChannelServiceSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@
* calls that map to API methods. Sample code to get started:
*
* <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 (QueryServiceClient queryServiceClient = QueryServiceClient.create()) {
* QueryTimeSeriesRequest request =
* QueryTimeSeriesRequest.newBuilder()
Expand Down Expand Up @@ -90,8 +93,11 @@
* <p>To customize credentials:
*
* <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
* QueryServiceSettings queryServiceSettings =
* QueryServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -102,8 +108,11 @@
* <p>To customize the endpoint:
*
* <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
* QueryServiceSettings queryServiceSettings =
* QueryServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* QueryServiceClient queryServiceClient = QueryServiceClient.create(queryServiceSettings);
Expand Down Expand Up @@ -167,8 +176,11 @@ public QueryServiceStub getStub() {
* <p>Sample code:
*
* <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 (QueryServiceClient queryServiceClient = QueryServiceClient.create()) {
* QueryTimeSeriesRequest request =
* QueryTimeSeriesRequest.newBuilder()
Expand Down Expand Up @@ -197,8 +209,11 @@ public final QueryTimeSeriesPagedResponse queryTimeSeries(QueryTimeSeriesRequest
* <p>Sample code:
*
* <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 (QueryServiceClient queryServiceClient = QueryServiceClient.create()) {
* QueryTimeSeriesRequest request =
* QueryTimeSeriesRequest.newBuilder()
Expand Down Expand Up @@ -228,8 +243,11 @@ public final QueryTimeSeriesPagedResponse queryTimeSeries(QueryTimeSeriesRequest
* <p>Sample code:
*
* <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 (QueryServiceClient queryServiceClient = QueryServiceClient.create()) {
* QueryTimeSeriesRequest request =
* QueryTimeSeriesRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@
* <p>For example, to set the total timeout of queryTimeSeries 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
* QueryServiceSettings.Builder queryServiceSettingsBuilder = QueryServiceSettings.newBuilder();
* queryServiceSettingsBuilder
* .queryTimeSeriesSettings()
* .setRetrySettings(
* queryServiceSettingsBuilder
* .queryTimeSeriesSettings()
* .getRetrySettings()
* .toBuilder()
* queryServiceSettingsBuilder.queryTimeSeriesSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* QueryServiceSettings queryServiceSettings = queryServiceSettingsBuilder.build();
Expand Down
Loading

0 comments on commit b96153e

Please sign in to comment.