google-cloud-bigtable 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/LOGGING.md +1 -1
- data/OVERVIEW.md +7 -5
- data/lib/google-cloud-bigtable.rb +1 -1
- data/lib/google/cloud/bigtable/admin.rb +4 -4
- data/lib/google/cloud/bigtable/admin/v2.rb +4 -4
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +66 -66
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +16 -16
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +42 -42
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +8 -26
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +36 -36
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +37 -37
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +21 -21
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +26 -26
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/iam_policy.rb +13 -13
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/policy.rb +28 -28
- data/lib/google/cloud/bigtable/admin/v2/doc/google/longrunning/operations.rb +9 -9
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/any.rb +8 -8
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/duration.rb +3 -3
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/empty.rb +1 -1
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/field_mask.rb +7 -7
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/timestamp.rb +7 -7
- data/lib/google/cloud/bigtable/admin/v2/doc/google/rpc/status.rb +11 -11
- data/lib/google/cloud/bigtable/column_family.rb +1 -1
- data/lib/google/cloud/bigtable/instance.rb +11 -12
- data/lib/google/cloud/bigtable/project.rb +21 -21
- data/lib/google/cloud/bigtable/table.rb +13 -12
- data/lib/google/cloud/bigtable/v2.rb +4 -4
- data/lib/google/cloud/bigtable/v2/bigtable_client.rb +20 -20
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/bigtable.rb +24 -24
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb +39 -39
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/any.rb +8 -8
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/wrappers.rb +18 -18
- data/lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb +11 -11
- data/lib/google/cloud/bigtable/version.rb +1 -1
- metadata +3 -3
data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb
CHANGED
@@ -22,11 +22,11 @@ module Google
|
|
22
22
|
# @!attribute [rw] parent
|
23
23
|
# @return [String]
|
24
24
|
# The unique name of the instance in which to create the table.
|
25
|
-
# Values are of the form
|
25
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
26
26
|
# @!attribute [rw] table_id
|
27
27
|
# @return [String]
|
28
28
|
# The name by which the new table should be referred to within the parent
|
29
|
-
# instance, e.g.,
|
29
|
+
# instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
30
30
|
# @!attribute [rw] table
|
31
31
|
# @return [Google::Bigtable::Admin::V2::Table]
|
32
32
|
# The Table to create.
|
@@ -34,20 +34,20 @@ module Google
|
|
34
34
|
# @return [Array<Google::Bigtable::Admin::V2::CreateTableRequest::Split>]
|
35
35
|
# The optional list of row keys that will be used to initially split the
|
36
36
|
# table into several tablets (tablets are similar to HBase regions).
|
37
|
-
# Given two split keys,
|
38
|
-
# spanning the key ranges:
|
37
|
+
# Given two split keys, `s1` and `s2`, three tablets will be created,
|
38
|
+
# spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
|
39
39
|
#
|
40
40
|
# Example:
|
41
41
|
#
|
42
|
-
# * Row keys :=
|
43
|
-
#
|
44
|
-
# * initial_split_keys :=
|
42
|
+
# * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
|
43
|
+
# `"other", "zz"]`
|
44
|
+
# * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
|
45
45
|
# * Key assignment:
|
46
|
-
# * Tablet 1
|
47
|
-
# * Tablet 2
|
48
|
-
# * Tablet 3
|
49
|
-
# * Tablet 4
|
50
|
-
# * Tablet 5
|
46
|
+
# * Tablet 1 `[, apple) => {"a"}.`
|
47
|
+
# * Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
|
48
|
+
# * Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
|
49
|
+
# * Tablet 4 `[customer_2, other) => {"customer_2"}.`
|
50
|
+
# * Tablet 5 `[other, ) => {"other", "zz"}.`
|
51
51
|
class CreateTableRequest
|
52
52
|
# An initial split point for a newly created table.
|
53
53
|
# @!attribute [rw] key
|
@@ -66,17 +66,17 @@ module Google
|
|
66
66
|
# @!attribute [rw] parent
|
67
67
|
# @return [String]
|
68
68
|
# The unique name of the instance in which to create the table.
|
69
|
-
# Values are of the form
|
69
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
70
70
|
# @!attribute [rw] table_id
|
71
71
|
# @return [String]
|
72
72
|
# The name by which the new table should be referred to within the parent
|
73
|
-
# instance, e.g.,
|
73
|
+
# instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
74
74
|
# @!attribute [rw] source_snapshot
|
75
75
|
# @return [String]
|
76
76
|
# The unique name of the snapshot from which to restore the table. The
|
77
77
|
# snapshot and the table must be in the same instance.
|
78
78
|
# Values are of the form
|
79
|
-
#
|
79
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
80
80
|
class CreateTableFromSnapshotRequest; end
|
81
81
|
|
82
82
|
# Request message for
|
@@ -85,7 +85,7 @@ module Google
|
|
85
85
|
# @return [String]
|
86
86
|
# The unique name of the table on which to drop a range of rows.
|
87
87
|
# Values are of the form
|
88
|
-
#
|
88
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
89
89
|
# @!attribute [rw] row_key_prefix
|
90
90
|
# @return [String]
|
91
91
|
# Delete all rows that start with this row key prefix. Prefix cannot be
|
@@ -100,18 +100,18 @@ module Google
|
|
100
100
|
# @!attribute [rw] parent
|
101
101
|
# @return [String]
|
102
102
|
# The unique name of the instance for which tables should be listed.
|
103
|
-
# Values are of the form
|
103
|
+
# Values are of the form `projects/<project>/instances/<instance>`.
|
104
104
|
# @!attribute [rw] view
|
105
105
|
# @return [Google::Bigtable::Admin::V2::Table::View]
|
106
106
|
# The view to be applied to the returned tables' fields.
|
107
|
-
# Defaults to
|
107
|
+
# Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
|
108
108
|
# @!attribute [rw] page_size
|
109
109
|
# @return [Integer]
|
110
110
|
# Maximum number of results per page.
|
111
111
|
# CURRENTLY UNIMPLEMENTED AND IGNORED.
|
112
112
|
# @!attribute [rw] page_token
|
113
113
|
# @return [String]
|
114
|
-
# The value of
|
114
|
+
# The value of `next_page_token` returned by a previous call.
|
115
115
|
class ListTablesRequest; end
|
116
116
|
|
117
117
|
# Response message for
|
@@ -122,7 +122,7 @@ module Google
|
|
122
122
|
# @!attribute [rw] next_page_token
|
123
123
|
# @return [String]
|
124
124
|
# Set if not all tables could be returned in a single response.
|
125
|
-
# Pass this value to
|
125
|
+
# Pass this value to `page_token` in another request to get the next
|
126
126
|
# page of results.
|
127
127
|
class ListTablesResponse; end
|
128
128
|
|
@@ -132,11 +132,11 @@ module Google
|
|
132
132
|
# @return [String]
|
133
133
|
# The unique name of the requested table.
|
134
134
|
# Values are of the form
|
135
|
-
#
|
135
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
136
136
|
# @!attribute [rw] view
|
137
137
|
# @return [Google::Bigtable::Admin::V2::Table::View]
|
138
138
|
# The view to be applied to the returned table's fields.
|
139
|
-
# Defaults to
|
139
|
+
# Defaults to `SCHEMA_VIEW` if unspecified.
|
140
140
|
class GetTableRequest; end
|
141
141
|
|
142
142
|
# Request message for
|
@@ -145,7 +145,7 @@ module Google
|
|
145
145
|
# @return [String]
|
146
146
|
# The unique name of the table to be deleted.
|
147
147
|
# Values are of the form
|
148
|
-
#
|
148
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
149
149
|
class DeleteTableRequest; end
|
150
150
|
|
151
151
|
# Request message for
|
@@ -154,7 +154,7 @@ module Google
|
|
154
154
|
# @return [String]
|
155
155
|
# The unique name of the table whose families should be modified.
|
156
156
|
# Values are of the form
|
157
|
-
#
|
157
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
158
158
|
# @!attribute [rw] modifications
|
159
159
|
# @return [Array<Google::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification>]
|
160
160
|
# Modifications to be atomically applied to the specified table's families.
|
@@ -187,7 +187,7 @@ module Google
|
|
187
187
|
# @return [String]
|
188
188
|
# The unique name of the Table for which to create a consistency token.
|
189
189
|
# Values are of the form
|
190
|
-
#
|
190
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
191
191
|
class GenerateConsistencyTokenRequest; end
|
192
192
|
|
193
193
|
# Response message for
|
@@ -203,7 +203,7 @@ module Google
|
|
203
203
|
# @return [String]
|
204
204
|
# The unique name of the Table for which to check replication consistency.
|
205
205
|
# Values are of the form
|
206
|
-
#
|
206
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
207
207
|
# @!attribute [rw] consistency_token
|
208
208
|
# @return [String]
|
209
209
|
# The token created using GenerateConsistencyToken for the Table.
|
@@ -228,18 +228,18 @@ module Google
|
|
228
228
|
# @return [String]
|
229
229
|
# The unique name of the table to have the snapshot taken.
|
230
230
|
# Values are of the form
|
231
|
-
#
|
231
|
+
# `projects/<project>/instances/<instance>/tables/<table>`.
|
232
232
|
# @!attribute [rw] cluster
|
233
233
|
# @return [String]
|
234
234
|
# The name of the cluster where the snapshot will be created in.
|
235
235
|
# Values are of the form
|
236
|
-
#
|
236
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
237
237
|
# @!attribute [rw] snapshot_id
|
238
238
|
# @return [String]
|
239
239
|
# The ID by which the new snapshot should be referred to within the parent
|
240
|
-
# cluster, e.g.,
|
240
|
+
# cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
|
241
241
|
# rather than
|
242
|
-
#
|
242
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
243
243
|
# @!attribute [rw] ttl
|
244
244
|
# @return [Google::Protobuf::Duration]
|
245
245
|
# The amount of time that the new snapshot can stay active after it is
|
@@ -262,7 +262,7 @@ module Google
|
|
262
262
|
# @return [String]
|
263
263
|
# The unique name of the requested snapshot.
|
264
264
|
# Values are of the form
|
265
|
-
#
|
265
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
266
266
|
class GetSnapshotRequest; end
|
267
267
|
|
268
268
|
# Request message for
|
@@ -276,16 +276,16 @@ module Google
|
|
276
276
|
# @return [String]
|
277
277
|
# The unique name of the cluster for which snapshots should be listed.
|
278
278
|
# Values are of the form
|
279
|
-
#
|
280
|
-
# Use
|
281
|
-
# e.g.,
|
279
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
280
|
+
# Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
|
281
|
+
# e.g., `projects/<project>/instances/<instance>/clusters/-`.
|
282
282
|
# @!attribute [rw] page_size
|
283
283
|
# @return [Integer]
|
284
284
|
# The maximum number of snapshots to return per page.
|
285
285
|
# CURRENTLY UNIMPLEMENTED AND IGNORED.
|
286
286
|
# @!attribute [rw] page_token
|
287
287
|
# @return [String]
|
288
|
-
# The value of
|
288
|
+
# The value of `next_page_token` returned by a previous call.
|
289
289
|
class ListSnapshotsRequest; end
|
290
290
|
|
291
291
|
# Response message for
|
@@ -301,7 +301,7 @@ module Google
|
|
301
301
|
# @!attribute [rw] next_page_token
|
302
302
|
# @return [String]
|
303
303
|
# Set if not all snapshots could be returned in a single response.
|
304
|
-
# Pass this value to
|
304
|
+
# Pass this value to `page_token` in another request to get the next
|
305
305
|
# page of results.
|
306
306
|
class ListSnapshotsResponse; end
|
307
307
|
|
@@ -316,7 +316,7 @@ module Google
|
|
316
316
|
# @return [String]
|
317
317
|
# The unique name of the snapshot to be deleted.
|
318
318
|
# Values are of the form
|
319
|
-
#
|
319
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
320
320
|
class DeleteSnapshotRequest; end
|
321
321
|
|
322
322
|
# The metadata for the Operation returned by SnapshotTable.
|
@@ -23,9 +23,9 @@ module Google
|
|
23
23
|
# {Google::Bigtable::Admin::V2::Cluster Cluster}.
|
24
24
|
# @!attribute [rw] name
|
25
25
|
# @return [String]
|
26
|
-
# (
|
26
|
+
# (`OutputOnly`)
|
27
27
|
# The unique name of the instance. Values are of the form
|
28
|
-
#
|
28
|
+
# `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
|
29
29
|
# @!attribute [rw] display_name
|
30
30
|
# @return [String]
|
31
31
|
# The descriptive name for this instance as it appears in UIs.
|
@@ -33,11 +33,11 @@ module Google
|
|
33
33
|
# to avoid confusion.
|
34
34
|
# @!attribute [rw] state
|
35
35
|
# @return [Google::Bigtable::Admin::V2::Instance::State]
|
36
|
-
# (
|
36
|
+
# (`OutputOnly`)
|
37
37
|
# The current state of the instance.
|
38
38
|
# @!attribute [rw] type
|
39
39
|
# @return [Google::Bigtable::Admin::V2::Instance::Type]
|
40
|
-
# The type of the instance. Defaults to
|
40
|
+
# The type of the instance. Defaults to `PRODUCTION`.
|
41
41
|
# @!attribute [rw] labels
|
42
42
|
# @return [Hash{String => String}]
|
43
43
|
# Labels are a flexible and lightweight mechanism for organizing cloud
|
@@ -46,9 +46,9 @@ module Google
|
|
46
46
|
# metrics.
|
47
47
|
#
|
48
48
|
# * Label keys must be between 1 and 63 characters long and must conform to
|
49
|
-
# the regular expression:
|
49
|
+
# the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
|
50
50
|
# * Label values must be between 0 and 63 characters long and must conform to
|
51
|
-
# the regular expression:
|
51
|
+
# the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
|
52
52
|
# * No more than 64 labels can be associated with a given resource.
|
53
53
|
# * Keys and values must both be under 128 bytes.
|
54
54
|
class Instance
|
@@ -69,20 +69,20 @@ module Google
|
|
69
69
|
# The type of the instance.
|
70
70
|
module Type
|
71
71
|
# The type of the instance is unspecified. If set when creating an
|
72
|
-
# instance, a
|
72
|
+
# instance, a `PRODUCTION` instance will be created. If set when updating
|
73
73
|
# an instance, the type will be left unchanged.
|
74
74
|
TYPE_UNSPECIFIED = 0
|
75
75
|
|
76
|
-
# An instance meant for production use.
|
76
|
+
# An instance meant for production use. `serve_nodes` must be set
|
77
77
|
# on the cluster.
|
78
78
|
PRODUCTION = 1
|
79
79
|
|
80
80
|
# The instance is meant for development and testing purposes only; it has
|
81
81
|
# no performance or uptime guarantees and is not covered by SLA.
|
82
82
|
# After a development instance is created, it can be upgraded by
|
83
|
-
# updating the instance to type
|
83
|
+
# updating the instance to type `PRODUCTION`. An instance created
|
84
84
|
# as a production instance cannot be changed to a development instance.
|
85
|
-
# When creating a development instance,
|
85
|
+
# When creating a development instance, `serve_nodes` on the cluster must
|
86
86
|
# not be set.
|
87
87
|
DEVELOPMENT = 2
|
88
88
|
end
|
@@ -93,19 +93,19 @@ module Google
|
|
93
93
|
# {Google::Bigtable::Admin::V2::Instance Instance}.
|
94
94
|
# @!attribute [rw] name
|
95
95
|
# @return [String]
|
96
|
-
# (
|
96
|
+
# (`OutputOnly`)
|
97
97
|
# The unique name of the cluster. Values are of the form
|
98
|
-
#
|
98
|
+
# `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
|
99
99
|
# @!attribute [rw] location
|
100
100
|
# @return [String]
|
101
|
-
# (
|
101
|
+
# (`CreationOnly`)
|
102
102
|
# The location where this cluster's nodes and storage reside. For best
|
103
103
|
# performance, clients should be located as close as possible to this
|
104
104
|
# cluster. Currently only zones are supported, so values should be of the
|
105
|
-
# form
|
105
|
+
# form `projects/<project>/locations/<zone>`.
|
106
106
|
# @!attribute [rw] state
|
107
107
|
# @return [Google::Bigtable::Admin::V2::Cluster::State]
|
108
|
-
# (
|
108
|
+
# (`OutputOnly`)
|
109
109
|
# The current state of the cluster.
|
110
110
|
# @!attribute [rw] serve_nodes
|
111
111
|
# @return [Integer]
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# throughput and more consistent performance.
|
114
114
|
# @!attribute [rw] default_storage_type
|
115
115
|
# @return [Google::Bigtable::Admin::V2::StorageType]
|
116
|
-
# (
|
116
|
+
# (`CreationOnly`)
|
117
117
|
# The type of storage used by this cluster to serve its
|
118
118
|
# parent instance's tables, unless explicitly overridden.
|
119
119
|
class Cluster
|
@@ -147,15 +147,15 @@ module Google
|
|
147
147
|
# from a particular end user application.
|
148
148
|
# @!attribute [rw] name
|
149
149
|
# @return [String]
|
150
|
-
# (
|
150
|
+
# (`OutputOnly`)
|
151
151
|
# The unique name of the app profile. Values are of the form
|
152
|
-
#
|
152
|
+
# `projects/<project>/instances/<instance>/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
153
153
|
# @!attribute [rw] etag
|
154
154
|
# @return [String]
|
155
155
|
# Strongly validated etag for optimistic concurrency control. Preserve the
|
156
|
-
# value returned from
|
156
|
+
# value returned from `GetAppProfile` when calling `UpdateAppProfile` to
|
157
157
|
# fail the request if there has been a modification in the mean time. The
|
158
|
-
#
|
158
|
+
# `update_mask` of the request need not include `etag` for this protection
|
159
159
|
# to apply.
|
160
160
|
# See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
|
161
161
|
# [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
|
@@ -184,7 +184,7 @@ module Google
|
|
184
184
|
# The cluster to which read/write requests should be routed.
|
185
185
|
# @!attribute [rw] allow_transactional_writes
|
186
186
|
# @return [true, false]
|
187
|
-
# Whether or not
|
187
|
+
# Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
|
188
188
|
# allowed by this app profile. It is unsafe to send these requests to
|
189
189
|
# the same table/row/column in multiple clusters.
|
190
190
|
class SingleClusterRouting; end
|
@@ -21,35 +21,35 @@ module Google
|
|
21
21
|
# Each table is served using the resources of its parent cluster.
|
22
22
|
# @!attribute [rw] name
|
23
23
|
# @return [String]
|
24
|
-
# (
|
24
|
+
# (`OutputOnly`)
|
25
25
|
# The unique name of the table. Values are of the form
|
26
|
-
#
|
27
|
-
# Views:
|
26
|
+
# `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
27
|
+
# Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
|
28
28
|
# @!attribute [rw] cluster_states
|
29
29
|
# @return [Hash{String => Google::Bigtable::Admin::V2::Table::ClusterState}]
|
30
|
-
# (
|
30
|
+
# (`OutputOnly`)
|
31
31
|
# Map from cluster ID to per-cluster table state.
|
32
32
|
# If it could not be determined whether or not the table has data in a
|
33
33
|
# particular cluster (for example, if its zone is unavailable), then
|
34
|
-
# there will be an entry for the cluster with UNKNOWN
|
35
|
-
# Views:
|
34
|
+
# there will be an entry for the cluster with UNKNOWN `replication_status`.
|
35
|
+
# Views: `REPLICATION_VIEW`, `FULL`
|
36
36
|
# @!attribute [rw] column_families
|
37
37
|
# @return [Hash{String => Google::Bigtable::Admin::V2::ColumnFamily}]
|
38
|
-
# (
|
38
|
+
# (`CreationOnly`)
|
39
39
|
# The column families configured for this table, mapped by column family ID.
|
40
|
-
# Views:
|
40
|
+
# Views: `SCHEMA_VIEW`, `FULL`
|
41
41
|
# @!attribute [rw] granularity
|
42
42
|
# @return [Google::Bigtable::Admin::V2::Table::TimestampGranularity]
|
43
|
-
# (
|
44
|
-
# The granularity (i.e.
|
43
|
+
# (`CreationOnly`)
|
44
|
+
# The granularity (i.e. `MILLIS`) at which timestamps are stored in
|
45
45
|
# this table. Timestamps not matching the granularity will be rejected.
|
46
|
-
# If unspecified at creation time, the value will be set to
|
47
|
-
# Views:
|
46
|
+
# If unspecified at creation time, the value will be set to `MILLIS`.
|
47
|
+
# Views: `SCHEMA_VIEW`, `FULL`
|
48
48
|
class Table
|
49
49
|
# The state of a table's data in a particular cluster.
|
50
50
|
# @!attribute [rw] replication_state
|
51
51
|
# @return [Google::Bigtable::Admin::V2::Table::ClusterState::ReplicationState]
|
52
|
-
# (
|
52
|
+
# (`OutputOnly`)
|
53
53
|
# The state of replication for the table in this cluster.
|
54
54
|
class ClusterState
|
55
55
|
# Table replication states.
|
@@ -93,13 +93,13 @@ module Google
|
|
93
93
|
# Uses the default view for each method as documented in its request.
|
94
94
|
VIEW_UNSPECIFIED = 0
|
95
95
|
|
96
|
-
# Only populates
|
96
|
+
# Only populates `name`.
|
97
97
|
NAME_ONLY = 1
|
98
98
|
|
99
|
-
# Only populates
|
99
|
+
# Only populates `name` and fields related to the table's schema.
|
100
100
|
SCHEMA_VIEW = 2
|
101
101
|
|
102
|
-
# Only populates
|
102
|
+
# Only populates `name` and fields related to the table's
|
103
103
|
# replication state.
|
104
104
|
REPLICATION_VIEW = 3
|
105
105
|
|
@@ -138,13 +138,13 @@ module Google
|
|
138
138
|
# A GcRule which deletes cells matching all of the given rules.
|
139
139
|
# @!attribute [rw] rules
|
140
140
|
# @return [Array<Google::Bigtable::Admin::V2::GcRule>]
|
141
|
-
# Only delete cells which would be deleted by every element of
|
141
|
+
# Only delete cells which would be deleted by every element of `rules`.
|
142
142
|
class Intersection; end
|
143
143
|
|
144
144
|
# A GcRule which deletes cells matching any of the given rules.
|
145
145
|
# @!attribute [rw] rules
|
146
146
|
# @return [Array<Google::Bigtable::Admin::V2::GcRule>]
|
147
|
-
# Delete cells which would be deleted by any element of
|
147
|
+
# Delete cells which would be deleted by any element of `rules`.
|
148
148
|
class Union; end
|
149
149
|
end
|
150
150
|
|
@@ -157,37 +157,37 @@ module Google
|
|
157
157
|
# for production use. It is not subject to any SLA or deprecation policy.
|
158
158
|
# @!attribute [rw] name
|
159
159
|
# @return [String]
|
160
|
-
# (
|
160
|
+
# (`OutputOnly`)
|
161
161
|
# The unique name of the snapshot.
|
162
162
|
# Values are of the form
|
163
|
-
#
|
163
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
164
164
|
# @!attribute [rw] source_table
|
165
165
|
# @return [Google::Bigtable::Admin::V2::Table]
|
166
|
-
# (
|
166
|
+
# (`OutputOnly`)
|
167
167
|
# The source table at the time the snapshot was taken.
|
168
168
|
# @!attribute [rw] data_size_bytes
|
169
169
|
# @return [Integer]
|
170
|
-
# (
|
170
|
+
# (`OutputOnly`)
|
171
171
|
# The size of the data in the source table at the time the snapshot was
|
172
172
|
# taken. In some cases, this value may be computed asynchronously via a
|
173
173
|
# background process and a placeholder of 0 will be used in the meantime.
|
174
174
|
# @!attribute [rw] create_time
|
175
175
|
# @return [Google::Protobuf::Timestamp]
|
176
|
-
# (
|
176
|
+
# (`OutputOnly`)
|
177
177
|
# The time when the snapshot is created.
|
178
178
|
# @!attribute [rw] delete_time
|
179
179
|
# @return [Google::Protobuf::Timestamp]
|
180
|
-
# (
|
180
|
+
# (`OutputOnly`)
|
181
181
|
# The time when the snapshot will be deleted. The maximum amount of time a
|
182
182
|
# snapshot can stay active is 365 days. If 'ttl' is not specified,
|
183
183
|
# the default maximum of 365 days will be used.
|
184
184
|
# @!attribute [rw] state
|
185
185
|
# @return [Google::Bigtable::Admin::V2::Snapshot::State]
|
186
|
-
# (
|
186
|
+
# (`OutputOnly`)
|
187
187
|
# The current state of the snapshot.
|
188
188
|
# @!attribute [rw] description
|
189
189
|
# @return [String]
|
190
|
-
# (
|
190
|
+
# (`OutputOnly`)
|
191
191
|
# Description of the snapshot.
|
192
192
|
class Snapshot
|
193
193
|
# Possible states of a snapshot.
|