google-cloud-pubsub 1.1.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +2 -1
- data/CHANGELOG.md +145 -0
- data/EMULATOR.md +1 -1
- data/TROUBLESHOOTING.md +2 -8
- data/lib/google/cloud/pubsub/async_publisher.rb +16 -21
- data/lib/google/cloud/pubsub/credentials.rb +2 -2
- data/lib/google/cloud/pubsub/project.rb +18 -26
- data/lib/google/cloud/pubsub/received_message.rb +38 -0
- data/lib/google/cloud/pubsub/retry_policy.rb +90 -0
- data/lib/google/cloud/pubsub/service.rb +125 -252
- data/lib/google/cloud/pubsub/subscriber/inventory.rb +43 -15
- data/lib/google/cloud/pubsub/subscriber/stream.rb +8 -10
- data/lib/google/cloud/pubsub/subscriber.rb +86 -15
- data/lib/google/cloud/pubsub/subscription/push_config.rb +2 -2
- data/lib/google/cloud/pubsub/subscription.rb +297 -7
- data/lib/google/cloud/pubsub/topic.rb +65 -2
- data/lib/google/cloud/pubsub/version.rb +1 -1
- data/lib/google/cloud/pubsub.rb +15 -18
- data/lib/google-cloud-pubsub.rb +13 -13
- metadata +11 -81
- data/lib/google/cloud/pubsub/v1/credentials.rb +0 -41
- data/lib/google/cloud/pubsub/v1/doc/google/iam/v1/iam_policy.rb +0 -21
- data/lib/google/cloud/pubsub/v1/doc/google/iam/v1/options.rb +0 -21
- data/lib/google/cloud/pubsub/v1/doc/google/iam/v1/policy.rb +0 -21
- data/lib/google/cloud/pubsub/v1/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/pubsub/v1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/pubsub/v1/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/pubsub/v1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb +0 -744
- data/lib/google/cloud/pubsub/v1/doc/google/type/expr.rb +0 -19
- data/lib/google/cloud/pubsub/v1/publisher_client.rb +0 -786
- data/lib/google/cloud/pubsub/v1/publisher_client_config.json +0 -105
- data/lib/google/cloud/pubsub/v1/subscriber_client.rb +0 -1385
- data/lib/google/cloud/pubsub/v1/subscriber_client_config.json +0 -144
- data/lib/google/cloud/pubsub/v1.rb +0 -17
- data/lib/google/pubsub/v1/pubsub_pb.rb +0 -249
- data/lib/google/pubsub/v1/pubsub_services_pb.rb +0 -211
@@ -1,105 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"interfaces": {
|
3
|
-
"google.pubsub.v1.Publisher": {
|
4
|
-
"retry_codes": {
|
5
|
-
"idempotent": [
|
6
|
-
"ABORTED",
|
7
|
-
"UNAVAILABLE",
|
8
|
-
"UNKNOWN"
|
9
|
-
],
|
10
|
-
"non_idempotent": [
|
11
|
-
"UNAVAILABLE"
|
12
|
-
],
|
13
|
-
"none": [],
|
14
|
-
"publish": [
|
15
|
-
"ABORTED",
|
16
|
-
"CANCELLED",
|
17
|
-
"DEADLINE_EXCEEDED",
|
18
|
-
"INTERNAL",
|
19
|
-
"RESOURCE_EXHAUSTED",
|
20
|
-
"UNAVAILABLE",
|
21
|
-
"UNKNOWN"
|
22
|
-
]
|
23
|
-
},
|
24
|
-
"retry_params": {
|
25
|
-
"default": {
|
26
|
-
"initial_retry_delay_millis": 100,
|
27
|
-
"retry_delay_multiplier": 1.3,
|
28
|
-
"max_retry_delay_millis": 60000,
|
29
|
-
"initial_rpc_timeout_millis": 60000,
|
30
|
-
"rpc_timeout_multiplier": 1.0,
|
31
|
-
"max_rpc_timeout_millis": 60000,
|
32
|
-
"total_timeout_millis": 600000
|
33
|
-
},
|
34
|
-
"messaging": {
|
35
|
-
"initial_retry_delay_millis": 100,
|
36
|
-
"retry_delay_multiplier": 1.3,
|
37
|
-
"max_retry_delay_millis": 60000,
|
38
|
-
"initial_rpc_timeout_millis": 5000,
|
39
|
-
"rpc_timeout_multiplier": 1.3,
|
40
|
-
"max_rpc_timeout_millis": 60000,
|
41
|
-
"total_timeout_millis": 60000
|
42
|
-
}
|
43
|
-
},
|
44
|
-
"methods": {
|
45
|
-
"CreateTopic": {
|
46
|
-
"timeout_millis": 60000,
|
47
|
-
"retry_codes_name": "non_idempotent",
|
48
|
-
"retry_params_name": "default"
|
49
|
-
},
|
50
|
-
"UpdateTopic": {
|
51
|
-
"timeout_millis": 60000,
|
52
|
-
"retry_codes_name": "non_idempotent",
|
53
|
-
"retry_params_name": "default"
|
54
|
-
},
|
55
|
-
"Publish": {
|
56
|
-
"timeout_millis": 60000,
|
57
|
-
"retry_codes_name": "publish",
|
58
|
-
"retry_params_name": "messaging",
|
59
|
-
"bundling": {
|
60
|
-
"element_count_threshold": 100,
|
61
|
-
"element_count_limit": 1000,
|
62
|
-
"request_byte_threshold": 1048576,
|
63
|
-
"request_byte_limit": 10485760,
|
64
|
-
"delay_threshold_millis": 10
|
65
|
-
}
|
66
|
-
},
|
67
|
-
"GetTopic": {
|
68
|
-
"timeout_millis": 60000,
|
69
|
-
"retry_codes_name": "idempotent",
|
70
|
-
"retry_params_name": "default"
|
71
|
-
},
|
72
|
-
"ListTopics": {
|
73
|
-
"timeout_millis": 60000,
|
74
|
-
"retry_codes_name": "idempotent",
|
75
|
-
"retry_params_name": "default"
|
76
|
-
},
|
77
|
-
"ListTopicSubscriptions": {
|
78
|
-
"timeout_millis": 60000,
|
79
|
-
"retry_codes_name": "idempotent",
|
80
|
-
"retry_params_name": "default"
|
81
|
-
},
|
82
|
-
"DeleteTopic": {
|
83
|
-
"timeout_millis": 60000,
|
84
|
-
"retry_codes_name": "non_idempotent",
|
85
|
-
"retry_params_name": "default"
|
86
|
-
},
|
87
|
-
"SetIamPolicy": {
|
88
|
-
"timeout_millis": 60000,
|
89
|
-
"retry_codes_name": "non_idempotent",
|
90
|
-
"retry_params_name": "default"
|
91
|
-
},
|
92
|
-
"GetIamPolicy": {
|
93
|
-
"timeout_millis": 60000,
|
94
|
-
"retry_codes_name": "idempotent",
|
95
|
-
"retry_params_name": "default"
|
96
|
-
},
|
97
|
-
"TestIamPermissions": {
|
98
|
-
"timeout_millis": 60000,
|
99
|
-
"retry_codes_name": "non_idempotent",
|
100
|
-
"retry_params_name": "default"
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|