google-cloud-pubsub 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eb38845984e78d2c7f5e3fb376e7e384323c08ed6e1ed03dc341f6936577a5a
|
4
|
+
data.tar.gz: 6530343d9396bbf325cd7a9667a3e0e185063a9fcc42c81e522d83c82c83ec5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3ae4aa5ba8c61842a62eedb7ac896bedfddff137603a3c49948a094cd335ab5d0879aeeca0f59be0c7e4729e34fd71352751dbd2946118e7d5a7c6893afd568
|
7
|
+
data.tar.gz: b7236c32fca695dc77d35813c5acdd62375c575c8ccf1e1568d39e79ccdc6a6f16604008f81dcecb64ec6ab91ecf4666b35c7428a9e06eeacf7cd5c054f00e97
|
data/CHANGELOG.md
CHANGED
@@ -66,7 +66,8 @@ module Google
|
|
66
66
|
# at least one attribute.
|
67
67
|
# @!attribute [rw] attributes
|
68
68
|
# @return [Hash{String => String}]
|
69
|
-
#
|
69
|
+
# Attributes for this message. If this field is empty, the message must
|
70
|
+
# contain non-empty data.
|
70
71
|
# @!attribute [rw] message_id
|
71
72
|
# @return [String]
|
72
73
|
# ID of this message, assigned by the server when the message is published.
|
@@ -80,10 +81,12 @@ module Google
|
|
80
81
|
# publisher in a `Publish` call.
|
81
82
|
# @!attribute [rw] ordering_key
|
82
83
|
# @return [String]
|
83
|
-
#
|
84
|
-
# If a `Subscription` has `enable_message_ordering` set to `true`,
|
85
|
-
# published with the same `ordering_key` value will be
|
86
|
-
# subscribers in the order in which they are received by the
|
84
|
+
# If non-empty, identifies related messages for which publish order should be
|
85
|
+
# respected. If a `Subscription` has `enable_message_ordering` set to `true`,
|
86
|
+
# messages published with the same non-empty `ordering_key` value will be
|
87
|
+
# delivered to subscribers in the order in which they are received by the
|
88
|
+
# Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest`
|
89
|
+
# must specify the same `ordering_key` value.
|
87
90
|
# <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This
|
88
91
|
# API might be changed in backward-incompatible ways and is not recommended
|
89
92
|
# for production use. It is not subject to any SLA or deprecation policy.
|
@@ -597,6 +600,14 @@ module Google
|
|
597
600
|
# first request on the stream, but it can also be updated on subsequent
|
598
601
|
# requests from client to server. The minimum deadline you can specify is 10
|
599
602
|
# seconds. The maximum deadline you can specify is 600 seconds (10 minutes).
|
603
|
+
# @!attribute [rw] client_id
|
604
|
+
# @return [String]
|
605
|
+
# A unique identifier that is used to distinguish client instances from each
|
606
|
+
# other. Only needs to be provided on the initial request. When a stream
|
607
|
+
# disconnects and reconnects for the same stream, the client_id should be set
|
608
|
+
# to the same value so that state associated with the old stream can be
|
609
|
+
# transferred to the new stream. The same client_id should not be used for
|
610
|
+
# different client instances.
|
600
611
|
class StreamingPullRequest; end
|
601
612
|
|
602
613
|
# Response for the `StreamingPull` method. This response is used to stream
|
@@ -609,13 +620,12 @@ module Google
|
|
609
620
|
# Request for the `CreateSnapshot` method.
|
610
621
|
# @!attribute [rw] name
|
611
622
|
# @return [String]
|
612
|
-
#
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
# Format is `projects/{project}/snapshots/{snap}`.
|
623
|
+
# User-provided name for this snapshot. If the name is not provided in the
|
624
|
+
# request, the server will assign a random name for this snapshot on the same
|
625
|
+
# project as the subscription. Note that for REST API requests, you must
|
626
|
+
# specify a name. See the <a
|
627
|
+
# href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource
|
628
|
+
# name rules</a>. Format is `projects/{project}/snapshots/{snap}`.
|
619
629
|
# @!attribute [rw] subscription
|
620
630
|
# @return [String]
|
621
631
|
# The subscription whose backlog the snapshot retains.
|
@@ -1047,13 +1047,12 @@ module Google
|
|
1047
1047
|
# REST API requests, you must specify a name in the request.
|
1048
1048
|
#
|
1049
1049
|
# @param name [String]
|
1050
|
-
#
|
1051
|
-
#
|
1052
|
-
#
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
#
|
1056
|
-
# Format is `projects/{project}/snapshots/{snap}`.
|
1050
|
+
# User-provided name for this snapshot. If the name is not provided in the
|
1051
|
+
# request, the server will assign a random name for this snapshot on the same
|
1052
|
+
# project as the subscription. Note that for REST API requests, you must
|
1053
|
+
# specify a name. See the <a
|
1054
|
+
# href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource
|
1055
|
+
# name rules</a>. Format is `projects/{project}/snapshots/{snap}`.
|
1057
1056
|
# @param subscription [String]
|
1058
1057
|
# The subscription whose backlog the snapshot retains.
|
1059
1058
|
# Specifically, the created snapshot is guaranteed to retain:
|
@@ -152,6 +152,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
152
152
|
repeated :modify_deadline_seconds, :int32, 3
|
153
153
|
repeated :modify_deadline_ack_ids, :string, 4
|
154
154
|
optional :stream_ack_deadline_seconds, :int32, 5
|
155
|
+
optional :client_id, :string, 6
|
155
156
|
end
|
156
157
|
add_message "google.pubsub.v1.StreamingPullResponse" do
|
157
158
|
repeated :received_messages, :message, 1, "google.pubsub.v1.ReceivedMessage"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-pubsub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: concurrent-ruby
|