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

Commit

Permalink
fix: updating the v1 retry params name for ListInsights, GetInsight, …
Browse files Browse the repository at this point in the history
…and MarkInsightAccepted. (#319)

PiperOrigin-RevId: 339319071

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Oct 27 13:36:00 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 9bdc6e729faad989b2a6c3994281b8304908f32c
Source-Link: googleapis/googleapis@9bdc6e7

Co-authored-by: Jeff Ching <chingor@google.com>
  • Loading branch information
yoshi-automation and chingor13 committed Nov 10, 2020
1 parent fd67f53 commit 1ed2edd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -478,17 +478,17 @@ private static Builder initDefaults(Builder builder) {
builder
.listInsightsSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));

builder
.getInsightSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));

builder
.markInsightAcceptedSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));

builder
.listRecommendationsSettings()
Expand Down
8 changes: 4 additions & 4 deletions synth.metadata
Expand Up @@ -11,16 +11,16 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "5202cfe3e5c2907a1a21a4c6d4bd0812029b6aa3",
"internalRef": "319247865"
"sha": "9bdc6e729faad989b2a6c3994281b8304908f32c",
"internalRef": "339319071"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "5202cfe3e5c2907a1a21a4c6d4bd0812029b6aa3",
"internalRef": "319247865"
"sha": "9bdc6e729faad989b2a6c3994281b8304908f32c",
"internalRef": "339319071"
}
},
{
Expand Down

0 comments on commit 1ed2edd

Please sign in to comment.