google-cloud-bigtable-admin-v2 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +17 -1
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +2 -1
- data/lib/google/bigtable/admin/v2/common_pb.rb +3 -2
- data/lib/google/bigtable/admin/v2/instance_pb.rb +3 -2
- data/lib/google/bigtable/admin/v2/table_pb.rb +3 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +10 -11
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb +53 -0
- data/proto_docs/google/bigtable/admin/v2/instance.rb +11 -16
- data/proto_docs/google/bigtable/admin/v2/table.rb +18 -22
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e9201027008c7b17b95ee7392a13fb87036c07e3f3055e1ccc93d777bf733db
|
4
|
+
data.tar.gz: 76b046eed9d5bd16351a6ae51436aebe5293834f0b816ba355ad14906a2badf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08137ab0a06655e2f400e5dd2a92e63e6485f765d11bf66a3cf1638fa6aa76ffcb8f84f42a4f32b9e5d4cfc0a8cc111d5b09e433b7ac0760f3c09f6a78504317'
|
7
|
+
data.tar.gz: 532f8848e1f1a2064fc324d9c2f152537d1a2995c45b4eb33aa2a5146d1c109101c5ad86941e46a8144a45d81e86256c5d67e292bb848de1a3affe2bf771175d
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/bigtable/admin/v2/bigtable_instance_admin.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -12,7 +14,6 @@ require 'google/longrunning/operations_pb'
|
|
12
14
|
require 'google/protobuf/empty_pb'
|
13
15
|
require 'google/protobuf/field_mask_pb'
|
14
16
|
require 'google/protobuf/timestamp_pb'
|
15
|
-
require 'google/protobuf'
|
16
17
|
|
17
18
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
19
|
add_file("google/bigtable/admin/v2/bigtable_instance_admin.proto", :syntax => :proto3) do
|
@@ -75,6 +76,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
75
76
|
optional :original_request, :message, 1, "google.bigtable.admin.v2.CreateClusterRequest"
|
76
77
|
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
77
78
|
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
79
|
+
map :tables, :string, :message, 4, "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress"
|
80
|
+
end
|
81
|
+
add_message "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress" do
|
82
|
+
optional :estimated_size_bytes, :int64, 2
|
83
|
+
optional :estimated_copied_bytes, :int64, 3
|
84
|
+
optional :state, :enum, 4, "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State"
|
85
|
+
end
|
86
|
+
add_enum "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State" do
|
87
|
+
value :STATE_UNSPECIFIED, 0
|
88
|
+
value :PENDING, 1
|
89
|
+
value :COPYING, 2
|
90
|
+
value :COMPLETED, 3
|
91
|
+
value :CANCELLED, 4
|
78
92
|
end
|
79
93
|
add_message "google.bigtable.admin.v2.UpdateClusterMetadata" do
|
80
94
|
optional :original_request, :message, 1, "google.bigtable.admin.v2.Cluster"
|
@@ -153,6 +167,8 @@ module Google
|
|
153
167
|
CreateInstanceMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceMetadata").msgclass
|
154
168
|
UpdateInstanceMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateInstanceMetadata").msgclass
|
155
169
|
CreateClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterMetadata").msgclass
|
170
|
+
CreateClusterMetadata::TableProgress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterMetadata.TableProgress").msgclass
|
171
|
+
CreateClusterMetadata::TableProgress::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State").enummodule
|
156
172
|
UpdateClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateClusterMetadata").msgclass
|
157
173
|
PartialUpdateClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.PartialUpdateClusterMetadata").msgclass
|
158
174
|
PartialUpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.PartialUpdateClusterRequest").msgclass
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/bigtable/admin/v2/bigtable_table_admin.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -14,7 +16,6 @@ require 'google/protobuf/duration_pb'
|
|
14
16
|
require 'google/protobuf/empty_pb'
|
15
17
|
require 'google/protobuf/field_mask_pb'
|
16
18
|
require 'google/protobuf/timestamp_pb'
|
17
|
-
require 'google/protobuf'
|
18
19
|
|
19
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
20
21
|
add_file("google/bigtable/admin/v2/bigtable_table_admin.proto", :syntax => :proto3) do
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/bigtable/admin/v2/common.proto
|
3
3
|
|
4
|
-
require 'google/protobuf/timestamp_pb'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("google/bigtable/admin/v2/common.proto", :syntax => :proto3) do
|
10
11
|
add_message "google.bigtable.admin.v2.OperationProgress" do
|
@@ -1,12 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/bigtable/admin/v2/instance.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
4
7
|
require 'google/api/field_behavior_pb'
|
5
8
|
require 'google/api/resource_pb'
|
6
9
|
require 'google/bigtable/admin/v2/common_pb'
|
7
10
|
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/api/annotations_pb'
|
9
|
-
require 'google/protobuf'
|
10
11
|
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_file("google/bigtable/admin/v2/instance.proto", :syntax => :proto3) do
|
@@ -1,12 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/bigtable/admin/v2/table.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
4
7
|
require 'google/api/field_behavior_pb'
|
5
8
|
require 'google/api/resource_pb'
|
6
9
|
require 'google/protobuf/duration_pb'
|
7
10
|
require 'google/protobuf/timestamp_pb'
|
8
11
|
require 'google/rpc/status_pb'
|
9
|
-
require 'google/protobuf'
|
10
12
|
|
11
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
14
|
add_file("google/bigtable/admin/v2/table.proto", :syntax => :proto3) do
|
@@ -108,11 +108,6 @@ module Google
|
|
108
108
|
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
109
109
|
}
|
110
110
|
|
111
|
-
default_config.rpcs.partial_update_cluster.timeout = 60.0
|
112
|
-
default_config.rpcs.partial_update_cluster.retry_policy = {
|
113
|
-
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
114
|
-
}
|
115
|
-
|
116
111
|
default_config.rpcs.delete_cluster.timeout = 60.0
|
117
112
|
|
118
113
|
default_config.rpcs.create_app_profile.timeout = 60.0
|
@@ -546,11 +541,14 @@ module Google
|
|
546
541
|
# @param options [::Gapic::CallOptions, ::Hash]
|
547
542
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
548
543
|
#
|
549
|
-
# @overload update_instance(display_name: nil, state: nil, type: nil, labels: nil)
|
544
|
+
# @overload update_instance(name: nil, display_name: nil, state: nil, type: nil, labels: nil)
|
550
545
|
# Pass arguments to `update_instance` via keyword arguments. Note that at
|
551
546
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
552
547
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
553
548
|
#
|
549
|
+
# @param name [::String]
|
550
|
+
# The unique name of the instance. Values are of the form
|
551
|
+
# `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
|
554
552
|
# @param display_name [::String]
|
555
553
|
# Required. The descriptive name for this instance as it appears in UIs.
|
556
554
|
# Can be changed at any time, but should be kept globally unique
|
@@ -1121,14 +1119,16 @@ module Google
|
|
1121
1119
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1122
1120
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1123
1121
|
#
|
1124
|
-
# @overload update_cluster(location: nil, serve_nodes: nil, cluster_config: nil, default_storage_type: nil, encryption_config: nil)
|
1122
|
+
# @overload update_cluster(name: nil, location: nil, serve_nodes: nil, cluster_config: nil, default_storage_type: nil, encryption_config: nil)
|
1125
1123
|
# Pass arguments to `update_cluster` via keyword arguments. Note that at
|
1126
1124
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1127
1125
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1128
1126
|
#
|
1127
|
+
# @param name [::String]
|
1128
|
+
# The unique name of the cluster. Values are of the form
|
1129
|
+
# `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
|
1129
1130
|
# @param location [::String]
|
1130
|
-
#
|
1131
|
-
# The location where this cluster's nodes and storage reside. For best
|
1131
|
+
# Immutable. The location where this cluster's nodes and storage reside. For best
|
1132
1132
|
# performance, clients should be located as close as possible to this
|
1133
1133
|
# cluster. Currently only zones are supported, so values should be of the
|
1134
1134
|
# form `projects/{project}/locations/{zone}`.
|
@@ -1138,8 +1138,7 @@ module Google
|
|
1138
1138
|
# @param cluster_config [::Google::Cloud::Bigtable::Admin::V2::Cluster::ClusterConfig, ::Hash]
|
1139
1139
|
# Configuration for this cluster.
|
1140
1140
|
# @param default_storage_type [::Google::Cloud::Bigtable::Admin::V2::StorageType]
|
1141
|
-
#
|
1142
|
-
# The type of storage used by this cluster to serve its
|
1141
|
+
# Immutable. The type of storage used by this cluster to serve its
|
1143
1142
|
# parent instance's tables, unless explicitly overridden.
|
1144
1143
|
# @param encryption_config [::Google::Cloud::Bigtable::Admin::V2::Cluster::EncryptionConfig, ::Hash]
|
1145
1144
|
# Immutable. The encryption configuration for CMEK-protected clusters.
|
@@ -237,9 +237,62 @@ module Google
|
|
237
237
|
# @!attribute [rw] finish_time
|
238
238
|
# @return [::Google::Protobuf::Timestamp]
|
239
239
|
# The time at which the operation failed or was completed successfully.
|
240
|
+
# @!attribute [rw] tables
|
241
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress}]
|
242
|
+
# Keys: the full `name` of each table that existed in the instance when
|
243
|
+
# CreateCluster was first called, i.e.
|
244
|
+
# `projects/<project>/instances/<instance>/tables/<table>`. Any table added
|
245
|
+
# to the instance by a later API call will be created in the new cluster by
|
246
|
+
# that API call, not this one.
|
247
|
+
#
|
248
|
+
# Values: information on how much of a table's data has been copied to the
|
249
|
+
# newly-created cluster so far.
|
240
250
|
class CreateClusterMetadata
|
241
251
|
include ::Google::Protobuf::MessageExts
|
242
252
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
|
254
|
+
# Progress info for copying a table's data to the new cluster.
|
255
|
+
# @!attribute [rw] estimated_size_bytes
|
256
|
+
# @return [::Integer]
|
257
|
+
# Estimate of the size of the table to be copied.
|
258
|
+
# @!attribute [rw] estimated_copied_bytes
|
259
|
+
# @return [::Integer]
|
260
|
+
# Estimate of the number of bytes copied so far for this table.
|
261
|
+
# This will eventually reach 'estimated_size_bytes' unless the table copy
|
262
|
+
# is CANCELLED.
|
263
|
+
# @!attribute [rw] state
|
264
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress::State]
|
265
|
+
class TableProgress
|
266
|
+
include ::Google::Protobuf::MessageExts
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
268
|
+
|
269
|
+
module State
|
270
|
+
STATE_UNSPECIFIED = 0
|
271
|
+
|
272
|
+
# The table has not yet begun copying to the new cluster.
|
273
|
+
PENDING = 1
|
274
|
+
|
275
|
+
# The table is actively being copied to the new cluster.
|
276
|
+
COPYING = 2
|
277
|
+
|
278
|
+
# The table has been fully copied to the new cluster.
|
279
|
+
COMPLETED = 3
|
280
|
+
|
281
|
+
# The table was deleted before it finished copying to the new cluster.
|
282
|
+
# Note that tables deleted after completion will stay marked as
|
283
|
+
# COMPLETED, not CANCELLED.
|
284
|
+
CANCELLED = 4
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# @!attribute [rw] key
|
289
|
+
# @return [::String]
|
290
|
+
# @!attribute [rw] value
|
291
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress]
|
292
|
+
class TablesEntry
|
293
|
+
include ::Google::Protobuf::MessageExts
|
294
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
295
|
+
end
|
243
296
|
end
|
244
297
|
|
245
298
|
# The metadata for the Operation returned by UpdateCluster.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# the resources that serve them.
|
27
27
|
# All tables in an instance are served from all
|
28
28
|
# {::Google::Cloud::Bigtable::Admin::V2::Cluster Clusters} in the instance.
|
29
|
-
# @!attribute [
|
29
|
+
# @!attribute [rw] name
|
30
30
|
# @return [::String]
|
31
31
|
# The unique name of the instance. Values are of the form
|
32
32
|
# `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
|
@@ -98,13 +98,8 @@ module Google
|
|
98
98
|
# on the cluster.
|
99
99
|
PRODUCTION = 1
|
100
100
|
|
101
|
-
#
|
102
|
-
#
|
103
|
-
# After a development instance is created, it can be upgraded by
|
104
|
-
# updating the instance to type `PRODUCTION`. An instance created
|
105
|
-
# as a production instance cannot be changed to a development instance.
|
106
|
-
# When creating a development instance, `serve_nodes` on the cluster must
|
107
|
-
# not be set.
|
101
|
+
# DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
|
102
|
+
# a higher minimum node count than DEVELOPMENT.
|
108
103
|
DEVELOPMENT = 2
|
109
104
|
end
|
110
105
|
end
|
@@ -136,20 +131,19 @@ module Google
|
|
136
131
|
# A resizable group of nodes in a particular cloud location, capable
|
137
132
|
# of serving all {::Google::Cloud::Bigtable::Admin::V2::Table Tables} in the parent
|
138
133
|
# {::Google::Cloud::Bigtable::Admin::V2::Instance Instance}.
|
139
|
-
# @!attribute [
|
134
|
+
# @!attribute [rw] name
|
140
135
|
# @return [::String]
|
141
136
|
# The unique name of the cluster. Values are of the form
|
142
137
|
# `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
|
143
138
|
# @!attribute [rw] location
|
144
139
|
# @return [::String]
|
145
|
-
#
|
146
|
-
# The location where this cluster's nodes and storage reside. For best
|
140
|
+
# Immutable. The location where this cluster's nodes and storage reside. For best
|
147
141
|
# performance, clients should be located as close as possible to this
|
148
142
|
# cluster. Currently only zones are supported, so values should be of the
|
149
143
|
# form `projects/{project}/locations/{zone}`.
|
150
144
|
# @!attribute [r] state
|
151
145
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Cluster::State]
|
152
|
-
# The current state of the cluster.
|
146
|
+
# Output only. The current state of the cluster.
|
153
147
|
# @!attribute [rw] serve_nodes
|
154
148
|
# @return [::Integer]
|
155
149
|
# The number of nodes allocated to this cluster. More nodes enable higher
|
@@ -159,8 +153,7 @@ module Google
|
|
159
153
|
# Configuration for this cluster.
|
160
154
|
# @!attribute [rw] default_storage_type
|
161
155
|
# @return [::Google::Cloud::Bigtable::Admin::V2::StorageType]
|
162
|
-
#
|
163
|
-
# The type of storage used by this cluster to serve its
|
156
|
+
# Immutable. The type of storage used by this cluster to serve its
|
164
157
|
# parent instance's tables, unless explicitly overridden.
|
165
158
|
# @!attribute [rw] encryption_config
|
166
159
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Cluster::EncryptionConfig]
|
@@ -201,6 +194,9 @@ module Google
|
|
201
194
|
# `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key.
|
202
195
|
# 2) Only regional keys can be used and the region of the CMEK key must
|
203
196
|
# match the region of the cluster.
|
197
|
+
# 3) All clusters within an instance must use the same CMEK key.
|
198
|
+
# Values are of the form
|
199
|
+
# `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
|
204
200
|
class EncryptionConfig
|
205
201
|
include ::Google::Protobuf::MessageExts
|
206
202
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -236,7 +232,6 @@ module Google
|
|
236
232
|
# from a particular end user application.
|
237
233
|
# @!attribute [rw] name
|
238
234
|
# @return [::String]
|
239
|
-
# (`OutputOnly`)
|
240
235
|
# The unique name of the app profile. Values are of the form
|
241
236
|
# `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
242
237
|
# @!attribute [rw] etag
|
@@ -251,7 +246,7 @@ module Google
|
|
251
246
|
# details.
|
252
247
|
# @!attribute [rw] description
|
253
248
|
# @return [::String]
|
254
|
-
#
|
249
|
+
# Long form description of the use case for this AppProfile.
|
255
250
|
# @!attribute [rw] multi_cluster_routing_use_any
|
256
251
|
# @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::MultiClusterRoutingUseAny]
|
257
252
|
# Use a multi-cluster routing policy.
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
# The unique name of the table. Values are of the form
|
43
43
|
# `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
44
44
|
# Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
|
45
|
-
# @!attribute [
|
45
|
+
# @!attribute [r] cluster_states
|
46
46
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Table::ClusterState}]
|
47
47
|
# Output only. Map from cluster ID to per-cluster table state.
|
48
48
|
# If it could not be determined whether or not the table has data in a
|
@@ -51,26 +51,24 @@ module Google
|
|
51
51
|
# Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
|
52
52
|
# @!attribute [rw] column_families
|
53
53
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::ColumnFamily}]
|
54
|
-
# (`CreationOnly`)
|
55
54
|
# The column families configured for this table, mapped by column family ID.
|
56
55
|
# Views: `SCHEMA_VIEW`, `FULL`
|
57
56
|
# @!attribute [rw] granularity
|
58
57
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Table::TimestampGranularity]
|
59
|
-
# (`
|
60
|
-
#
|
61
|
-
# this table. Timestamps not matching the granularity will be rejected.
|
58
|
+
# Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
|
59
|
+
# table. Timestamps not matching the granularity will be rejected.
|
62
60
|
# If unspecified at creation time, the value will be set to `MILLIS`.
|
63
61
|
# Views: `SCHEMA_VIEW`, `FULL`.
|
64
|
-
# @!attribute [
|
62
|
+
# @!attribute [r] restore_info
|
65
63
|
# @return [::Google::Cloud::Bigtable::Admin::V2::RestoreInfo]
|
66
|
-
# Output only. If this table was restored from another data source (e.g. a
|
67
|
-
#
|
64
|
+
# Output only. If this table was restored from another data source (e.g. a backup), this
|
65
|
+
# field will be populated with information about the restore.
|
68
66
|
class Table
|
69
67
|
include ::Google::Protobuf::MessageExts
|
70
68
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
69
|
|
72
70
|
# The state of a table's data in a particular cluster.
|
73
|
-
# @!attribute [
|
71
|
+
# @!attribute [r] replication_state
|
74
72
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Table::ClusterState::ReplicationState]
|
75
73
|
# Output only. The state of replication for the table in this cluster.
|
76
74
|
# @!attribute [r] encryption_info
|
@@ -158,7 +156,7 @@ module Google
|
|
158
156
|
# state.
|
159
157
|
REPLICATION_VIEW = 3
|
160
158
|
|
161
|
-
# Only populates
|
159
|
+
# Only populates `name` and fields related to the table's encryption state.
|
162
160
|
ENCRYPTION_VIEW = 5
|
163
161
|
|
164
162
|
# Populates all fields.
|
@@ -227,13 +225,12 @@ module Google
|
|
227
225
|
# Output only. The type of encryption used to protect this resource.
|
228
226
|
# @!attribute [r] encryption_status
|
229
227
|
# @return [::Google::Rpc::Status]
|
230
|
-
# Output only. The status of encrypt/decrypt calls on underlying data for
|
231
|
-
#
|
232
|
-
# at rest.
|
228
|
+
# Output only. The status of encrypt/decrypt calls on underlying data for this resource.
|
229
|
+
# Regardless of status, the existing data is always encrypted at rest.
|
233
230
|
# @!attribute [r] kms_key_version
|
234
231
|
# @return [::String]
|
235
|
-
# Output only. The version of the Cloud KMS key specified in the parent
|
236
|
-
#
|
232
|
+
# Output only. The version of the Cloud KMS key specified in the parent cluster that is
|
233
|
+
# in use for the data underlying this table.
|
237
234
|
class EncryptionInfo
|
238
235
|
include ::Google::Protobuf::MessageExts
|
239
236
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -314,9 +311,9 @@ module Google
|
|
314
311
|
end
|
315
312
|
|
316
313
|
# A backup of a Cloud Bigtable table.
|
317
|
-
# @!attribute [
|
314
|
+
# @!attribute [rw] name
|
318
315
|
# @return [::String]
|
319
|
-
#
|
316
|
+
# A globally unique identifier for the backup which cannot be
|
320
317
|
# changed. Values are of the form
|
321
318
|
# `projects/{project}/instances/{instance}/clusters/{cluster}/
|
322
319
|
# backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
|
@@ -328,8 +325,8 @@ module Google
|
|
328
325
|
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
329
326
|
# @!attribute [rw] source_table
|
330
327
|
# @return [::String]
|
331
|
-
# Required. Immutable. Name of the table from which this backup was created.
|
332
|
-
#
|
328
|
+
# Required. Immutable. Name of the table from which this backup was created. This needs
|
329
|
+
# to be in the same instance as the backup. Values are of the form
|
333
330
|
# `projects/{project}/instances/{instance}/tables/{source_table}`.
|
334
331
|
# @!attribute [rw] expire_time
|
335
332
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -342,9 +339,8 @@ module Google
|
|
342
339
|
# @return [::Google::Protobuf::Timestamp]
|
343
340
|
# Output only. `start_time` is the time that the backup was started
|
344
341
|
# (i.e. approximately the time the
|
345
|
-
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_backup CreateBackup}
|
346
|
-
#
|
347
|
-
# this timestamp.
|
342
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_backup CreateBackup} request is received). The
|
343
|
+
# row data in this backup will be no older than this timestamp.
|
348
344
|
# @!attribute [r] end_time
|
349
345
|
# @return [::Google::Protobuf::Timestamp]
|
350
346
|
# Output only. `end_time` is the time that the backup was finished. The row
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable-admin-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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: 2022-
|
11
|
+
date: 2022-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|