@@ -25,3 +25,38 @@ interfaces:
2525 init_fields :
2626 - parent%project=$PROJECT_ID
2727 - parent%location="us-central1"
28+ retry_codes_def :
29+ - name : rate_limited_aware
30+ retry_codes :
31+ - UNAVAILABLE
32+ - DEADLINE_EXCEEDED
33+ - RESOURCE_EXHAUSTED
34+ # Definition for retry/backoff parameters.
35+ retry_params_def :
36+ - name : default
37+ initial_retry_delay_millis : 100
38+ retry_delay_multiplier : 1.3
39+ max_retry_delay_millis : 60000
40+ initial_rpc_timeout_millis : 20000
41+ rpc_timeout_multiplier : 1
42+ max_rpc_timeout_millis : 20000
43+ total_timeout_millis : 120000
44+ - name : rate_limited_aware
45+ initial_retry_delay_millis : 1000
46+ retry_delay_multiplier : 1.3
47+ max_retry_delay_millis : 60000
48+ initial_rpc_timeout_millis : 20000
49+ rpc_timeout_multiplier : 1
50+ max_rpc_timeout_millis : 20000
51+ total_timeout_millis : 120000
52+ methods :
53+ - name : DeleteDeviceRegistry
54+ retry_codes_name : idempotent
55+ - name : DeleteDevice
56+ retry_codes_name : idempotent
57+ - name : ModifyCloudToDeviceConfig
58+ retry_codes_name : rate_limited_aware
59+ retry_params_name : rate_limited_aware
60+ - name : SendCommandToDevice
61+ retry_codes_name : rate_limited_aware
62+ retry_params_name : rate_limited_aware
0 commit comments