Skip to content
Permalink
Browse files
docs(regen): update sample code to set total timeout, add API client …
…header test
  • Loading branch information
yoshi-automation committed Feb 10, 2020
1 parent bb0e6b2 commit 991e9660b36014339db0a5d6265b565d1492bc90
@@ -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>
@@ -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>

0 comments on commit 991e966

Please sign in to comment.