google-cloud-bigtable-admin-v2 1.5.0 → 1.7.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/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +7 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +7 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +16 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/helpers.rb +161 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +7 -0
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/bigtable/admin/v2/bigtable_table_admin.rb +14 -0
- data/proto_docs/google/bigtable/admin/v2/instance.rb +10 -0
- data/proto_docs/google/bigtable/admin/v2/table.rb +8 -0
- data/proto_docs/google/bigtable/admin/v2/types.rb +36 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +7 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f067b1921237963550519ac7fe09d2cf3c51a8ea107eb0be14841f0736cba7c8
|
4
|
+
data.tar.gz: f0997a901d9475630f967b8f633d2595452d6b093e588e6e4faed84a2ac249c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75fb714b320e7981e1af418d88ce387364a0ca0b652a13e9b447033d29c24866830d7716a63773e0da7ad7dbc86c9336fd908b6e2accea14dfaa96624f396b85
|
7
|
+
data.tar.gz: e2ad6abb83dfd8ded7ef8e9003950999463ab665f9e635a531a9758f152860f568bf54a47821ccada80d15deeb3797b995afca68fc3a19e3ebfc2b700ffccdf2
|
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
|
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 =
|
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,161 @@
|
|
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
|
+
require "gapic/common/polling_harness"
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Cloud
|
21
|
+
module Bigtable
|
22
|
+
module Admin
|
23
|
+
module V2
|
24
|
+
class GcRule # rubocop:disable Style/Documentation
|
25
|
+
##
|
26
|
+
# Construct a GcRule for max_num_versions
|
27
|
+
#
|
28
|
+
# @param value [Integer] The max_num_versions
|
29
|
+
# @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
|
30
|
+
#
|
31
|
+
def self.max_num_versions value
|
32
|
+
new max_num_versions: value
|
33
|
+
end
|
34
|
+
|
35
|
+
##
|
36
|
+
# Construct a GcRule for max_age
|
37
|
+
#
|
38
|
+
# @param value [Google::Protobuf::Duration] The max_age
|
39
|
+
# @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
|
40
|
+
#
|
41
|
+
def self.max_age value
|
42
|
+
new max_age: value
|
43
|
+
end
|
44
|
+
|
45
|
+
##
|
46
|
+
# Construct a GcRule that is an intersection of rules
|
47
|
+
#
|
48
|
+
# @param rules [Array<Google::Cloud::Bigtable::Admin::V2::GcRule>] The component rules
|
49
|
+
# @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
|
50
|
+
#
|
51
|
+
def self.intersection *rules
|
52
|
+
rules = Array(rules.first) if rules.size == 1
|
53
|
+
intersection = Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection.new rules: rules
|
54
|
+
new intersection: intersection
|
55
|
+
end
|
56
|
+
|
57
|
+
##
|
58
|
+
# Construct a GcRule that is a union of rules
|
59
|
+
#
|
60
|
+
# @param rules [Array<Google::Cloud::Bigtable::Admin::V2::GcRule>] The component rules
|
61
|
+
# @return [Google::Cloud::Bigtable::Admin::V2::GcRule]
|
62
|
+
#
|
63
|
+
def self.union *rules
|
64
|
+
rules = Array(rules.first) if rules.size == 1
|
65
|
+
union = Google::Cloud::Bigtable::Admin::V2::GcRule::Union.new rules: rules
|
66
|
+
new union: union
|
67
|
+
end
|
68
|
+
|
69
|
+
# @private
|
70
|
+
def []= key, value
|
71
|
+
_oneof_warning key, rule if !value.nil? && !rule.nil? && key != rule.to_s
|
72
|
+
super
|
73
|
+
end
|
74
|
+
|
75
|
+
# @private
|
76
|
+
def max_num_versions= value
|
77
|
+
_oneof_warning "max_num_versions", rule if !value.nil? && !rule.nil? && rule != :max_num_versions
|
78
|
+
super
|
79
|
+
end
|
80
|
+
|
81
|
+
# @private
|
82
|
+
def max_age= value
|
83
|
+
_oneof_warning "max_age", rule if !value.nil? && !rule.nil? && rule != :max_age
|
84
|
+
super
|
85
|
+
end
|
86
|
+
|
87
|
+
# @private
|
88
|
+
def intersection= value
|
89
|
+
_oneof_warning "intersection", rule if !value.nil? && !rule.nil? && rule != :intersection
|
90
|
+
super
|
91
|
+
end
|
92
|
+
|
93
|
+
# @private
|
94
|
+
def union= value
|
95
|
+
_oneof_warning "union", rule if !value.nil? && !rule.nil? && rule != :union
|
96
|
+
super
|
97
|
+
end
|
98
|
+
|
99
|
+
private
|
100
|
+
|
101
|
+
def _oneof_warning cur, last
|
102
|
+
warn "WARNING: #{caller(2).first}: At most one GcRule field can be set. " \
|
103
|
+
"Setting GcRule##{cur} automatically clears GcRule##{last}. " \
|
104
|
+
"To suppress this warning, explicitly clear GcRule##{last} to nil first."
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
module BigtableTableAdmin
|
109
|
+
class Client # rubocop:disable Style/Documentation
|
110
|
+
##
|
111
|
+
# Wait until the given table consistently reflects mutations up
|
112
|
+
# to this point.
|
113
|
+
#
|
114
|
+
# @param name [String] The table name, in the form
|
115
|
+
# `projects/{project}/instances/{instance}/tables/{table}`.
|
116
|
+
# @param consistency_token [String] A consistency token
|
117
|
+
# identifying the mutations to be checked. If not provided,
|
118
|
+
# one is generated automatically.
|
119
|
+
# @param retry_policy [Gapic::Common::RetryPolicy] A retry policy.
|
120
|
+
# If not provided, uses the given initial_delay, max_delay,
|
121
|
+
# multipler, timeout, and retry_codes.
|
122
|
+
# @param initial_delay [Numeric] Initial delay in seconds.
|
123
|
+
# Defaults to 1.
|
124
|
+
# @param max_delay [Numeric] Maximum delay in seconds.
|
125
|
+
# Defaults to 15.
|
126
|
+
# @param multiplier [Numeric] The delay scaling factor for each
|
127
|
+
# subsequent retry attempt. Defaults to 1.3.
|
128
|
+
# @param retry_codes [Array<String|Integer>] List of retry codes.
|
129
|
+
# @param timeout [Numeric] Timeout threshold value in seconds.
|
130
|
+
# Defaults to 3600 (1 hour).
|
131
|
+
#
|
132
|
+
# @return [nil] If the table is now consistent.
|
133
|
+
# @return [String] The consistency token if the wait timed out.
|
134
|
+
# The returned token can be passed into another call to wait
|
135
|
+
# again for the same mutation set.
|
136
|
+
#
|
137
|
+
def wait_for_replication name, consistency_token: nil,
|
138
|
+
retry_policy: nil,
|
139
|
+
initial_delay: nil,
|
140
|
+
max_delay: nil,
|
141
|
+
multiplier: nil,
|
142
|
+
retry_codes: nil,
|
143
|
+
timeout: nil,
|
144
|
+
mock_delay: false
|
145
|
+
consistency_token ||= generate_consistency_token(name: name).consistency_token
|
146
|
+
poller = Gapic::Common::PollingHarness.new retry_policy: retry_policy,
|
147
|
+
initial_delay: initial_delay, max_delay: max_delay,
|
148
|
+
multiplier: multiplier, retry_codes: retry_codes,
|
149
|
+
timeout: timeout
|
150
|
+
poller.wait timeout_result: consistency_token, wait_sentinel: :wait, mock_delay: mock_delay do
|
151
|
+
response = check_consistency name: name, consistency_token: consistency_token
|
152
|
+
response.consistent ? nil : :wait
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
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
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-31 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.
|
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.
|
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: '
|
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.
|
137
|
-
signing_key:
|
135
|
+
rubygems_version: 3.6.3
|
138
136
|
specification_version: 4
|
139
137
|
summary: Administer your Cloud Bigtable tables and instances.
|
140
138
|
test_files: []
|