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

Commit

Permalink
fix: fix IAM retry settings (#259)
Browse files Browse the repository at this point in the history
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* chore(bazel): update gapic-generator to v2.4.6

Changes include:
- a fix for using reroute_to_grpc_interface when generating with grpc_service_config

PiperOrigin-RevId: 329771412

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Sep 2 13:01:43 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 88d4f10bbe6821a3e16b082f408bc381a73860ff
Source-Link: googleapis/googleapis@88d4f10
  • Loading branch information
yoshi-automation committed Sep 21, 2020
1 parent bb099d7 commit f02404d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -872,17 +872,17 @@ private static Builder initDefaults(Builder builder) {
builder
.setIamPolicySettings()
.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
.getIamPolicySettings()
.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
.testIamPermissionsSettings()
.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
.listKeyRingsSettings()
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "b40e4533f841c96aac1d9d7d342514d146b5b4cb",
"internalRef": "326100874"
"sha": "88d4f10bbe6821a3e16b082f408bc381a73860ff",
"internalRef": "329771412"
}
},
{
Expand Down

0 comments on commit f02404d

Please sign in to comment.