Skip to content

Commit b0450b8

Browse files
authoredFeb 13, 2024
feat: Enable automatic retries for create RenameFolder LRO in Storage Control API (#2410)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 606359578 Source-Link: https://togithub.com/googleapis/googleapis/commit/62dec60db791b8ff8b21dfed22c8b2c17660ac58 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/73865e1181fc833f29439e1ab11f37b5d9d124b7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzM4NjVlMTE4MWZjODMzZjI5NDM5ZTFhYjExZjM3YjVkOWQxMjRiNyJ9
1 parent d318fc6 commit b0450b8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ If you are using Maven without the BOM, add this to your dependencies:
5050
If you are using Gradle 5.x or later, add this to your dependencies:
5151

5252
```Groovy
53-
implementation platform('com.google.cloud:libraries-bom:26.31.0')
53+
implementation platform('com.google.cloud:libraries-bom:26.32.0')
5454
5555
implementation 'com.google.cloud:google-cloud-storage'
5656
```

‎google-cloud-storage-control/src/main/java/com/google/storage/control/v2/stub/StorageControlStubSettings.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,8 @@ private static Builder initDefaults(Builder builder) {
456456

457457
builder
458458
.renameFolderSettings()
459-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
460-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
459+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
460+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
461461

462462
builder
463463
.getStorageLayoutSettings()
@@ -469,8 +469,8 @@ private static Builder initDefaults(Builder builder) {
469469
.setInitialCallSettings(
470470
UnaryCallSettings
471471
.<RenameFolderRequest, OperationSnapshot>newUnaryCallSettingsBuilder()
472-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
473-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"))
472+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
473+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
474474
.build())
475475
.setResponseTransformer(
476476
ProtoOperationTransformers.ResponseTransformer.create(Folder.class))

0 commit comments

Comments
 (0)
Please sign in to comment.