google-cloud-bigtable-v2 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,31 +117,49 @@ module Google
117
117
  # @return [::String]
118
118
  # Represents a raw byte sequence with no type information.
119
119
  # The `type` field must be omitted.
120
+ #
121
+ # Note: The following fields are mutually exclusive: `raw_value`, `raw_timestamp_micros`, `bytes_value`, `string_value`, `int_value`, `bool_value`, `float_value`, `timestamp_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
120
122
  # @!attribute [rw] raw_timestamp_micros
121
123
  # @return [::Integer]
122
124
  # Represents a raw cell timestamp with no type information.
123
125
  # The `type` field must be omitted.
126
+ #
127
+ # Note: The following fields are mutually exclusive: `raw_timestamp_micros`, `raw_value`, `bytes_value`, `string_value`, `int_value`, `bool_value`, `float_value`, `timestamp_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
124
128
  # @!attribute [rw] bytes_value
125
129
  # @return [::String]
126
130
  # Represents a typed value transported as a byte sequence.
131
+ #
132
+ # Note: The following fields are mutually exclusive: `bytes_value`, `raw_value`, `raw_timestamp_micros`, `string_value`, `int_value`, `bool_value`, `float_value`, `timestamp_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
127
133
  # @!attribute [rw] string_value
128
134
  # @return [::String]
129
135
  # Represents a typed value transported as a string.
136
+ #
137
+ # Note: The following fields are mutually exclusive: `string_value`, `raw_value`, `raw_timestamp_micros`, `bytes_value`, `int_value`, `bool_value`, `float_value`, `timestamp_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
130
138
  # @!attribute [rw] int_value
131
139
  # @return [::Integer]
132
140
  # Represents a typed value transported as an integer.
141
+ #
142
+ # Note: The following fields are mutually exclusive: `int_value`, `raw_value`, `raw_timestamp_micros`, `bytes_value`, `string_value`, `bool_value`, `float_value`, `timestamp_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
133
143
  # @!attribute [rw] bool_value
134
144
  # @return [::Boolean]
135
145
  # Represents a typed value transported as a boolean.
146
+ #
147
+ # Note: The following fields are mutually exclusive: `bool_value`, `raw_value`, `raw_timestamp_micros`, `bytes_value`, `string_value`, `int_value`, `float_value`, `timestamp_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
136
148
  # @!attribute [rw] float_value
137
149
  # @return [::Float]
138
150
  # Represents a typed value transported as a floating point number.
151
+ #
152
+ # Note: The following fields are mutually exclusive: `float_value`, `raw_value`, `raw_timestamp_micros`, `bytes_value`, `string_value`, `int_value`, `bool_value`, `timestamp_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
139
153
  # @!attribute [rw] timestamp_value
140
154
  # @return [::Google::Protobuf::Timestamp]
141
155
  # Represents a typed value transported as a timestamp.
156
+ #
157
+ # Note: The following fields are mutually exclusive: `timestamp_value`, `raw_value`, `raw_timestamp_micros`, `bytes_value`, `string_value`, `int_value`, `bool_value`, `float_value`, `date_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
142
158
  # @!attribute [rw] date_value
143
159
  # @return [::Google::Type::Date]
144
160
  # Represents a typed value transported as a date.
161
+ #
162
+ # Note: The following fields are mutually exclusive: `date_value`, `raw_value`, `raw_timestamp_micros`, `bytes_value`, `string_value`, `int_value`, `bool_value`, `float_value`, `timestamp_value`, `array_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
145
163
  # @!attribute [rw] array_value
146
164
  # @return [::Google::Cloud::Bigtable::V2::ArrayValue]
147
165
  # Represents a typed value transported as a sequence of values.
@@ -149,6 +167,8 @@ module Google
149
167
  # `Value` must provide an explicit `type` on write. This `type` will
150
168
  # apply recursively to the nested `Struct` fields, `Array` elements,
151
169
  # or `Map` key/value pairs, which *must not* supply their own `type`.
170
+ #
171
+ # Note: The following fields are mutually exclusive: `array_value`, `raw_value`, `raw_timestamp_micros`, `bytes_value`, `string_value`, `int_value`, `bool_value`, `float_value`, `timestamp_value`, `date_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
152
172
  class Value
153
173
  include ::Google::Protobuf::MessageExts
154
174
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -167,15 +187,23 @@ module Google
167
187
  # @!attribute [rw] start_key_closed
168
188
  # @return [::String]
169
189
  # Used when giving an inclusive lower bound for the range.
190
+ #
191
+ # Note: The following fields are mutually exclusive: `start_key_closed`, `start_key_open`. If a field in that set is populated, all other fields in the set will automatically be cleared.
170
192
  # @!attribute [rw] start_key_open
171
193
  # @return [::String]
172
194
  # Used when giving an exclusive lower bound for the range.
195
+ #
196
+ # Note: The following fields are mutually exclusive: `start_key_open`, `start_key_closed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
173
197
  # @!attribute [rw] end_key_open
174
198
  # @return [::String]
175
199
  # Used when giving an exclusive upper bound for the range.
200
+ #
201
+ # Note: The following fields are mutually exclusive: `end_key_open`, `end_key_closed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
176
202
  # @!attribute [rw] end_key_closed
177
203
  # @return [::String]
178
204
  # Used when giving an inclusive upper bound for the range.
205
+ #
206
+ # Note: The following fields are mutually exclusive: `end_key_closed`, `end_key_open`. If a field in that set is populated, all other fields in the set will automatically be cleared.
179
207
  class RowRange
180
208
  include ::Google::Protobuf::MessageExts
181
209
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,15 +231,23 @@ module Google
203
231
  # @!attribute [rw] start_qualifier_closed
204
232
  # @return [::String]
205
233
  # Used when giving an inclusive lower bound for the range.
234
+ #
235
+ # Note: The following fields are mutually exclusive: `start_qualifier_closed`, `start_qualifier_open`. If a field in that set is populated, all other fields in the set will automatically be cleared.
206
236
  # @!attribute [rw] start_qualifier_open
207
237
  # @return [::String]
208
238
  # Used when giving an exclusive lower bound for the range.
239
+ #
240
+ # Note: The following fields are mutually exclusive: `start_qualifier_open`, `start_qualifier_closed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
209
241
  # @!attribute [rw] end_qualifier_closed
210
242
  # @return [::String]
211
243
  # Used when giving an inclusive upper bound for the range.
244
+ #
245
+ # Note: The following fields are mutually exclusive: `end_qualifier_closed`, `end_qualifier_open`. If a field in that set is populated, all other fields in the set will automatically be cleared.
212
246
  # @!attribute [rw] end_qualifier_open
213
247
  # @return [::String]
214
248
  # Used when giving an exclusive upper bound for the range.
249
+ #
250
+ # Note: The following fields are mutually exclusive: `end_qualifier_open`, `end_qualifier_closed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
215
251
  class ColumnRange
216
252
  include ::Google::Protobuf::MessageExts
217
253
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -233,15 +269,23 @@ module Google
233
269
  # @!attribute [rw] start_value_closed
234
270
  # @return [::String]
235
271
  # Used when giving an inclusive lower bound for the range.
272
+ #
273
+ # Note: The following fields are mutually exclusive: `start_value_closed`, `start_value_open`. If a field in that set is populated, all other fields in the set will automatically be cleared.
236
274
  # @!attribute [rw] start_value_open
237
275
  # @return [::String]
238
276
  # Used when giving an exclusive lower bound for the range.
277
+ #
278
+ # Note: The following fields are mutually exclusive: `start_value_open`, `start_value_closed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
239
279
  # @!attribute [rw] end_value_closed
240
280
  # @return [::String]
241
281
  # Used when giving an inclusive upper bound for the range.
282
+ #
283
+ # Note: The following fields are mutually exclusive: `end_value_closed`, `end_value_open`. If a field in that set is populated, all other fields in the set will automatically be cleared.
242
284
  # @!attribute [rw] end_value_open
243
285
  # @return [::String]
244
286
  # Used when giving an exclusive upper bound for the range.
287
+ #
288
+ # Note: The following fields are mutually exclusive: `end_value_open`, `end_value_closed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
245
289
  class ValueRange
246
290
  include ::Google::Protobuf::MessageExts
247
291
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -284,14 +328,20 @@ module Google
284
328
  # @return [::Google::Cloud::Bigtable::V2::RowFilter::Chain]
285
329
  # Applies several RowFilters to the data in sequence, progressively
286
330
  # narrowing the results.
331
+ #
332
+ # Note: The following fields are mutually exclusive: `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
287
333
  # @!attribute [rw] interleave
288
334
  # @return [::Google::Cloud::Bigtable::V2::RowFilter::Interleave]
289
335
  # Applies several RowFilters to the data in parallel and combines the
290
336
  # results.
337
+ #
338
+ # Note: The following fields are mutually exclusive: `interleave`, `chain`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
291
339
  # @!attribute [rw] condition
292
340
  # @return [::Google::Cloud::Bigtable::V2::RowFilter::Condition]
293
341
  # Applies one of two possible RowFilters to the data based on the output of
294
342
  # a predicate RowFilter.
343
+ #
344
+ # Note: The following fields are mutually exclusive: `condition`, `chain`, `interleave`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
295
345
  # @!attribute [rw] sink
296
346
  # @return [::Boolean]
297
347
  # ADVANCED USE ONLY.
@@ -353,14 +403,20 @@ module Google
353
403
  #
354
404
  # Cannot be used within the `predicate_filter`, `true_filter`, or
355
405
  # `false_filter` of a {::Google::Cloud::Bigtable::V2::RowFilter::Condition Condition}.
406
+ #
407
+ # Note: The following fields are mutually exclusive: `sink`, `chain`, `interleave`, `condition`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
356
408
  # @!attribute [rw] pass_all_filter
357
409
  # @return [::Boolean]
358
410
  # Matches all cells, regardless of input. Functionally equivalent to
359
411
  # leaving `filter` unset, but included for completeness.
412
+ #
413
+ # Note: The following fields are mutually exclusive: `pass_all_filter`, `chain`, `interleave`, `condition`, `sink`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
360
414
  # @!attribute [rw] block_all_filter
361
415
  # @return [::Boolean]
362
416
  # Does not match any cells, regardless of input. Useful for temporarily
363
417
  # disabling just part of a filter.
418
+ #
419
+ # Note: The following fields are mutually exclusive: `block_all_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
364
420
  # @!attribute [rw] row_key_regex_filter
365
421
  # @return [::String]
366
422
  # Matches only cells from rows whose keys satisfy the given RE2 regex. In
@@ -370,10 +426,14 @@ module Google
370
426
  # sequence must be used if a true wildcard is desired. The `.` character
371
427
  # will not match the new line character `\n`, which may be present in a
372
428
  # binary key.
429
+ #
430
+ # Note: The following fields are mutually exclusive: `row_key_regex_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
373
431
  # @!attribute [rw] row_sample_filter
374
432
  # @return [::Float]
375
433
  # Matches all cells from a row with probability p, and matches no cells
376
434
  # from the row with probability 1-p.
435
+ #
436
+ # Note: The following fields are mutually exclusive: `row_sample_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
377
437
  # @!attribute [rw] family_name_regex_filter
378
438
  # @return [::String]
379
439
  # Matches only cells from columns whose families satisfy the given RE2
@@ -382,6 +442,8 @@ module Google
382
442
  # Note that, since column families cannot contain the new line character
383
443
  # `\n`, it is sufficient to use `.` as a full wildcard when matching
384
444
  # column family names.
445
+ #
446
+ # Note: The following fields are mutually exclusive: `family_name_regex_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
385
447
  # @!attribute [rw] column_qualifier_regex_filter
386
448
  # @return [::String]
387
449
  # Matches only cells from columns whose qualifiers satisfy the given RE2
@@ -390,12 +452,18 @@ module Google
390
452
  # escape sequence must be used if a true wildcard is desired. The `.`
391
453
  # character will not match the new line character `\n`, which may be
392
454
  # present in a binary qualifier.
455
+ #
456
+ # Note: The following fields are mutually exclusive: `column_qualifier_regex_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
393
457
  # @!attribute [rw] column_range_filter
394
458
  # @return [::Google::Cloud::Bigtable::V2::ColumnRange]
395
459
  # Matches only cells from columns within the given range.
460
+ #
461
+ # Note: The following fields are mutually exclusive: `column_range_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
396
462
  # @!attribute [rw] timestamp_range_filter
397
463
  # @return [::Google::Cloud::Bigtable::V2::TimestampRange]
398
464
  # Matches only cells with timestamps within the given range.
465
+ #
466
+ # Note: The following fields are mutually exclusive: `timestamp_range_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
399
467
  # @!attribute [rw] value_regex_filter
400
468
  # @return [::String]
401
469
  # Matches only cells with values that satisfy the given regular expression.
@@ -403,19 +471,27 @@ module Google
403
471
  # sequence must be used if a true wildcard is desired. The `.` character
404
472
  # will not match the new line character `\n`, which may be present in a
405
473
  # binary value.
474
+ #
475
+ # Note: The following fields are mutually exclusive: `value_regex_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
406
476
  # @!attribute [rw] value_range_filter
407
477
  # @return [::Google::Cloud::Bigtable::V2::ValueRange]
408
478
  # Matches only cells with values that fall within the given range.
479
+ #
480
+ # Note: The following fields are mutually exclusive: `value_range_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
409
481
  # @!attribute [rw] cells_per_row_offset_filter
410
482
  # @return [::Integer]
411
483
  # Skips the first N cells of each row, matching all subsequent cells.
412
484
  # If duplicate cells are present, as is possible when using an Interleave,
413
485
  # each copy of the cell is counted separately.
486
+ #
487
+ # Note: The following fields are mutually exclusive: `cells_per_row_offset_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
414
488
  # @!attribute [rw] cells_per_row_limit_filter
415
489
  # @return [::Integer]
416
490
  # Matches only the first N cells of each row.
417
491
  # If duplicate cells are present, as is possible when using an Interleave,
418
492
  # each copy of the cell is counted separately.
493
+ #
494
+ # Note: The following fields are mutually exclusive: `cells_per_row_limit_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
419
495
  # @!attribute [rw] cells_per_column_limit_filter
420
496
  # @return [::Integer]
421
497
  # Matches only the most recent N cells within each column. For example,
@@ -424,9 +500,13 @@ module Google
424
500
  # column `foo:bar2`.
425
501
  # If duplicate cells are present, as is possible when using an Interleave,
426
502
  # each copy of the cell is counted separately.
503
+ #
504
+ # Note: The following fields are mutually exclusive: `cells_per_column_limit_filter`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `strip_value_transformer`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
427
505
  # @!attribute [rw] strip_value_transformer
428
506
  # @return [::Boolean]
429
507
  # Replaces each cell's value with the empty string.
508
+ #
509
+ # Note: The following fields are mutually exclusive: `strip_value_transformer`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `apply_label_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
430
510
  # @!attribute [rw] apply_label_transformer
431
511
  # @return [::String]
432
512
  # Applies the given label to all cells in the output row. This allows
@@ -442,6 +522,8 @@ module Google
442
522
  # an Interleave to contain multiple `apply_label_transformers`, as they
443
523
  # will be applied to separate copies of the input. This may be relaxed in
444
524
  # the future.
525
+ #
526
+ # Note: The following fields are mutually exclusive: `apply_label_transformer`, `chain`, `interleave`, `condition`, `sink`, `pass_all_filter`, `block_all_filter`, `row_key_regex_filter`, `row_sample_filter`, `family_name_regex_filter`, `column_qualifier_regex_filter`, `column_range_filter`, `timestamp_range_filter`, `value_regex_filter`, `value_range_filter`, `cells_per_row_offset_filter`, `cells_per_row_limit_filter`, `cells_per_column_limit_filter`, `strip_value_transformer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
445
527
  class RowFilter
446
528
  include ::Google::Protobuf::MessageExts
447
529
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -521,21 +603,33 @@ module Google
521
603
  # @!attribute [rw] set_cell
522
604
  # @return [::Google::Cloud::Bigtable::V2::Mutation::SetCell]
523
605
  # Set a cell's value.
606
+ #
607
+ # Note: The following fields are mutually exclusive: `set_cell`, `add_to_cell`, `merge_to_cell`, `delete_from_column`, `delete_from_family`, `delete_from_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
524
608
  # @!attribute [rw] add_to_cell
525
609
  # @return [::Google::Cloud::Bigtable::V2::Mutation::AddToCell]
526
610
  # Incrementally updates an `Aggregate` cell.
611
+ #
612
+ # Note: The following fields are mutually exclusive: `add_to_cell`, `set_cell`, `merge_to_cell`, `delete_from_column`, `delete_from_family`, `delete_from_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
527
613
  # @!attribute [rw] merge_to_cell
528
614
  # @return [::Google::Cloud::Bigtable::V2::Mutation::MergeToCell]
529
615
  # Merges accumulated state to an `Aggregate` cell.
616
+ #
617
+ # Note: The following fields are mutually exclusive: `merge_to_cell`, `set_cell`, `add_to_cell`, `delete_from_column`, `delete_from_family`, `delete_from_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
530
618
  # @!attribute [rw] delete_from_column
531
619
  # @return [::Google::Cloud::Bigtable::V2::Mutation::DeleteFromColumn]
532
620
  # Deletes cells from a column.
621
+ #
622
+ # Note: The following fields are mutually exclusive: `delete_from_column`, `set_cell`, `add_to_cell`, `merge_to_cell`, `delete_from_family`, `delete_from_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
533
623
  # @!attribute [rw] delete_from_family
534
624
  # @return [::Google::Cloud::Bigtable::V2::Mutation::DeleteFromFamily]
535
625
  # Deletes cells from a column family.
626
+ #
627
+ # Note: The following fields are mutually exclusive: `delete_from_family`, `set_cell`, `add_to_cell`, `merge_to_cell`, `delete_from_column`, `delete_from_row`. If a field in that set is populated, all other fields in the set will automatically be cleared.
536
628
  # @!attribute [rw] delete_from_row
537
629
  # @return [::Google::Cloud::Bigtable::V2::Mutation::DeleteFromRow]
538
630
  # Deletes cells from the entire row.
631
+ #
632
+ # Note: The following fields are mutually exclusive: `delete_from_row`, `set_cell`, `add_to_cell`, `merge_to_cell`, `delete_from_column`, `delete_from_family`. If a field in that set is populated, all other fields in the set will automatically be cleared.
539
633
  class Mutation
540
634
  include ::Google::Protobuf::MessageExts
541
635
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -663,12 +757,16 @@ module Google
663
757
  # Rule specifying that `append_value` be appended to the existing value.
664
758
  # If the targeted cell is unset, it will be treated as containing the
665
759
  # empty string.
760
+ #
761
+ # Note: The following fields are mutually exclusive: `append_value`, `increment_amount`. If a field in that set is populated, all other fields in the set will automatically be cleared.
666
762
  # @!attribute [rw] increment_amount
667
763
  # @return [::Integer]
668
764
  # Rule specifying that `increment_amount` be added to the existing value.
669
765
  # If the targeted cell is unset, it will be treated as containing a zero.
670
766
  # Otherwise, the targeted cell must contain an 8-byte value (interpreted
671
767
  # as a 64-bit big-endian signed integer), or the entire request will fail.
768
+ #
769
+ # Note: The following fields are mutually exclusive: `increment_amount`, `append_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
672
770
  class ReadModifyWriteRule
673
771
  include ::Google::Protobuf::MessageExts
674
772
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -762,52 +860,112 @@ module Google
762
860
  extend ::Google::Protobuf::MessageExts::ClassMethods
763
861
  end
764
862
 
765
- # Batch of serialized ProtoRows.
863
+ # A part of a serialized `ProtoRows` message.
766
864
  # @!attribute [rw] batch_data
767
865
  # @return [::String]
768
- # Merge partial results by concatenating these bytes, then parsing the
769
- # overall value as a `ProtoRows` message.
866
+ # Part of a serialized `ProtoRows` message.
867
+ # A complete, parseable ProtoRows message is constructed by
868
+ # concatenating `batch_data` from multiple `ProtoRowsBatch` messages. The
869
+ # `PartialResultSet` that contains the last part has `complete_batch` set to
870
+ # `true`.
770
871
  class ProtoRowsBatch
771
872
  include ::Google::Protobuf::MessageExts
772
873
  extend ::Google::Protobuf::MessageExts::ClassMethods
773
874
  end
774
875
 
775
876
  # A partial result set from the streaming query API.
776
- # CBT client will buffer partial_rows from result_sets until it gets a
777
- # resumption_token.
877
+ # Cloud Bigtable clients buffer partial results received in this message until
878
+ # a `resume_token` is received.
879
+ #
880
+ # The pseudocode below describes how to buffer and parse a stream of
881
+ # `PartialResultSet` messages.
882
+ #
883
+ # Having:
884
+ # - queue of row results waiting to be returned `queue`
885
+ # - extensible buffer of bytes `buffer`
886
+ # - a place to keep track of the most recent `resume_token`
887
+ # for each PartialResultSet `p` received {
888
+ # if p.reset {
889
+ # ensure `queue` is empty
890
+ # ensure `buffer` is empty
891
+ # }
892
+ # if p.estimated_batch_size != 0 {
893
+ # (optional) ensure `buffer` is sized to at least `p.estimated_batch_size`
894
+ # }
895
+ # if `p.proto_rows_batch` is set {
896
+ # append `p.proto_rows_batch.bytes` to `buffer`
897
+ # }
898
+ # if p.batch_checksum is set and `buffer` is not empty {
899
+ # validate the checksum matches the contents of `buffer`
900
+ # (see comments on `batch_checksum`)
901
+ # parse `buffer` as `ProtoRows` message, clearing `buffer`
902
+ # add parsed rows to end of `queue`
903
+ # }
904
+ # if p.resume_token is set {
905
+ # release results in `queue`
906
+ # save `p.resume_token` in `resume_token`
907
+ # }
908
+ # }
778
909
  # @!attribute [rw] proto_rows_batch
779
910
  # @return [::Google::Cloud::Bigtable::V2::ProtoRowsBatch]
780
911
  # Partial rows in serialized ProtoRows format.
912
+ # @!attribute [rw] batch_checksum
913
+ # @return [::Integer]
914
+ # CRC32C checksum of concatenated `partial_rows` data for the current batch.
915
+ #
916
+ # When present, the buffered data from `partial_rows` forms a complete
917
+ # parseable message of the appropriate type.
918
+ #
919
+ # The client should mark the end of a parseable message and prepare to
920
+ # receive a new one starting from the next `PartialResultSet` message.
921
+ # Clients must verify the checksum of the serialized batch before yielding it
922
+ # to the caller.
923
+ #
924
+ # This does NOT mean the values can be yielded to the callers since a
925
+ # `resume_token` is required to safely do so.
926
+ #
927
+ # If `resume_token` is non-empty and any data has been received since the
928
+ # last one, this field is guaranteed to be non-empty. In other words, clients
929
+ # may assume that a batch will never cross a `resume_token` boundary.
781
930
  # @!attribute [rw] resume_token
782
931
  # @return [::String]
783
932
  # An opaque token sent by the server to allow query resumption and signal
784
- # the client to accumulate `partial_rows` since the last non-empty
785
- # `resume_token`. On resumption, the resumed query will return the remaining
786
- # rows for this query.
933
+ # that the buffered values constructed from received `partial_rows` can be
934
+ # yielded to the caller. Clients can provide this token in a subsequent
935
+ # request to resume the result stream from the current point.
936
+ #
937
+ # When `resume_token` is non-empty, the buffered values received from
938
+ # `partial_rows` since the last non-empty `resume_token` can be yielded to
939
+ # the callers, provided that the client keeps the value of `resume_token` and
940
+ # uses it on subsequent retries.
787
941
  #
788
- # If there is a batch in progress, a non-empty `resume_token`
789
- # means that that the batch of `partial_rows` will be complete after merging
790
- # the `partial_rows` from this response. The client must only yield
791
- # completed batches to the application, and must ensure that any future
792
- # retries send the latest token to avoid returning duplicate data.
942
+ # A `resume_token` may be sent without information in `partial_rows` to
943
+ # checkpoint the progress of a sparse query. Any previous `partial_rows` data
944
+ # should still be yielded in this case, and the new `resume_token` should be
945
+ # saved for future retries as normal.
793
946
  #
794
- # The server may set 'resume_token' without a 'partial_rows'. If there is a
795
- # batch in progress the client should yield it.
947
+ # A `resume_token` will only be sent on a boundary where there is either no
948
+ # ongoing result batch, or `batch_checksum` is also populated.
796
949
  #
797
950
  # The server will also send a sentinel `resume_token` when last batch of
798
951
  # `partial_rows` is sent. If the client retries the ExecuteQueryRequest with
799
952
  # the sentinel `resume_token`, the server will emit it again without any
800
- # `partial_rows`, then return OK.
953
+ # data in `partial_rows`, then return OK.
954
+ # @!attribute [rw] reset
955
+ # @return [::Boolean]
956
+ # If `true`, any data buffered since the last non-empty `resume_token` must
957
+ # be discarded before the other parts of this message, if any, are handled.
801
958
  # @!attribute [rw] estimated_batch_size
802
959
  # @return [::Integer]
803
- # Estimated size of a new batch. The server will always set this when
804
- # returning the first `partial_rows` of a batch, and will not set it at any
805
- # other time.
806
- #
807
- # The client can use this estimate to allocate an initial buffer for the
808
- # batched results. This helps minimize the number of allocations required,
809
- # though the buffer size may still need to be increased if the estimate is
810
- # too low.
960
+ # Estimated size of the buffer required to hold the next batch of results.
961
+ #
962
+ # This value will be sent with the first `partial_rows` of a batch. That is,
963
+ # on the first `partial_rows` received in a stream, on the first message
964
+ # after a `batch_checksum` message, and any time `reset` is true.
965
+ #
966
+ # The client can use this estimate to allocate a buffer for the next batch of
967
+ # results. This helps minimize the number of allocations required, though the
968
+ # buffer size may still need to be increased if the estimate is too low.
811
969
  class PartialResultSet
812
970
  include ::Google::Protobuf::MessageExts
813
971
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -48,39 +48,63 @@ module Google
48
48
  # @!attribute [rw] bytes_type
49
49
  # @return [::Google::Cloud::Bigtable::V2::Type::Bytes]
50
50
  # Bytes
51
+ #
52
+ # 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.
51
53
  # @!attribute [rw] string_type
52
54
  # @return [::Google::Cloud::Bigtable::V2::Type::String]
53
55
  # String
56
+ #
57
+ # 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.
54
58
  # @!attribute [rw] int64_type
55
59
  # @return [::Google::Cloud::Bigtable::V2::Type::Int64]
56
60
  # Int64
61
+ #
62
+ # 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.
57
63
  # @!attribute [rw] float32_type
58
64
  # @return [::Google::Cloud::Bigtable::V2::Type::Float32]
59
65
  # Float32
66
+ #
67
+ # 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.
60
68
  # @!attribute [rw] float64_type
61
69
  # @return [::Google::Cloud::Bigtable::V2::Type::Float64]
62
70
  # Float64
71
+ #
72
+ # 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.
63
73
  # @!attribute [rw] bool_type
64
74
  # @return [::Google::Cloud::Bigtable::V2::Type::Bool]
65
75
  # Bool
76
+ #
77
+ # 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.
66
78
  # @!attribute [rw] timestamp_type
67
79
  # @return [::Google::Cloud::Bigtable::V2::Type::Timestamp]
68
80
  # Timestamp
81
+ #
82
+ # 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.
69
83
  # @!attribute [rw] date_type
70
84
  # @return [::Google::Cloud::Bigtable::V2::Type::Date]
71
85
  # Date
86
+ #
87
+ # 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.
72
88
  # @!attribute [rw] aggregate_type
73
89
  # @return [::Google::Cloud::Bigtable::V2::Type::Aggregate]
74
90
  # Aggregate
91
+ #
92
+ # 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.
75
93
  # @!attribute [rw] struct_type
76
94
  # @return [::Google::Cloud::Bigtable::V2::Type::Struct]
77
95
  # Struct
96
+ #
97
+ # 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.
78
98
  # @!attribute [rw] array_type
79
99
  # @return [::Google::Cloud::Bigtable::V2::Type::Array]
80
100
  # Array
101
+ #
102
+ # 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.
81
103
  # @!attribute [rw] map_type
82
104
  # @return [::Google::Cloud::Bigtable::V2::Type::Map]
83
105
  # Map
106
+ #
107
+ # 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.
84
108
  class Type
85
109
  include ::Google::Protobuf::MessageExts
86
110
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -127,9 +151,13 @@ module Google
127
151
  # @deprecated This field is deprecated and may be removed in the next major version update.
128
152
  # @return [::Google::Cloud::Bigtable::V2::Type::String::Encoding::Utf8Raw]
129
153
  # Deprecated: if set, converts to an empty `utf8_bytes`.
154
+ #
155
+ # 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.
130
156
  # @!attribute [rw] utf8_bytes
131
157
  # @return [::Google::Cloud::Bigtable::V2::Type::String::Encoding::Utf8Bytes]
132
158
  # Use `Utf8Bytes` encoding.
159
+ #
160
+ # 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.
133
161
  class Encoding
134
162
  include ::Google::Protobuf::MessageExts
135
163
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -297,15 +325,23 @@ module Google
297
325
  # @!attribute [rw] sum
298
326
  # @return [::Google::Cloud::Bigtable::V2::Type::Aggregate::Sum]
299
327
  # Sum aggregator.
328
+ #
329
+ # 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.
300
330
  # @!attribute [rw] hllpp_unique_count
301
331
  # @return [::Google::Cloud::Bigtable::V2::Type::Aggregate::HyperLogLogPlusPlusUniqueCount]
302
332
  # HyperLogLogPlusPlusUniqueCount aggregator.
333
+ #
334
+ # 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.
303
335
  # @!attribute [rw] max
304
336
  # @return [::Google::Cloud::Bigtable::V2::Type::Aggregate::Max]
305
337
  # Max aggregator.
338
+ #
339
+ # 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.
306
340
  # @!attribute [rw] min
307
341
  # @return [::Google::Cloud::Bigtable::V2::Type::Aggregate::Min]
308
342
  # Min aggregator.
343
+ #
344
+ # 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.
309
345
  class Aggregate
310
346
  include ::Google::Protobuf::MessageExts
311
347
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-03-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -94,7 +93,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
94
93
  licenses:
95
94
  - Apache-2.0
96
95
  metadata: {}
97
- post_install_message:
98
96
  rdoc_options: []
99
97
  require_paths:
100
98
  - lib
@@ -102,15 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
100
  requirements:
103
101
  - - ">="
104
102
  - !ruby/object:Gem::Version
105
- version: '2.7'
103
+ version: '3.0'
106
104
  required_rubygems_version: !ruby/object:Gem::Requirement
107
105
  requirements:
108
106
  - - ">="
109
107
  - !ruby/object:Gem::Version
110
108
  version: '0'
111
109
  requirements: []
112
- rubygems_version: 3.5.23
113
- signing_key:
110
+ rubygems_version: 3.6.5
114
111
  specification_version: 4
115
112
  summary: API for reading and writing the contents of Bigtable tables associated with
116
113
  a Google Cloud project.