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
@@ -36,7 +36,7 @@ module Google
|
|
36
36
|
# The unique key which identifies this family within its row. This is the
|
37
37
|
# same key that's used to identify the family in, for example, a RowFilter
|
38
38
|
# which sets its "family_name_regex_filter" field.
|
39
|
-
# Must match
|
39
|
+
# Must match `[-_.a-zA-Z0-9]+`, except that AggregatingRowProcessors may
|
40
40
|
# produce cells in a sentinel family with an empty name.
|
41
41
|
# Must be no greater than 64 characters in length.
|
42
42
|
# @!attribute [rw] columns
|
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
# @return [String]
|
51
51
|
# The unique key which identifies this column within its family. This is the
|
52
52
|
# same key that's used to identify the column in, for example, a RowFilter
|
53
|
-
# which sets its
|
53
|
+
# which sets its `column_qualifier_regex_filter` field.
|
54
54
|
# May contain any byte string, including the empty string, up to 16kiB in
|
55
55
|
# length.
|
56
56
|
# @!attribute [rw] cells
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
# Values are always expressed in microseconds, but individual tables may set
|
67
67
|
# a coarser granularity to further restrict the allowed values. For
|
68
68
|
# example, a table which specifies millisecond granularity will only allow
|
69
|
-
# values of
|
69
|
+
# values of `timestamp_micros` which are multiples of 1000.
|
70
70
|
# @!attribute [rw] value
|
71
71
|
# @return [String]
|
72
72
|
# The value stored in the cell.
|
@@ -159,18 +159,18 @@ module Google
|
|
159
159
|
# (chains and interleaves). They work as follows:
|
160
160
|
#
|
161
161
|
# * True filters alter the input row by excluding some of its cells wholesale
|
162
|
-
# from the output row. An example of a true filter is the
|
162
|
+
# from the output row. An example of a true filter is the `value_regex_filter`,
|
163
163
|
# which excludes cells whose values don't match the specified pattern. All
|
164
164
|
# regex true filters use RE2 syntax (https://github.com/google/re2/wiki/Syntax)
|
165
165
|
# in raw byte mode (RE2::Latin1), and are evaluated as full matches. An
|
166
|
-
# important point to keep in mind is that
|
167
|
-
#
|
168
|
-
# match an arbitrary byte, you should therefore use the escape sequence
|
169
|
-
# which may need to be further escaped as
|
166
|
+
# important point to keep in mind is that `RE2(.)` is equivalent by default to
|
167
|
+
# `RE2([^\n])`, meaning that it does not match newlines. When attempting to
|
168
|
+
# match an arbitrary byte, you should therefore use the escape sequence `\C`,
|
169
|
+
# which may need to be further escaped as `\\C` in your client language.
|
170
170
|
#
|
171
171
|
# * Transformers alter the input row by changing the values of some of its
|
172
172
|
# cells in the output, without excluding them completely. Currently, the only
|
173
|
-
# supported transformer is the
|
173
|
+
# supported transformer is the `strip_value_transformer`, which replaces every
|
174
174
|
# cell's value with the empty string.
|
175
175
|
#
|
176
176
|
# * Chains and interleaves are described in more detail in the
|
@@ -250,12 +250,12 @@ module Google
|
|
250
250
|
# passed through the label and sink. Note that one copy has label "foo",
|
251
251
|
# while the other does not.
|
252
252
|
#
|
253
|
-
# Cannot be used within the
|
254
|
-
#
|
253
|
+
# Cannot be used within the `predicate_filter`, `true_filter`, or
|
254
|
+
# `false_filter` of a {Google::Bigtable::V2::RowFilter::Condition Condition}.
|
255
255
|
# @!attribute [rw] pass_all_filter
|
256
256
|
# @return [true, false]
|
257
257
|
# Matches all cells, regardless of input. Functionally equivalent to
|
258
|
-
# leaving
|
258
|
+
# leaving `filter` unset, but included for completeness.
|
259
259
|
# @!attribute [rw] block_all_filter
|
260
260
|
# @return [true, false]
|
261
261
|
# Does not match any cells, regardless of input. Useful for temporarily
|
@@ -265,9 +265,9 @@ module Google
|
|
265
265
|
# Matches only cells from rows whose keys satisfy the given RE2 regex. In
|
266
266
|
# other words, passes through the entire row when the key matches, and
|
267
267
|
# otherwise produces an empty row.
|
268
|
-
# Note that, since row keys can contain arbitrary bytes, the
|
269
|
-
# sequence must be used if a true wildcard is desired. The
|
270
|
-
# will not match the new line character
|
268
|
+
# Note that, since row keys can contain arbitrary bytes, the `\C` escape
|
269
|
+
# sequence must be used if a true wildcard is desired. The `.` character
|
270
|
+
# will not match the new line character `\n`, which may be present in a
|
271
271
|
# binary key.
|
272
272
|
# @!attribute [rw] row_sample_filter
|
273
273
|
# @return [Float]
|
@@ -276,18 +276,18 @@ module Google
|
|
276
276
|
# @!attribute [rw] family_name_regex_filter
|
277
277
|
# @return [String]
|
278
278
|
# Matches only cells from columns whose families satisfy the given RE2
|
279
|
-
# regex. For technical reasons, the regex must not contain the
|
279
|
+
# regex. For technical reasons, the regex must not contain the `:`
|
280
280
|
# character, even if it is not being used as a literal.
|
281
281
|
# Note that, since column families cannot contain the new line character
|
282
|
-
#
|
282
|
+
# `\n`, it is sufficient to use `.` as a full wildcard when matching
|
283
283
|
# column family names.
|
284
284
|
# @!attribute [rw] column_qualifier_regex_filter
|
285
285
|
# @return [String]
|
286
286
|
# Matches only cells from columns whose qualifiers satisfy the given RE2
|
287
287
|
# regex.
|
288
|
-
# Note that, since column qualifiers can contain arbitrary bytes, the
|
289
|
-
# escape sequence must be used if a true wildcard is desired. The
|
290
|
-
# character will not match the new line character
|
288
|
+
# Note that, since column qualifiers can contain arbitrary bytes, the `\C`
|
289
|
+
# escape sequence must be used if a true wildcard is desired. The `.`
|
290
|
+
# character will not match the new line character `\n`, which may be
|
291
291
|
# present in a binary qualifier.
|
292
292
|
# @!attribute [rw] column_range_filter
|
293
293
|
# @return [Google::Bigtable::V2::ColumnRange]
|
@@ -298,9 +298,9 @@ module Google
|
|
298
298
|
# @!attribute [rw] value_regex_filter
|
299
299
|
# @return [String]
|
300
300
|
# Matches only cells with values that satisfy the given regular expression.
|
301
|
-
# Note that, since cell values can contain arbitrary bytes, the
|
302
|
-
# sequence must be used if a true wildcard is desired. The
|
303
|
-
# will not match the new line character
|
301
|
+
# Note that, since cell values can contain arbitrary bytes, the `\C` escape
|
302
|
+
# sequence must be used if a true wildcard is desired. The `.` character
|
303
|
+
# will not match the new line character `\n`, which may be present in a
|
304
304
|
# binary value.
|
305
305
|
# @!attribute [rw] value_range_filter
|
306
306
|
# @return [Google::Bigtable::V2::ValueRange]
|
@@ -318,9 +318,9 @@ module Google
|
|
318
318
|
# @!attribute [rw] cells_per_column_limit_filter
|
319
319
|
# @return [Integer]
|
320
320
|
# Matches only the most recent N cells within each column. For example,
|
321
|
-
# if N=2, this filter would match column
|
322
|
-
# skip all earlier cells in
|
323
|
-
# column
|
321
|
+
# if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
|
322
|
+
# skip all earlier cells in `foo:bar`, and then begin matching again in
|
323
|
+
# column `foo:bar2`.
|
324
324
|
# If duplicate cells are present, as is possible when using an Interleave,
|
325
325
|
# each copy of the cell is counted separately.
|
326
326
|
# @!attribute [rw] strip_value_transformer
|
@@ -333,12 +333,12 @@ module Google
|
|
333
333
|
# the filter.
|
334
334
|
#
|
335
335
|
# Values must be at most 15 characters in length, and match the RE2
|
336
|
-
# pattern
|
336
|
+
# pattern `[a-z0-9\\-]+`
|
337
337
|
#
|
338
338
|
# Due to a technical limitation, it is not currently possible to apply
|
339
339
|
# multiple labels to a cell. As a result, a Chain may have no more than
|
340
|
-
# one sub-filter which contains a
|
341
|
-
# an Interleave to contain multiple
|
340
|
+
# one sub-filter which contains a `apply_label_transformer`. It is okay for
|
341
|
+
# an Interleave to contain multiple `apply_label_transformers`, as they
|
342
342
|
# will be applied to separate copies of the input. This may be relaxed in
|
343
343
|
# the future.
|
344
344
|
class RowFilter
|
@@ -390,15 +390,15 @@ module Google
|
|
390
390
|
# when filters are set for the false condition.
|
391
391
|
# @!attribute [rw] predicate_filter
|
392
392
|
# @return [Google::Bigtable::V2::RowFilter]
|
393
|
-
# If
|
394
|
-
# evaluated on the input row. Otherwise,
|
393
|
+
# If `predicate_filter` outputs any cells, then `true_filter` will be
|
394
|
+
# evaluated on the input row. Otherwise, `false_filter` will be evaluated.
|
395
395
|
# @!attribute [rw] true_filter
|
396
396
|
# @return [Google::Bigtable::V2::RowFilter]
|
397
|
-
# The filter to apply to the input row if
|
397
|
+
# The filter to apply to the input row if `predicate_filter` returns any
|
398
398
|
# results. If not provided, no results will be returned in the true case.
|
399
399
|
# @!attribute [rw] false_filter
|
400
400
|
# @return [Google::Bigtable::V2::RowFilter]
|
401
|
-
# The filter to apply to the input row if
|
401
|
+
# The filter to apply to the input row if `predicate_filter` does not
|
402
402
|
# return any results. If not provided, no results will be returned in the
|
403
403
|
# false case.
|
404
404
|
class Condition; end
|
@@ -422,7 +422,7 @@ module Google
|
|
422
422
|
# @!attribute [rw] family_name
|
423
423
|
# @return [String]
|
424
424
|
# The name of the family into which new data should be written.
|
425
|
-
# Must match
|
425
|
+
# Must match `[-_.a-zA-Z0-9]+`
|
426
426
|
# @!attribute [rw] column_qualifier
|
427
427
|
# @return [String]
|
428
428
|
# The qualifier of the column into which new data should be written.
|
@@ -444,7 +444,7 @@ module Google
|
|
444
444
|
# @!attribute [rw] family_name
|
445
445
|
# @return [String]
|
446
446
|
# The name of the family from which cells should be deleted.
|
447
|
-
# Must match
|
447
|
+
# Must match `[-_.a-zA-Z0-9]+`
|
448
448
|
# @!attribute [rw] column_qualifier
|
449
449
|
# @return [String]
|
450
450
|
# The qualifier of the column from which cells should be deleted.
|
@@ -458,7 +458,7 @@ module Google
|
|
458
458
|
# @!attribute [rw] family_name
|
459
459
|
# @return [String]
|
460
460
|
# The name of the family from which cells should be deleted.
|
461
|
-
# Must match
|
461
|
+
# Must match `[-_.a-zA-Z0-9]+`
|
462
462
|
class DeleteFromFamily; end
|
463
463
|
|
464
464
|
# A Mutation which deletes all cells from the containing row.
|
@@ -470,7 +470,7 @@ module Google
|
|
470
470
|
# @!attribute [rw] family_name
|
471
471
|
# @return [String]
|
472
472
|
# The name of the family to which the read/modify/write should be applied.
|
473
|
-
# Must match
|
473
|
+
# Must match `[-_.a-zA-Z0-9]+`
|
474
474
|
# @!attribute [rw] column_qualifier
|
475
475
|
# @return [String]
|
476
476
|
# The qualifier of the column to which the read/modify/write should be
|
@@ -478,12 +478,12 @@ module Google
|
|
478
478
|
# Can be any byte string, including the empty string.
|
479
479
|
# @!attribute [rw] append_value
|
480
480
|
# @return [String]
|
481
|
-
# Rule specifying that
|
481
|
+
# Rule specifying that `append_value` be appended to the existing value.
|
482
482
|
# If the targeted cell is unset, it will be treated as containing the
|
483
483
|
# empty string.
|
484
484
|
# @!attribute [rw] increment_amount
|
485
485
|
# @return [Integer]
|
486
|
-
# Rule specifying that
|
486
|
+
# Rule specifying that `increment_amount` be added to the existing value.
|
487
487
|
# If the targeted cell is unset, it will be treated as containing a zero.
|
488
488
|
# Otherwise, the targeted cell must contain an 8-byte value (interpreted
|
489
489
|
# as a 64-bit big-endian signed integer), or the entire request will fail.
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
module Google
|
17
17
|
module Protobuf
|
18
|
-
#
|
18
|
+
# `Any` contains an arbitrary serialized protocol buffer message along with a
|
19
19
|
# URL that describes the type of the serialized message.
|
20
20
|
#
|
21
21
|
# Protobuf library provides support to pack/unpack Any values in the form
|
@@ -69,9 +69,9 @@ module Google
|
|
69
69
|
#
|
70
70
|
# = JSON
|
71
71
|
#
|
72
|
-
# The JSON representation of an
|
72
|
+
# The JSON representation of an `Any` value uses the regular
|
73
73
|
# representation of the deserialized, embedded message, with an
|
74
|
-
# additional field
|
74
|
+
# additional field `@type` which contains the type URL. Example:
|
75
75
|
#
|
76
76
|
# package google.profile;
|
77
77
|
# message Person {
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
#
|
88
88
|
# If the embedded message type is well-known and has a custom JSON
|
89
89
|
# representation, that representation will be embedded adding a field
|
90
|
-
#
|
90
|
+
# `value` which holds the custom JSON in addition to the `@type`
|
91
91
|
# field. Example (for message {Google::Protobuf::Duration}):
|
92
92
|
#
|
93
93
|
# {
|
@@ -99,15 +99,15 @@ module Google
|
|
99
99
|
# A URL/resource name that uniquely identifies the type of the serialized
|
100
100
|
# protocol buffer message. The last segment of the URL's path must represent
|
101
101
|
# the fully qualified name of the type (as in
|
102
|
-
#
|
102
|
+
# `path/google.protobuf.Duration`). The name should be in a canonical form
|
103
103
|
# (e.g., leading "." is not accepted).
|
104
104
|
#
|
105
105
|
# In practice, teams usually precompile into the binary all types that they
|
106
106
|
# expect it to use in the context of Any. However, for URLs which use the
|
107
|
-
# scheme
|
107
|
+
# scheme `http`, `https`, or no scheme, one can optionally set up a type
|
108
108
|
# server that maps type URLs to message definitions as follows:
|
109
109
|
#
|
110
|
-
# * If no scheme is provided,
|
110
|
+
# * If no scheme is provided, `https` is assumed.
|
111
111
|
# * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
|
112
112
|
# value in binary format, or produce an error.
|
113
113
|
# * Applications are allowed to cache lookup results based on the
|
@@ -120,7 +120,7 @@ module Google
|
|
120
120
|
# protobuf release, and it is not used for type URLs beginning with
|
121
121
|
# type.googleapis.com.
|
122
122
|
#
|
123
|
-
# Schemes other than
|
123
|
+
# Schemes other than `http`, `https` (or the empty scheme) might be
|
124
124
|
# used with implementation specific semantics.
|
125
125
|
# @!attribute [rw] value
|
126
126
|
# @return [String]
|
@@ -15,73 +15,73 @@
|
|
15
15
|
|
16
16
|
module Google
|
17
17
|
module Protobuf
|
18
|
-
# Wrapper message for
|
18
|
+
# Wrapper message for `double`.
|
19
19
|
#
|
20
|
-
# The JSON representation for
|
20
|
+
# The JSON representation for `DoubleValue` is JSON number.
|
21
21
|
# @!attribute [rw] value
|
22
22
|
# @return [Float]
|
23
23
|
# The double value.
|
24
24
|
class DoubleValue; end
|
25
25
|
|
26
|
-
# Wrapper message for
|
26
|
+
# Wrapper message for `float`.
|
27
27
|
#
|
28
|
-
# The JSON representation for
|
28
|
+
# The JSON representation for `FloatValue` is JSON number.
|
29
29
|
# @!attribute [rw] value
|
30
30
|
# @return [Float]
|
31
31
|
# The float value.
|
32
32
|
class FloatValue; end
|
33
33
|
|
34
|
-
# Wrapper message for
|
34
|
+
# Wrapper message for `int64`.
|
35
35
|
#
|
36
|
-
# The JSON representation for
|
36
|
+
# The JSON representation for `Int64Value` is JSON string.
|
37
37
|
# @!attribute [rw] value
|
38
38
|
# @return [Integer]
|
39
39
|
# The int64 value.
|
40
40
|
class Int64Value; end
|
41
41
|
|
42
|
-
# Wrapper message for
|
42
|
+
# Wrapper message for `uint64`.
|
43
43
|
#
|
44
|
-
# The JSON representation for
|
44
|
+
# The JSON representation for `UInt64Value` is JSON string.
|
45
45
|
# @!attribute [rw] value
|
46
46
|
# @return [Integer]
|
47
47
|
# The uint64 value.
|
48
48
|
class UInt64Value; end
|
49
49
|
|
50
|
-
# Wrapper message for
|
50
|
+
# Wrapper message for `int32`.
|
51
51
|
#
|
52
|
-
# The JSON representation for
|
52
|
+
# The JSON representation for `Int32Value` is JSON number.
|
53
53
|
# @!attribute [rw] value
|
54
54
|
# @return [Integer]
|
55
55
|
# The int32 value.
|
56
56
|
class Int32Value; end
|
57
57
|
|
58
|
-
# Wrapper message for
|
58
|
+
# Wrapper message for `uint32`.
|
59
59
|
#
|
60
|
-
# The JSON representation for
|
60
|
+
# The JSON representation for `UInt32Value` is JSON number.
|
61
61
|
# @!attribute [rw] value
|
62
62
|
# @return [Integer]
|
63
63
|
# The uint32 value.
|
64
64
|
class UInt32Value; end
|
65
65
|
|
66
|
-
# Wrapper message for
|
66
|
+
# Wrapper message for `bool`.
|
67
67
|
#
|
68
|
-
# The JSON representation for
|
68
|
+
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
69
69
|
# @!attribute [rw] value
|
70
70
|
# @return [true, false]
|
71
71
|
# The bool value.
|
72
72
|
class BoolValue; end
|
73
73
|
|
74
|
-
# Wrapper message for
|
74
|
+
# Wrapper message for `string`.
|
75
75
|
#
|
76
|
-
# The JSON representation for
|
76
|
+
# The JSON representation for `StringValue` is JSON string.
|
77
77
|
# @!attribute [rw] value
|
78
78
|
# @return [String]
|
79
79
|
# The string value.
|
80
80
|
class StringValue; end
|
81
81
|
|
82
|
-
# Wrapper message for
|
82
|
+
# Wrapper message for `bytes`.
|
83
83
|
#
|
84
|
-
# The JSON representation for
|
84
|
+
# The JSON representation for `BytesValue` is JSON string.
|
85
85
|
# @!attribute [rw] value
|
86
86
|
# @return [String]
|
87
87
|
# The bytes value.
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
module Google
|
17
17
|
module Rpc
|
18
|
-
# The
|
18
|
+
# The `Status` type defines a logical error model that is suitable for different
|
19
19
|
# programming environments, including REST APIs and RPC APIs. It is used by
|
20
20
|
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
21
21
|
#
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
#
|
25
25
|
# = Overview
|
26
26
|
#
|
27
|
-
# The
|
27
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
28
28
|
# and error details. The error code should be an enum value of
|
29
29
|
# {Google::Rpc::Code}, but it may accept additional error codes if needed. The
|
30
30
|
# error message should be a developer-facing English message that helps
|
@@ -32,40 +32,40 @@ module Google
|
|
32
32
|
# error message is needed, put the localized message in the error details or
|
33
33
|
# localize it in the client. The optional error details may contain arbitrary
|
34
34
|
# information about the error. There is a predefined set of error detail types
|
35
|
-
# in the package
|
35
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
36
36
|
#
|
37
37
|
# = Language mapping
|
38
38
|
#
|
39
|
-
# The
|
40
|
-
# is not necessarily the actual wire format. When the
|
39
|
+
# The `Status` message is the logical representation of the error model, but it
|
40
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
41
41
|
# exposed in different client libraries and different wire protocols, it can be
|
42
42
|
# mapped differently. For example, it will likely be mapped to some exceptions
|
43
43
|
# in Java, but more likely mapped to some error codes in C.
|
44
44
|
#
|
45
45
|
# = Other uses
|
46
46
|
#
|
47
|
-
# The error model and the
|
47
|
+
# The error model and the `Status` message can be used in a variety of
|
48
48
|
# environments, either with or without APIs, to provide a
|
49
49
|
# consistent developer experience across different environments.
|
50
50
|
#
|
51
51
|
# Example uses of this error model include:
|
52
52
|
#
|
53
53
|
# * Partial errors. If a service needs to return partial errors to the client,
|
54
|
-
# it may embed the
|
54
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
55
55
|
# errors.
|
56
56
|
#
|
57
57
|
# * Workflow errors. A typical workflow has multiple steps. Each step may
|
58
|
-
# have a
|
58
|
+
# have a `Status` message for error reporting.
|
59
59
|
#
|
60
60
|
# * Batch operations. If a client uses batch request and batch response, the
|
61
|
-
#
|
61
|
+
# `Status` message should be used directly inside batch response, one for
|
62
62
|
# each error sub-response.
|
63
63
|
#
|
64
64
|
# * Asynchronous operations. If an API call embeds asynchronous operation
|
65
65
|
# results in its response, the status of those operations should be
|
66
|
-
# represented directly using the
|
66
|
+
# represented directly using the `Status` message.
|
67
67
|
#
|
68
|
-
# * Logging. If some API errors are stored in logs, the message
|
68
|
+
# * Logging. If some API errors are stored in logs, the message `Status` could
|
69
69
|
# be used directly after any stripping needed for security/privacy reasons.
|
70
70
|
# @!attribute [rw] code
|
71
71
|
# @return [Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -262,7 +262,7 @@ files:
|
|
262
262
|
- lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb
|
263
263
|
- lib/google/cloud/bigtable/value_range.rb
|
264
264
|
- lib/google/cloud/bigtable/version.rb
|
265
|
-
homepage: https://github.com/
|
265
|
+
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-bigtable
|
266
266
|
licenses:
|
267
267
|
- Apache-2.0
|
268
268
|
metadata: {}
|