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

Commit

Permalink
docs(regen): update sample code to set total timeout, add API client …
Browse files Browse the repository at this point in the history
…header test
  • Loading branch information
yoshi-automation committed Feb 10, 2020
1 parent bb0e6b2 commit 991e966
Show file tree
Hide file tree
Showing 4 changed files with 1,493 additions and 10 deletions.
Expand Up @@ -104,8 +104,12 @@
* <code>
* DlpServiceSettings.Builder dlpServiceSettingsBuilder =
* DlpServiceSettings.newBuilder();
* dlpServiceSettingsBuilder.inspectContentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30));
* dlpServiceSettingsBuilder
* .inspectContentSettings()
* .setRetrySettings(
* dlpServiceSettingsBuilder.inspectContentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DlpServiceSettings dlpServiceSettings = dlpServiceSettingsBuilder.build();
* </code>
* </pre>
Expand Down
Expand Up @@ -119,8 +119,12 @@
* <code>
* DlpServiceStubSettings.Builder dlpServiceSettingsBuilder =
* DlpServiceStubSettings.newBuilder();
* dlpServiceSettingsBuilder.inspectContentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30));
* dlpServiceSettingsBuilder
* .inspectContentSettings()
* .setRetrySettings(
* dlpServiceSettingsBuilder.inspectContentSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* DlpServiceStubSettings dlpServiceSettings = dlpServiceSettingsBuilder.build();
* </code>
* </pre>
Expand Down

0 comments on commit 991e966

Please sign in to comment.