Skip to content

Commit

Permalink
Update gapic retry configuration (via synth). (#9028)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and tseaver committed Aug 14, 2019
1 parent f2df9ca commit d1785b5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"interfaces": {
"google.cloud.kms.v1.KeyManagementService": {
"retry_codes": {
"retryable": ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"],
"idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
"non_idempotent": [],
"non_retryable": [],
},
"retry_params": {
"default": {
Expand All @@ -19,132 +21,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 kms/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-08-06T12:29:46.715135Z",
"updateTime": "2019-08-14T12:28:37.661447Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.32.1",
"dockerImage": "googleapis/artman@sha256:a684d40ba9a4e15946f5f2ca6b4bd9fe301192f522e9de4fff622118775f309b"
"version": "0.33.0",
"dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "e699b0cba64ffddfae39633417180f1f65875896",
"internalRef": "261759677"
"sha": "3406d1e899f1f41123b3fa9210ad4bef25c9a720",
"internalRef": "263234709"
}
},
{
Expand Down

0 comments on commit d1785b5

Please sign in to comment.