1 | {
|
2 | "interfaces": {
|
3 | "google.pubsub.v1.Publisher": {
|
4 | "retry_codes": {
|
5 | "non_idempotent": [],
|
6 | "idempotent": [
|
7 | "DEADLINE_EXCEEDED",
|
8 | "UNAVAILABLE"
|
9 | ],
|
10 | "unavailable": [
|
11 | "UNAVAILABLE"
|
12 | ],
|
13 | "cancelled_unknown_deadline_exceeded_resource_exhausted_aborted_internal_unavailable": [
|
14 | "CANCELLED",
|
15 | "UNKNOWN",
|
16 | "DEADLINE_EXCEEDED",
|
17 | "RESOURCE_EXHAUSTED",
|
18 | "ABORTED",
|
19 | "INTERNAL",
|
20 | "UNAVAILABLE"
|
21 | ],
|
22 | "unknown_aborted_unavailable": [
|
23 | "UNKNOWN",
|
24 | "ABORTED",
|
25 | "UNAVAILABLE"
|
26 | ]
|
27 | },
|
28 | "retry_params": {
|
29 | "default": {
|
30 | "initial_retry_delay_millis": 100,
|
31 | "retry_delay_multiplier": 1.3,
|
32 | "max_retry_delay_millis": 60000,
|
33 | "initial_rpc_timeout_millis": 60000,
|
34 | "rpc_timeout_multiplier": 1,
|
35 | "max_rpc_timeout_millis": 60000,
|
36 | "total_timeout_millis": 600000
|
37 | }
|
38 | },
|
39 | "methods": {
|
40 | "CreateTopic": {
|
41 | "timeout_millis": 60000,
|
42 | "retry_codes_name": "unavailable",
|
43 | "retry_params_name": "default"
|
44 | },
|
45 | "UpdateTopic": {
|
46 | "timeout_millis": 60000,
|
47 | "retry_codes_name": "unavailable",
|
48 | "retry_params_name": "default"
|
49 | },
|
50 | "Publish": {
|
51 | "timeout_millis": 60000,
|
52 | "retry_codes_name": "cancelled_unknown_deadline_exceeded_resource_exhausted_aborted_internal_unavailable",
|
53 | "retry_params_name": "default",
|
54 | "bundling": {
|
55 | "element_count_threshold": 100,
|
56 | "request_byte_threshold": 1048576,
|
57 | "delay_threshold_millis": 10,
|
58 | "element_count_limit": 1000
|
59 | }
|
60 | },
|
61 | "GetTopic": {
|
62 | "timeout_millis": 60000,
|
63 | "retry_codes_name": "unknown_aborted_unavailable",
|
64 | "retry_params_name": "default"
|
65 | },
|
66 | "ListTopics": {
|
67 | "timeout_millis": 60000,
|
68 | "retry_codes_name": "unknown_aborted_unavailable",
|
69 | "retry_params_name": "default"
|
70 | },
|
71 | "ListTopicSubscriptions": {
|
72 | "timeout_millis": 60000,
|
73 | "retry_codes_name": "unknown_aborted_unavailable",
|
74 | "retry_params_name": "default"
|
75 | },
|
76 | "ListTopicSnapshots": {
|
77 | "timeout_millis": 60000,
|
78 | "retry_codes_name": "unknown_aborted_unavailable",
|
79 | "retry_params_name": "default"
|
80 | },
|
81 | "DeleteTopic": {
|
82 | "timeout_millis": 60000,
|
83 | "retry_codes_name": "unavailable",
|
84 | "retry_params_name": "default"
|
85 | },
|
86 | "DetachSubscription": {
|
87 | "timeout_millis": 60000,
|
88 | "retry_codes_name": "unavailable",
|
89 | "retry_params_name": "default"
|
90 | }
|
91 | }
|
92 | }
|
93 | }
|
94 | }
|