google-cloud-bigtable-admin-v2 1.5.0 → 1.6.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: 031bc1cf074d669b340b72ee82425655a1d615ad15adbb759a193faf96e2a005
4
- data.tar.gz: 59a14a20d6e05245d5d6e3097b0bd07808761998c13b44e7761015ecfeaa62ca
3
+ metadata.gz: 197232f51e8274c1efa7709e5d62352d683fad7369f755956d186f219041ec03
4
+ data.tar.gz: e7618dc182e1bd14157e3257c20c44baa381b245e5626c62d73d04b85aa5b2ea
5
5
  SHA512:
6
- metadata.gz: 92973aad7e72fe5b84176dce60de5bbe78ac3b9c73015051dd659abbcac3e4de049993b40755c011207ca765c44935d13d5ca7f50b015d2b5de99381a1ffb0fa
7
- data.tar.gz: 445ef7347c7e90a4c5d500171c2523a8eeabed47aca3207fae6944b0eade0cc127567fdf14c0bdae3f7482d925f3bc144ed3552db4ce0f4636cc155e67351e94
6
+ metadata.gz: dd2b95e23bdbe03f94a520577d6154ba1294c098016c591a8b48cd21de0c7af39f28b2366b3c8e7bdfedb41b1996fcfaddb2614ffa19ce18b822fe530d91e0bc
7
+ data.tar.gz: 9c715b9d67ececb6219b0773ed8ded71939623cb0287e5da724197d251655ac665deec9e25a3831c210d2d0435a1935fe8ad7c8ce64d1162080a980348ab7f78
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -2369,6 +2369,13 @@ module Google
2369
2369
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2370
2370
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2371
2371
  # * (`nil`) indicating no credentials
2372
+ #
2373
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2374
+ # external source for authentication to Google Cloud, you must validate it before
2375
+ # providing it to a Google API client library. Providing an unvalidated credential
2376
+ # configuration to Google APIs can compromise the security of your systems and data.
2377
+ # For more information, refer to [Validate credential configurations from external
2378
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2372
2379
  # @return [::Object]
2373
2380
  # @!attribute [rw] scope
2374
2381
  # The OAuth scopes
@@ -641,6 +641,13 @@ module Google
641
641
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
642
642
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
643
  # * (`nil`) indicating no credentials
644
+ #
645
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
646
+ # external source for authentication to Google Cloud, you must validate it before
647
+ # providing it to a Google API client library. Providing an unvalidated credential
648
+ # configuration to Google APIs can compromise the security of your systems and data.
649
+ # For more information, refer to [Validate credential configurations from external
650
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
644
651
  # @return [::Object]
645
652
  # @!attribute [rw] scope
646
653
  # The OAuth scopes
@@ -98,7 +98,7 @@ module Google
98
98
  initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
99
99
  }
100
100
 
101
- default_config.rpcs.check_consistency.timeout = 60.0
101
+ default_config.rpcs.check_consistency.timeout = 3600.0
102
102
  default_config.rpcs.check_consistency.retry_policy = {
103
103
  initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
104
104
  }
@@ -1606,9 +1606,13 @@ module Google
1606
1606
  # @param row_key_prefix [::String]
1607
1607
  # Delete all rows that start with this row key prefix. Prefix cannot be
1608
1608
  # zero length.
1609
+ #
1610
+ # Note: The following fields are mutually exclusive: `row_key_prefix`, `delete_all_data_from_table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1609
1611
  # @param delete_all_data_from_table [::Boolean]
1610
1612
  # Delete all rows in the table. Setting this to false is a no-op.
1611
1613
  #
1614
+ # Note: The following fields are mutually exclusive: `delete_all_data_from_table`, `row_key_prefix`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1615
+ #
1612
1616
  # @yield [response, operation] Access the result along with the RPC operation
1613
1617
  # @yieldparam response [::Google::Protobuf::Empty]
1614
1618
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
@@ -1793,11 +1797,15 @@ module Google
1793
1797
  # Checks that reads using an app profile with `StandardIsolation` can
1794
1798
  # see all writes committed before the token was created, even if the
1795
1799
  # read and write target different clusters.
1800
+ #
1801
+ # Note: The following fields are mutually exclusive: `standard_read_remote_writes`, `data_boost_read_local_writes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1796
1802
  # @param data_boost_read_local_writes [::Google::Cloud::Bigtable::Admin::V2::DataBoostReadLocalWrites, ::Hash]
1797
1803
  # Checks that reads using an app profile with `DataBoostIsolationReadOnly`
1798
1804
  # can see all writes committed before the token was created, but only if
1799
1805
  # the read and write target the same cluster.
1800
1806
  #
1807
+ # Note: The following fields are mutually exclusive: `data_boost_read_local_writes`, `standard_read_remote_writes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1808
+ #
1801
1809
  # @yield [response, operation] Access the result along with the RPC operation
1802
1810
  # @yieldparam response [::Google::Cloud::Bigtable::Admin::V2::CheckConsistencyResponse]
1803
1811
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
@@ -3367,6 +3375,13 @@ module Google
3367
3375
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3368
3376
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3369
3377
  # * (`nil`) indicating no credentials
3378
+ #
3379
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3380
+ # external source for authentication to Google Cloud, you must validate it before
3381
+ # providing it to a Google API client library. Providing an unvalidated credential
3382
+ # configuration to Google APIs can compromise the security of your systems and data.
3383
+ # For more information, refer to [Validate credential configurations from external
3384
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3370
3385
  # @return [::Object]
3371
3386
  # @!attribute [rw] scope
3372
3387
  # The OAuth scopes
@@ -0,0 +1,110 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+
18
+ module Google
19
+ module Cloud
20
+ module Bigtable
21
+ module Admin
22
+ module V2
23
+ class GcRule # rubocop:disable Style/Documentation
24
+ ##
25
+ # Construct a GcRule for max_num_versions
26
+ #
27
+ # @param value [Integer] The max_num_versions
28
+ # @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
29
+ #
30
+ def self.max_num_versions value
31
+ new max_num_versions: value
32
+ end
33
+
34
+ ##
35
+ # Construct a GcRule for max_age
36
+ #
37
+ # @param value [Google::Protobuf::Duration] The max_age
38
+ # @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
39
+ #
40
+ def self.max_age value
41
+ new max_age: value
42
+ end
43
+
44
+ ##
45
+ # Construct a GcRule that is an intersection of rules
46
+ #
47
+ # @param rules [Array<Google::Cloud::Bigtable::Admin::V2::GcRule>] The component rules
48
+ # @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
49
+ #
50
+ def self.intersection *rules
51
+ rules = Array(rules.first) if rules.size == 1
52
+ intersection = Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection.new rules: rules
53
+ new intersection: intersection
54
+ end
55
+
56
+ ##
57
+ # Construct a GcRule that is a union of rules
58
+ #
59
+ # @param rules [Array<Google::Cloud::Bigtable::Admin::V2::GcRule>] The component rules
60
+ # @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
61
+ #
62
+ def self.union *rules
63
+ rules = Array(rules.first) if rules.size == 1
64
+ union = Google::Cloud::Bigtable::Admin::V2::GcRule::Union.new rules: rules
65
+ new union: union
66
+ end
67
+
68
+ # @private
69
+ def []= key, value
70
+ _oneof_warning key, rule if !value.nil? && !rule.nil? && key != rule.to_s
71
+ super
72
+ end
73
+
74
+ # @private
75
+ def max_num_versions= value
76
+ _oneof_warning "max_num_versions", rule if !value.nil? && !rule.nil? && rule != :max_num_versions
77
+ super
78
+ end
79
+
80
+ # @private
81
+ def max_age= value
82
+ _oneof_warning "max_age", rule if !value.nil? && !rule.nil? && rule != :max_age
83
+ super
84
+ end
85
+
86
+ # @private
87
+ def intersection= value
88
+ _oneof_warning "intersection", rule if !value.nil? && !rule.nil? && rule != :intersection
89
+ super
90
+ end
91
+
92
+ # @private
93
+ def union= value
94
+ _oneof_warning "union", rule if !value.nil? && !rule.nil? && rule != :union
95
+ super
96
+ end
97
+
98
+ private
99
+
100
+ def _oneof_warning cur, last
101
+ warn "WARNING: #{caller(2).first}: At most one GcRule field can be set. " \
102
+ "Setting GcRule##{cur} automatically clears GcRule##{last}. " \
103
+ "To suppress this warning, explicitly clear GcRule##{last} to nil first."
104
+ end
105
+ end
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
@@ -641,6 +641,13 @@ module Google
641
641
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
642
642
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
643
  # * (`nil`) indicating no credentials
644
+ #
645
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
646
+ # external source for authentication to Google Cloud, you must validate it before
647
+ # providing it to a Google API client library. Providing an unvalidated credential
648
+ # configuration to Google APIs can compromise the security of your systems and data.
649
+ # For more information, refer to [Validate credential configurations from external
650
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
644
651
  # @return [::Object]
645
652
  # @!attribute [rw] scope
646
653
  # The OAuth scopes
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "1.5.0"
25
+ VERSION = "1.6.0"
26
26
  end
27
27
  end
28
28
  end
@@ -172,9 +172,13 @@ module Google
172
172
  # @return [::String]
173
173
  # Delete all rows that start with this row key prefix. Prefix cannot be
174
174
  # zero length.
175
+ #
176
+ # Note: The following fields are mutually exclusive: `row_key_prefix`, `delete_all_data_from_table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
175
177
  # @!attribute [rw] delete_all_data_from_table
176
178
  # @return [::Boolean]
177
179
  # Delete all rows in the table. Setting this to false is a no-op.
180
+ #
181
+ # Note: The following fields are mutually exclusive: `delete_all_data_from_table`, `row_key_prefix`. If a field in that set is populated, all other fields in the set will automatically be cleared.
178
182
  class DropRowRangeRequest
179
183
  include ::Google::Protobuf::MessageExts
180
184
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -349,14 +353,20 @@ module Google
349
353
  # @return [::Google::Cloud::Bigtable::Admin::V2::ColumnFamily]
350
354
  # Create a new column family with the specified schema, or fail if
351
355
  # one already exists with the given ID.
356
+ #
357
+ # Note: The following fields are mutually exclusive: `create`, `update`, `drop`. If a field in that set is populated, all other fields in the set will automatically be cleared.
352
358
  # @!attribute [rw] update
353
359
  # @return [::Google::Cloud::Bigtable::Admin::V2::ColumnFamily]
354
360
  # Update an existing column family to the specified schema, or fail
355
361
  # if no column family exists with the given ID.
362
+ #
363
+ # Note: The following fields are mutually exclusive: `update`, `create`, `drop`. If a field in that set is populated, all other fields in the set will automatically be cleared.
356
364
  # @!attribute [rw] drop
357
365
  # @return [::Boolean]
358
366
  # Drop (delete) the column family with the given ID, or fail if no such
359
367
  # family exists.
368
+ #
369
+ # Note: The following fields are mutually exclusive: `drop`, `create`, `update`. If a field in that set is populated, all other fields in the set will automatically be cleared.
360
370
  # @!attribute [rw] update_mask
361
371
  # @return [::Google::Protobuf::FieldMask]
362
372
  # Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update`
@@ -405,11 +415,15 @@ module Google
405
415
  # Checks that reads using an app profile with `StandardIsolation` can
406
416
  # see all writes committed before the token was created, even if the
407
417
  # read and write target different clusters.
418
+ #
419
+ # Note: The following fields are mutually exclusive: `standard_read_remote_writes`, `data_boost_read_local_writes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
408
420
  # @!attribute [rw] data_boost_read_local_writes
409
421
  # @return [::Google::Cloud::Bigtable::Admin::V2::DataBoostReadLocalWrites]
410
422
  # Checks that reads using an app profile with `DataBoostIsolationReadOnly`
411
423
  # can see all writes committed before the token was created, but only if
412
424
  # the read and write target the same cluster.
425
+ #
426
+ # Note: The following fields are mutually exclusive: `data_boost_read_local_writes`, `standard_read_remote_writes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
413
427
  class CheckConsistencyRequest
414
428
  include ::Google::Protobuf::MessageExts
415
429
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -279,9 +279,13 @@ module Google
279
279
  # @!attribute [rw] multi_cluster_routing_use_any
280
280
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::MultiClusterRoutingUseAny]
281
281
  # Use a multi-cluster routing policy.
282
+ #
283
+ # Note: The following fields are mutually exclusive: `multi_cluster_routing_use_any`, `single_cluster_routing`. If a field in that set is populated, all other fields in the set will automatically be cleared.
282
284
  # @!attribute [rw] single_cluster_routing
283
285
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::SingleClusterRouting]
284
286
  # Use a single-cluster routing policy.
287
+ #
288
+ # Note: The following fields are mutually exclusive: `single_cluster_routing`, `multi_cluster_routing_use_any`. If a field in that set is populated, all other fields in the set will automatically be cleared.
285
289
  # @!attribute [rw] priority
286
290
  # @deprecated This field is deprecated and may be removed in the next major version update.
287
291
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::Priority]
@@ -289,14 +293,20 @@ module Google
289
293
  # If you set this field, `standard_isolation.priority` will be set instead.
290
294
  #
291
295
  # The priority of requests sent using this app profile.
296
+ #
297
+ # Note: The following fields are mutually exclusive: `priority`, `standard_isolation`, `data_boost_isolation_read_only`. If a field in that set is populated, all other fields in the set will automatically be cleared.
292
298
  # @!attribute [rw] standard_isolation
293
299
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::StandardIsolation]
294
300
  # The standard options used for isolating this app profile's traffic from
295
301
  # other use cases.
302
+ #
303
+ # Note: The following fields are mutually exclusive: `standard_isolation`, `priority`, `data_boost_isolation_read_only`. If a field in that set is populated, all other fields in the set will automatically be cleared.
296
304
  # @!attribute [rw] data_boost_isolation_read_only
297
305
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::DataBoostIsolationReadOnly]
298
306
  # Specifies that this app profile is intended for read-only usage via the
299
307
  # Data Boost feature.
308
+ #
309
+ # Note: The following fields are mutually exclusive: `data_boost_isolation_read_only`, `priority`, `standard_isolation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
300
310
  class AppProfile
301
311
  include ::Google::Protobuf::MessageExts
302
312
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -321,17 +321,25 @@ module Google
321
321
  # @!attribute [rw] max_num_versions
322
322
  # @return [::Integer]
323
323
  # Delete all cells in a column except the most recent N.
324
+ #
325
+ # Note: The following fields are mutually exclusive: `max_num_versions`, `max_age`, `intersection`, `union`. If a field in that set is populated, all other fields in the set will automatically be cleared.
324
326
  # @!attribute [rw] max_age
325
327
  # @return [::Google::Protobuf::Duration]
326
328
  # Delete cells in a column older than the given age.
327
329
  # Values must be at least one millisecond, and will be truncated to
328
330
  # microsecond granularity.
331
+ #
332
+ # Note: The following fields are mutually exclusive: `max_age`, `max_num_versions`, `intersection`, `union`. If a field in that set is populated, all other fields in the set will automatically be cleared.
329
333
  # @!attribute [rw] intersection
330
334
  # @return [::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection]
331
335
  # Delete cells that would be deleted by every nested rule.
336
+ #
337
+ # Note: The following fields are mutually exclusive: `intersection`, `max_num_versions`, `max_age`, `union`. If a field in that set is populated, all other fields in the set will automatically be cleared.
332
338
  # @!attribute [rw] union
333
339
  # @return [::Google::Cloud::Bigtable::Admin::V2::GcRule::Union]
334
340
  # Delete cells that would be deleted by any nested rule.
341
+ #
342
+ # Note: The following fields are mutually exclusive: `union`, `max_num_versions`, `max_age`, `intersection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
335
343
  class GcRule
336
344
  include ::Google::Protobuf::MessageExts
337
345
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -49,39 +49,63 @@ module Google
49
49
  # @!attribute [rw] bytes_type
50
50
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Bytes]
51
51
  # Bytes
52
+ #
53
+ # Note: The following fields are mutually exclusive: `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
54
  # @!attribute [rw] string_type
53
55
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::String]
54
56
  # String
57
+ #
58
+ # Note: The following fields are mutually exclusive: `string_type`, `bytes_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
55
59
  # @!attribute [rw] int64_type
56
60
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Int64]
57
61
  # Int64
62
+ #
63
+ # Note: The following fields are mutually exclusive: `int64_type`, `bytes_type`, `string_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
58
64
  # @!attribute [rw] float32_type
59
65
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Float32]
60
66
  # Float32
67
+ #
68
+ # Note: The following fields are mutually exclusive: `float32_type`, `bytes_type`, `string_type`, `int64_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
61
69
  # @!attribute [rw] float64_type
62
70
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Float64]
63
71
  # Float64
72
+ #
73
+ # Note: The following fields are mutually exclusive: `float64_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
64
74
  # @!attribute [rw] bool_type
65
75
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Bool]
66
76
  # Bool
77
+ #
78
+ # Note: The following fields are mutually exclusive: `bool_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
67
79
  # @!attribute [rw] timestamp_type
68
80
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Timestamp]
69
81
  # Timestamp
82
+ #
83
+ # Note: The following fields are mutually exclusive: `timestamp_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
70
84
  # @!attribute [rw] date_type
71
85
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Date]
72
86
  # Date
87
+ #
88
+ # Note: The following fields are mutually exclusive: `date_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `aggregate_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
73
89
  # @!attribute [rw] aggregate_type
74
90
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate]
75
91
  # Aggregate
92
+ #
93
+ # Note: The following fields are mutually exclusive: `aggregate_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `struct_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
76
94
  # @!attribute [rw] struct_type
77
95
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Struct]
78
96
  # Struct
97
+ #
98
+ # Note: The following fields are mutually exclusive: `struct_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `array_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
79
99
  # @!attribute [rw] array_type
80
100
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Array]
81
101
  # Array
102
+ #
103
+ # Note: The following fields are mutually exclusive: `array_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `map_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
82
104
  # @!attribute [rw] map_type
83
105
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Map]
84
106
  # Map
107
+ #
108
+ # Note: The following fields are mutually exclusive: `map_type`, `bytes_type`, `string_type`, `int64_type`, `float32_type`, `float64_type`, `bool_type`, `timestamp_type`, `date_type`, `aggregate_type`, `struct_type`, `array_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
85
109
  class Type
86
110
  include ::Google::Protobuf::MessageExts
87
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -128,9 +152,13 @@ module Google
128
152
  # @deprecated This field is deprecated and may be removed in the next major version update.
129
153
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::String::Encoding::Utf8Raw]
130
154
  # Deprecated: if set, converts to an empty `utf8_bytes`.
155
+ #
156
+ # Note: The following fields are mutually exclusive: `utf8_raw`, `utf8_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
131
157
  # @!attribute [rw] utf8_bytes
132
158
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::String::Encoding::Utf8Bytes]
133
159
  # Use `Utf8Bytes` encoding.
160
+ #
161
+ # Note: The following fields are mutually exclusive: `utf8_bytes`, `utf8_raw`. If a field in that set is populated, all other fields in the set will automatically be cleared.
134
162
  class Encoding
135
163
  include ::Google::Protobuf::MessageExts
136
164
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -298,15 +326,23 @@ module Google
298
326
  # @!attribute [rw] sum
299
327
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Sum]
300
328
  # Sum aggregator.
329
+ #
330
+ # Note: The following fields are mutually exclusive: `sum`, `hllpp_unique_count`, `max`, `min`. If a field in that set is populated, all other fields in the set will automatically be cleared.
301
331
  # @!attribute [rw] hllpp_unique_count
302
332
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount]
303
333
  # HyperLogLogPlusPlusUniqueCount aggregator.
334
+ #
335
+ # Note: The following fields are mutually exclusive: `hllpp_unique_count`, `sum`, `max`, `min`. If a field in that set is populated, all other fields in the set will automatically be cleared.
304
336
  # @!attribute [rw] max
305
337
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Max]
306
338
  # Max aggregator.
339
+ #
340
+ # Note: The following fields are mutually exclusive: `max`, `sum`, `hllpp_unique_count`, `min`. If a field in that set is populated, all other fields in the set will automatically be cleared.
307
341
  # @!attribute [rw] min
308
342
  # @return [::Google::Cloud::Bigtable::Admin::V2::Type::Aggregate::Min]
309
343
  # Min aggregator.
344
+ #
345
+ # Note: The following fields are mutually exclusive: `min`, `sum`, `hllpp_unique_count`, `max`. If a field in that set is populated, all other fields in the set will automatically be cleared.
310
346
  class Aggregate
311
347
  include ::Google::Protobuf::MessageExts
312
348
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable-admin-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -89,6 +88,7 @@ files:
89
88
  - lib/google/cloud/bigtable/admin/v2/bigtable_table_admin.rb
90
89
  - lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb
91
90
  - lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/credentials.rb
91
+ - lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/helpers.rb
92
92
  - lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb
93
93
  - lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/paths.rb
94
94
  - lib/google/cloud/bigtable/admin/v2/version.rb
@@ -118,7 +118,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
118
118
  licenses:
119
119
  - Apache-2.0
120
120
  metadata: {}
121
- post_install_message:
122
121
  rdoc_options: []
123
122
  require_paths:
124
123
  - lib
@@ -126,15 +125,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
125
  requirements:
127
126
  - - ">="
128
127
  - !ruby/object:Gem::Version
129
- version: '2.7'
128
+ version: '3.0'
130
129
  required_rubygems_version: !ruby/object:Gem::Requirement
131
130
  requirements:
132
131
  - - ">="
133
132
  - !ruby/object:Gem::Version
134
133
  version: '0'
135
134
  requirements: []
136
- rubygems_version: 3.5.23
137
- signing_key:
135
+ rubygems_version: 3.6.2
138
136
  specification_version: 4
139
137
  summary: Administer your Cloud Bigtable tables and instances.
140
138
  test_files: []