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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cfc6e05ad85852561ba6aa5d53d5fe73c273f2e0dde7703f6c63802af275ff9
4
- data.tar.gz: a5b32e4d889b81242c3622f883fb117e81d26a911064c6ebd64b6f03f0287c3c
3
+ metadata.gz: 51fbc8c41421a925f3a447b16218aa013bcb729ea684993db17f980c75bbce52
4
+ data.tar.gz: d46d304e699eed158485dddb137d4d2e5ba29009c3d3bb5e92079a49a253ba92
5
5
  SHA512:
6
- metadata.gz: 73c03468e20fd6ea4e9306cf304018635bc55d1caf8e3e878be7298155a5d01bbefd7a0535012a89ee19cc1b896cb94bfd7c26892276d1bbb7d9b9fc01891432
7
- data.tar.gz: 3c1710b480304d76b52a0e7552851f59ab0edc03dfa23c069bae7bf3a698292dc91dee244c69c26b52af25cd10933a99c3d958fb477b5a537fa2ed1001561ea0
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 Client library for the Cloud Bigtable V2 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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Bigtable
23
23
  module V2
24
- VERSION = "0.8.0"
24
+ VERSION = "0.9.0"
25
25
  end
26
26
  end
27
27
  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` is empty, the stream has finished
618
- # (for example if there was an `end_time` specified).
619
- # If `continuation_tokens` is present, then a change in partitioning requires
620
- # the client to open a new stream for each token to resume reading.
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 start reading the new
627
- # partition(s) that contain segments of this partition's row range.
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.8.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-02-23 00:00:00.000000000 Z
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.17.1
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.17.1
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 Client library for the Cloud Bigtable V2 API
222
+ summary: API for reading and writing the contents of Bigtables associated with a cloud
223
+ project.
223
224
  test_files: []