Skip to content

Commit

Permalink
fix: update retry code settings per API call (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Aug 17, 2019
1 parent 25e4a45 commit c944f23
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
"interfaces": {
"google.cloud.kms.v1.KeyManagementService": {
"retry_codes": {
"retryable": [
"DEADLINE_EXCEEDED",
"INTERNAL",
"UNAVAILABLE"
],
"idempotent": [
"DEADLINE_EXCEEDED",
"UNAVAILABLE"
],
"non_idempotent": []
"non_idempotent": [],
"non_retryable": []
},
"retry_params": {
"default": {
Expand All @@ -22,132 +28,132 @@
"methods": {
"ListKeyRings": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"ListImportJobs": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"ListCryptoKeys": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"ListCryptoKeyVersions": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"GetKeyRing": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"GetImportJob": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"GetCryptoKey": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"GetCryptoKeyVersion": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"CreateKeyRing": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"CreateImportJob": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"CreateCryptoKey": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"CreateCryptoKeyVersion": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "non_retryable",
"retry_params_name": "default"
},
"ImportCryptoKeyVersion": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "non_retryable",
"retry_params_name": "default"
},
"UpdateCryptoKey": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"UpdateCryptoKeyVersion": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"Encrypt": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"Decrypt": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"UpdateCryptoKeyPrimaryVersion": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"DestroyCryptoKeyVersion": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"RestoreCryptoKeyVersion": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"GetPublicKey": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"AsymmetricDecrypt": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"AsymmetricSign": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"SetIamPolicy": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"GetIamPolicy": {
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
},
"TestIamPermissions": {
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_codes_name": "retryable",
"retry_params_name": "default"
}
}
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-kms/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-08-02T11:17:49.528331Z",
"updateTime": "2019-08-14T11:13:52.562360Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.32.0",
"dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d"
"version": "0.33.0",
"dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3a40d3a5f5e5a33fd49888a8a33ed021f65c0ccf",
"internalRef": "261297518"
"sha": "3406d1e899f1f41123b3fa9210ad4bef25c9a720",
"internalRef": "263234709"
}
},
{
Expand Down

0 comments on commit c944f23

Please sign in to comment.