|
2 | 2 | "interfaces": { |
3 | 3 | "google.cloud.recommender.v1.Recommender": { |
4 | 4 | "retry_codes": { |
5 | | - "idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"], |
6 | | - "non_idempotent": [], |
| 5 | + "retry_policy_1_codes": ["DEADLINE_EXCEEDED", "UNAVAILABLE"], |
| 6 | + "no_retry_codes": [], |
| 7 | + "no_retry_1_codes": [], |
7 | 8 | }, |
8 | 9 | "retry_params": { |
9 | | - "default": { |
| 10 | + "retry_policy_1_params": { |
10 | 11 | "initial_retry_delay_millis": 100, |
11 | 12 | "retry_delay_multiplier": 1.3, |
12 | 13 | "max_retry_delay_millis": 60000, |
13 | | - "initial_rpc_timeout_millis": 20000, |
| 14 | + "initial_rpc_timeout_millis": 60000, |
14 | 15 | "rpc_timeout_multiplier": 1.0, |
15 | | - "max_rpc_timeout_millis": 20000, |
16 | | - "total_timeout_millis": 600000, |
17 | | - } |
| 16 | + "max_rpc_timeout_millis": 60000, |
| 17 | + "total_timeout_millis": 60000, |
| 18 | + }, |
| 19 | + "no_retry_params": { |
| 20 | + "initial_retry_delay_millis": 0, |
| 21 | + "retry_delay_multiplier": 0.0, |
| 22 | + "max_retry_delay_millis": 0, |
| 23 | + "initial_rpc_timeout_millis": 0, |
| 24 | + "rpc_timeout_multiplier": 1.0, |
| 25 | + "max_rpc_timeout_millis": 0, |
| 26 | + "total_timeout_millis": 0, |
| 27 | + }, |
| 28 | + "no_retry_1_params": { |
| 29 | + "initial_retry_delay_millis": 0, |
| 30 | + "retry_delay_multiplier": 0.0, |
| 31 | + "max_retry_delay_millis": 0, |
| 32 | + "initial_rpc_timeout_millis": 60000, |
| 33 | + "rpc_timeout_multiplier": 1.0, |
| 34 | + "max_rpc_timeout_millis": 60000, |
| 35 | + "total_timeout_millis": 60000, |
| 36 | + }, |
18 | 37 | }, |
19 | 38 | "methods": { |
20 | 39 | "ListRecommendations": { |
21 | 40 | "timeout_millis": 60000, |
22 | | - "retry_codes_name": "idempotent", |
23 | | - "retry_params_name": "default", |
| 41 | + "retry_codes_name": "retry_policy_1_codes", |
| 42 | + "retry_params_name": "retry_policy_1_params", |
24 | 43 | }, |
25 | 44 | "GetRecommendation": { |
26 | 45 | "timeout_millis": 60000, |
27 | | - "retry_codes_name": "idempotent", |
28 | | - "retry_params_name": "default", |
| 46 | + "retry_codes_name": "retry_policy_1_codes", |
| 47 | + "retry_params_name": "retry_policy_1_params", |
29 | 48 | }, |
30 | 49 | "MarkRecommendationClaimed": { |
31 | 50 | "timeout_millis": 60000, |
32 | | - "retry_codes_name": "non_idempotent", |
33 | | - "retry_params_name": "default", |
| 51 | + "retry_codes_name": "no_retry_1_codes", |
| 52 | + "retry_params_name": "no_retry_1_params", |
34 | 53 | }, |
35 | 54 | "MarkRecommendationSucceeded": { |
36 | 55 | "timeout_millis": 60000, |
37 | | - "retry_codes_name": "non_idempotent", |
38 | | - "retry_params_name": "default", |
| 56 | + "retry_codes_name": "no_retry_1_codes", |
| 57 | + "retry_params_name": "no_retry_1_params", |
39 | 58 | }, |
40 | 59 | "MarkRecommendationFailed": { |
41 | 60 | "timeout_millis": 60000, |
42 | | - "retry_codes_name": "non_idempotent", |
43 | | - "retry_params_name": "default", |
| 61 | + "retry_codes_name": "no_retry_1_codes", |
| 62 | + "retry_params_name": "no_retry_1_params", |
44 | 63 | }, |
45 | 64 | }, |
46 | 65 | } |
|
0 commit comments