-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add default retry configuration
feat: add DeleteTransferJob operation feat: add AWS S3 compatible data source PiperOrigin-RevId: 473348271
- Loading branch information
Google APIs
authored and
Copybara-Service
committed
Sep 9, 2022
1 parent
38e8b44
commit 56f2049
Showing
4 changed files
with
153 additions
and
19 deletions.
There are no files selected for viewing
29 changes: 19 additions & 10 deletions
29
google/storagetransfer/v1/storagetransfer_grpc_service_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
{ | ||
"methodConfig": [ | ||
{ | ||
"name": [ | ||
{ | ||
"service": "google.storagetransfer.v1.StorageTransferService" | ||
} | ||
], | ||
"timeout": "30s" | ||
"methodConfig": [{ | ||
"name": [{ "service": "google.storagetransfer.v1.StorageTransferService"}, | ||
{ "service": "google.longrunning.Operations"}], | ||
"timeout": "60s", | ||
"retryPolicy": { | ||
"maxAttempts": 5, | ||
"initialBackoff": "1s", | ||
"maxBackoff": "60s", | ||
"backoffMultiplier": 2, | ||
"retryableStatusCodes": [ | ||
"UNAVAILABLE" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": [{ "service": "google.storagetransfer.v1.StorageTransferService", "method": "CreateTransferJob"}], | ||
"timeout" : "60s" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters