google-cloud-bigtable-v2 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/bigtable/v2/bigtable_pb.rb +1 -0
- data/lib/google/cloud/bigtable/v2/version.rb +1 -1
- data/proto_docs/google/bigtable/v2/bigtable.rb +26 -6
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51fbc8c41421a925f3a447b16218aa013bcb729ea684993db17f980c75bbce52
|
4
|
+
data.tar.gz: d46d304e699eed158485dddb137d4d2e5ba29009c3d3bb5e92079a49a253ba92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8ef83b76de64c957d9566edfbe21336544ee588fdbedc75d6616a55e4537f57a022495f9ebd8b120a70fdbcd2ee4fd1a9b1d08ae3d3c24dcb354c36c58e5349
|
7
|
+
data.tar.gz: 4323b0aa8717bede2f35d075db4daa4acb764444d35e368b45077786eaeb4354d328d13f80f119ddf2034cdf4031bf043f6438451ed208a4687965fbd461e059
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Cloud Bigtable V2 API
|
2
2
|
|
3
|
-
API
|
3
|
+
API for reading and writing the contents of Bigtables associated with a cloud project.
|
4
4
|
|
5
5
|
Cloud Bigtable is a fully managed, scalable NoSQL database service for large analytical and operational workloads.
|
6
6
|
|
@@ -164,6 +164,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
164
164
|
add_message "google.bigtable.v2.ReadChangeStreamResponse.CloseStream" do
|
165
165
|
optional :status, :message, 1, "google.rpc.Status"
|
166
166
|
repeated :continuation_tokens, :message, 2, "google.bigtable.v2.StreamContinuationToken"
|
167
|
+
repeated :new_partitions, :message, 3, "google.bigtable.v2.StreamPartition"
|
167
168
|
end
|
168
169
|
end
|
169
170
|
end
|
@@ -614,17 +614,37 @@ module Google
|
|
614
614
|
end
|
615
615
|
|
616
616
|
# A message indicating that the client should stop reading from the stream.
|
617
|
-
# If status is OK and `continuation_tokens`
|
618
|
-
# (for example if there was an `end_time` specified).
|
619
|
-
# If `continuation_tokens`
|
620
|
-
# the client to open a new stream for each token to
|
617
|
+
# If status is OK and `continuation_tokens` & `new_partitions` are empty, the
|
618
|
+
# stream has finished (for example if there was an `end_time` specified).
|
619
|
+
# If `continuation_tokens` & `new_partitions` are present, then a change in
|
620
|
+
# partitioning requires the client to open a new stream for each token to
|
621
|
+
# resume reading. Example:
|
622
|
+
# [B, D) ends
|
623
|
+
# |
|
624
|
+
# v
|
625
|
+
# new_partitions: [A, C) [C, E)
|
626
|
+
# continuation_tokens.partitions: [B,C) [C,D)
|
627
|
+
# ^---^ ^---^
|
628
|
+
# ^ ^
|
629
|
+
# | |
|
630
|
+
# | StreamContinuationToken 2
|
631
|
+
# |
|
632
|
+
# StreamContinuationToken 1
|
633
|
+
# To read the new partition [A,C), supply the continuation tokens whose
|
634
|
+
# ranges cover the new partition, for example ContinuationToken[A,B) &
|
635
|
+
# ContinuationToken[B,C).
|
621
636
|
# @!attribute [rw] status
|
622
637
|
# @return [::Google::Rpc::Status]
|
623
638
|
# The status of the stream.
|
624
639
|
# @!attribute [rw] continuation_tokens
|
625
640
|
# @return [::Array<::Google::Cloud::Bigtable::V2::StreamContinuationToken>]
|
626
|
-
# If non-empty, contains the information needed to
|
627
|
-
#
|
641
|
+
# If non-empty, contains the information needed to resume reading their
|
642
|
+
# associated partitions.
|
643
|
+
# @!attribute [rw] new_partitions
|
644
|
+
# @return [::Array<::Google::Cloud::Bigtable::V2::StreamPartition>]
|
645
|
+
# If non-empty, contains the new partitions to start reading from, which
|
646
|
+
# are related to but not necessarily identical to the partitions for the
|
647
|
+
# above `continuation_tokens`.
|
628
648
|
class CloseStream
|
629
649
|
include ::Google::Protobuf::MessageExts
|
630
650
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -219,5 +219,6 @@ requirements: []
|
|
219
219
|
rubygems_version: 3.4.2
|
220
220
|
signing_key:
|
221
221
|
specification_version: 4
|
222
|
-
summary: API
|
222
|
+
summary: API for reading and writing the contents of Bigtables associated with a cloud
|
223
|
+
project.
|
223
224
|
test_files: []
|