google-cloud-bigtable-v2 1.16.0 → 1.18.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.
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/bigtable/v2/version"
24
+
25
+ require "google/cloud/bigtable/v2/bigtable/credentials"
26
+ require "google/cloud/bigtable/v2/bigtable/paths"
27
+ require "google/cloud/bigtable/v2/bigtable/rest/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module Bigtable
32
+ module V2
33
+ ##
34
+ # Service for reading from and writing to existing Bigtable tables.
35
+ #
36
+ # To load this service and instantiate a REST client:
37
+ #
38
+ # require "google/cloud/bigtable/v2/bigtable/rest"
39
+ # client = ::Google::Cloud::Bigtable::V2::Bigtable::Rest::Client.new
40
+ #
41
+ module Bigtable
42
+ # Client for the REST transport
43
+ module Rest
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+
51
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
52
+ require "google/cloud/bigtable/v2/bigtable/rest/helpers" if ::File.file? helper_path
@@ -25,6 +25,7 @@ require "google/cloud/bigtable/v2/version"
25
25
  require "google/cloud/bigtable/v2/bigtable/credentials"
26
26
  require "google/cloud/bigtable/v2/bigtable/paths"
27
27
  require "google/cloud/bigtable/v2/bigtable/client"
28
+ require "google/cloud/bigtable/v2/bigtable/rest"
28
29
 
29
30
  module Google
30
31
  module Cloud
@@ -38,6 +39,11 @@ module Google
38
39
  # require "google/cloud/bigtable/v2/bigtable"
39
40
  # client = ::Google::Cloud::Bigtable::V2::Bigtable::Client.new
40
41
  #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/bigtable/v2/bigtable/rest"
45
+ # client = ::Google::Cloud::Bigtable::V2::Bigtable::Rest::Client.new
46
+ #
41
47
  module Bigtable
42
48
  end
43
49
  end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/bigtable/v2/bigtable/rest"
20
+ require "google/cloud/bigtable/v2/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module Bigtable
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/bigtable/v2/rest"
31
+ # client = ::Google::Cloud::Bigtable::V2::Bigtable::Rest::Client.new
32
+ #
33
+ module V2
34
+ end
35
+ end
36
+ end
37
+ end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Bigtable
23
23
  module V2
24
- VERSION = "1.16.0"
24
+ VERSION = "1.18.0"
25
25
  end
26
26
  end
27
27
  end
@@ -30,6 +30,11 @@ module Google
30
30
  # require "google/cloud/bigtable/v2"
31
31
  # client = ::Google::Cloud::Bigtable::V2::Bigtable::Client.new
32
32
  #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/bigtable/v2"
36
+ # client = ::Google::Cloud::Bigtable::V2::Bigtable::Rest::Client.new
37
+ #
33
38
  module V2
34
39
  end
35
40
  end
@@ -926,7 +926,7 @@ module Google
926
926
  # `@` character followed by the parameter name (for example, `@firstName`) in
927
927
  # the query string.
928
928
  #
929
- # For example, if param_types["firstName"] = Bytes then @firstName will be a
929
+ # For example, if param_types["firstName"] = Bytes then `@firstName` will be a
930
930
  # query parameter of type Bytes. The specific `Value` to be used for the
931
931
  # query execution must be sent in `ExecuteQueryRequest` in the `params` map.
932
932
  class PrepareQueryRequest
@@ -73,6 +73,10 @@ module Google
73
73
  # @!attribute [rw] sessions_required
74
74
  # @return [::Boolean]
75
75
  # Internal flag to force sessions for internal projects.
76
+ # @!attribute [rw] microsecond_timestamp
77
+ # @return [::Boolean]
78
+ # Optional. Indicates whether the client supports microsecond precision
79
+ # timestamps.
76
80
  class FeatureFlags
77
81
  include ::Google::Protobuf::MessageExts
78
82
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -612,10 +612,13 @@ module Google
612
612
  # Internal usage only.
613
613
  # @!attribute [rw] read_row
614
614
  # @return [::Google::Cloud::Bigtable::V2::SessionReadRowRequest]
615
- # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
615
+ # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
616
616
  # @!attribute [rw] mutate_row
617
617
  # @return [::Google::Cloud::Bigtable::V2::SessionMutateRowRequest]
618
- # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
618
+ # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
619
+ # @!attribute [rw] check_and_mutate_row
620
+ # @return [::Google::Cloud::Bigtable::V2::SessionCheckAndMutateRowRequest]
621
+ # Note: The following fields are mutually exclusive: `check_and_mutate_row`, `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
619
622
  class TableRequest
620
623
  include ::Google::Protobuf::MessageExts
621
624
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -624,10 +627,13 @@ module Google
624
627
  # Internal usage only.
625
628
  # @!attribute [rw] read_row
626
629
  # @return [::Google::Cloud::Bigtable::V2::SessionReadRowResponse]
627
- # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
630
+ # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
628
631
  # @!attribute [rw] mutate_row
629
632
  # @return [::Google::Cloud::Bigtable::V2::SessionMutateRowResponse]
630
- # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
633
+ # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
634
+ # @!attribute [rw] check_and_mutate_row
635
+ # @return [::Google::Cloud::Bigtable::V2::SessionCheckAndMutateRowResponse]
636
+ # Note: The following fields are mutually exclusive: `check_and_mutate_row`, `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
631
637
  class TableResponse
632
638
  include ::Google::Protobuf::MessageExts
633
639
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -636,10 +642,13 @@ module Google
636
642
  # A request wrapper for operations on an authorized view. Internal usage only.
637
643
  # @!attribute [rw] read_row
638
644
  # @return [::Google::Cloud::Bigtable::V2::SessionReadRowRequest]
639
- # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
645
+ # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
640
646
  # @!attribute [rw] mutate_row
641
647
  # @return [::Google::Cloud::Bigtable::V2::SessionMutateRowRequest]
642
- # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
648
+ # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
649
+ # @!attribute [rw] check_and_mutate_row
650
+ # @return [::Google::Cloud::Bigtable::V2::SessionCheckAndMutateRowRequest]
651
+ # Note: The following fields are mutually exclusive: `check_and_mutate_row`, `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
643
652
  class AuthorizedViewRequest
644
653
  include ::Google::Protobuf::MessageExts
645
654
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -648,10 +657,13 @@ module Google
648
657
  # A response wrapper for operations on an authorized view. Internal usage only.
649
658
  # @!attribute [rw] read_row
650
659
  # @return [::Google::Cloud::Bigtable::V2::SessionReadRowResponse]
651
- # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
660
+ # Note: The following fields are mutually exclusive: `read_row`, `mutate_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
652
661
  # @!attribute [rw] mutate_row
653
662
  # @return [::Google::Cloud::Bigtable::V2::SessionMutateRowResponse]
654
- # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
663
+ # Note: The following fields are mutually exclusive: `mutate_row`, `read_row`, `check_and_mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
664
+ # @!attribute [rw] check_and_mutate_row
665
+ # @return [::Google::Cloud::Bigtable::V2::SessionCheckAndMutateRowResponse]
666
+ # Note: The following fields are mutually exclusive: `check_and_mutate_row`, `read_row`, `mutate_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
655
667
  class AuthorizedViewResponse
656
668
  include ::Google::Protobuf::MessageExts
657
669
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -710,6 +722,28 @@ module Google
710
722
  extend ::Google::Protobuf::MessageExts::ClassMethods
711
723
  end
712
724
 
725
+ # Internal usage only.
726
+ # @!attribute [rw] key
727
+ # @return [::String]
728
+ # @!attribute [rw] predicate_filter
729
+ # @return [::Google::Cloud::Bigtable::V2::RowFilter]
730
+ # @!attribute [rw] true_mutations
731
+ # @return [::Array<::Google::Cloud::Bigtable::V2::Mutation>]
732
+ # @!attribute [rw] false_mutations
733
+ # @return [::Array<::Google::Cloud::Bigtable::V2::Mutation>]
734
+ class SessionCheckAndMutateRowRequest
735
+ include ::Google::Protobuf::MessageExts
736
+ extend ::Google::Protobuf::MessageExts::ClassMethods
737
+ end
738
+
739
+ # Internal usage only.
740
+ # @!attribute [rw] predicate_matched
741
+ # @return [::Boolean]
742
+ class SessionCheckAndMutateRowResponse
743
+ include ::Google::Protobuf::MessageExts
744
+ extend ::Google::Protobuf::MessageExts::ClassMethods
745
+ end
746
+
713
747
  # Internal usage only.
714
748
  # @!attribute [rw] keep_alive
715
749
  # @return [::Google::Protobuf::Duration]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -37,10 +37,10 @@ dependencies:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '1.0'
40
- description: Cloud Bigtable is a fully managed, scalable NoSQL database service for
41
- large analytical and operational workloads. Note that google-cloud-bigtable-v2 is
42
- a version-specific client library. For most uses, we recommend installing the main
43
- client library google-cloud-bigtable instead. See the readme for more details.
40
+ description: API for reading and writing the contents of Bigtable tables associated
41
+ with a Google Cloud project. Note that google-cloud-bigtable-v2 is a version-specific
42
+ client library. For most uses, we recommend installing the main client library google-cloud-bigtable
43
+ instead. See the readme for more details.
44
44
  email: googleapis-packages@google.com
45
45
  executables: []
46
46
  extensions: []
@@ -66,6 +66,10 @@ files:
66
66
  - lib/google/cloud/bigtable/v2/bigtable/credentials.rb
67
67
  - lib/google/cloud/bigtable/v2/bigtable/helpers.rb
68
68
  - lib/google/cloud/bigtable/v2/bigtable/paths.rb
69
+ - lib/google/cloud/bigtable/v2/bigtable/rest.rb
70
+ - lib/google/cloud/bigtable/v2/bigtable/rest/client.rb
71
+ - lib/google/cloud/bigtable/v2/bigtable/rest/service_stub.rb
72
+ - lib/google/cloud/bigtable/v2/rest.rb
69
73
  - lib/google/cloud/bigtable/v2/version.rb
70
74
  - proto_docs/README.md
71
75
  - proto_docs/google/api/client.rb