google-cloud-bigtable-admin-v2 1.18.1 → 1.22.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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +6 -1
  4. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +10 -1
  5. data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +1 -1
  6. data/lib/google/bigtable/admin/v2/instance_pb.rb +5 -1
  7. data/lib/google/bigtable/admin/v2/table_pb.rb +2 -1
  8. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +315 -1
  9. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/credentials.rb +1 -1
  10. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +1 -1
  11. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/paths.rb +20 -1
  12. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin.rb +1 -1
  13. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +1 -1
  14. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/credentials.rb +1 -1
  15. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +1 -1
  16. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/paths.rb +1 -1
  17. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin.rb +1 -1
  18. data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
  19. data/lib/google/cloud/bigtable/admin/v2.rb +1 -1
  20. data/lib/google-cloud-bigtable-admin-v2.rb +1 -1
  21. data/proto_docs/google/api/client.rb +1 -1
  22. data/proto_docs/google/api/field_behavior.rb +1 -1
  23. data/proto_docs/google/api/launch_stage.rb +1 -1
  24. data/proto_docs/google/api/resource.rb +1 -1
  25. data/proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb +87 -1
  26. data/proto_docs/google/bigtable/admin/v2/bigtable_table_admin.rb +1 -1
  27. data/proto_docs/google/bigtable/admin/v2/common.rb +1 -1
  28. data/proto_docs/google/bigtable/admin/v2/instance.rb +74 -1
  29. data/proto_docs/google/bigtable/admin/v2/table.rb +45 -2
  30. data/proto_docs/google/bigtable/admin/v2/types.rb +1 -1
  31. data/proto_docs/google/iam/v1/iam_policy.rb +1 -1
  32. data/proto_docs/google/iam/v1/options.rb +1 -1
  33. data/proto_docs/google/iam/v1/policy.rb +1 -1
  34. data/proto_docs/google/longrunning/operations.rb +1 -1
  35. data/proto_docs/google/protobuf/any.rb +1 -1
  36. data/proto_docs/google/protobuf/duration.rb +1 -1
  37. data/proto_docs/google/protobuf/empty.rb +1 -1
  38. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  39. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  40. data/proto_docs/google/rpc/status.rb +1 -1
  41. data/proto_docs/google/type/expr.rb +1 -1
  42. metadata +2 -3
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -306,6 +306,65 @@ module Google
306
306
  end
307
307
  end
308
308
 
309
+ # The memory layer of a cluster. A memory layer serves reads from
310
+ # memory without hitting the backing persistent data store.
311
+ # @!attribute [rw] name
312
+ # @return [::String]
313
+ # Identifier. Name of the memory layer. This is always:
314
+ # "projects/\\{project}/instances/\\{instance}/clusters/\\{cluster}/memoryLayer".
315
+ # @!attribute [rw] memory_config
316
+ # @return [::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::MemoryConfig]
317
+ # The configuration of this memory layer. Set an empty `memory_config` to
318
+ # enable the memory layer. Unset this to disable the memory layer.
319
+ # @!attribute [rw] etag
320
+ # @return [::String]
321
+ # Optional. The etag for this memory layer.
322
+ # This may be sent on update requests to ensure that the client has an
323
+ # up-to-date value before proceeding. The server returns an ABORTED error on
324
+ # a mismatched etag.
325
+ # @!attribute [r] state
326
+ # @return [::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::State]
327
+ # Output only. The current state of the memory layer.
328
+ class MemoryLayer
329
+ include ::Google::Protobuf::MessageExts
330
+ extend ::Google::Protobuf::MessageExts::ClassMethods
331
+
332
+ # Configuration of a memory layer.
333
+ # @!attribute [r] storage_size_gib
334
+ # @return [::Integer]
335
+ # Output only. Reporting the current size of the memory layer in GiB.
336
+ class MemoryConfig
337
+ include ::Google::Protobuf::MessageExts
338
+ extend ::Google::Protobuf::MessageExts::ClassMethods
339
+ end
340
+
341
+ # Possible states of a memory layer.
342
+ module State
343
+ # The state of the memory layer could not be determined.
344
+ STATE_NOT_KNOWN = 0
345
+
346
+ # The memory layer has been successfully enabled and is ready to serve
347
+ # requests.
348
+ READY = 1
349
+
350
+ # The memory layer is currently being enabled, and may be disabled
351
+ # if the enablement process encounters an error. A cluster may not be able
352
+ # to serve requests from the memory layer while being enabled.
353
+ ENABLING = 2
354
+
355
+ # The memory layer is currently being resized, and may revert to its
356
+ # previous storage size if the process encounters an error. The memory
357
+ # layer is still capable of serving requests while being resized, but may
358
+ # exhibit performance as if its number of allocated nodes is between the
359
+ # starting and requested states.
360
+ RESIZING = 3
361
+
362
+ # The memory layer is disabled. The default state for a cluster without a
363
+ # memory layer.
364
+ DISABLED = 4
365
+ end
366
+ end
367
+
309
368
  # A configuration object describing how Cloud Bigtable should treat traffic
310
369
  # from a particular end user application.
311
370
  # @!attribute [rw] name
@@ -413,9 +472,23 @@ module Google
413
472
  # @!attribute [rw] priority
414
473
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::Priority]
415
474
  # The priority of requests sent using this app profile.
475
+ # @!attribute [rw] memory_config
476
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::StandardIsolation::MemoryConfig]
477
+ # Optional. The memory config to use for requests sent using this app
478
+ # profile.
416
479
  class StandardIsolation
417
480
  include ::Google::Protobuf::MessageExts
418
481
  extend ::Google::Protobuf::MessageExts::ClassMethods
482
+
483
+ # If set, eligible single-row requests (currently limited to ReadRows)
484
+ # using this app profile will be routed to the memory layer. All eligible
485
+ # writes populate the memory layer. MemoryConfig can only be set if the
486
+ # AppProfile uses single cluster routing and the configured cluster has a
487
+ # memory layer enabled.
488
+ class MemoryConfig
489
+ include ::Google::Protobuf::MessageExts
490
+ extend ::Google::Protobuf::MessageExts::ClassMethods
491
+ end
419
492
  end
420
493
 
421
494
  # Data Boost is a serverless compute capability that lets you run
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -95,6 +95,12 @@ module Google
95
95
  # @return [::Google::Cloud::Bigtable::Admin::V2::Table::AutomatedBackupPolicy]
96
96
  # If specified, automated backups are enabled for this table.
97
97
  # Otherwise, automated backups are disabled.
98
+ # @!attribute [r] effective_automated_backup_policy
99
+ # @return [::Google::Cloud::Bigtable::Admin::V2::Table::AutomatedBackupPolicy]
100
+ # Output only. The effective automated backup policy applied to the table.
101
+ # This represents the policy actually in effect, which may be a
102
+ # system-default policy if the user has not explicitly configured one.
103
+ # Views: `SCHEMA_VIEW`, `FULL`.
98
104
  # @!attribute [rw] tiered_storage_config
99
105
  # @return [::Google::Cloud::Bigtable::Admin::V2::TieredStorageConfig]
100
106
  # Rules to specify what data is stored in each storage tier.
@@ -227,6 +233,20 @@ module Google
227
233
  # zones of the instance. Locations are in the format
228
234
  # `projects/{project}/locations/{zone}`.
229
235
  # This field can only set for tables in Enterprise Plus instances.
236
+ # @!attribute [rw] keep_hot_duration
237
+ # @return [::Google::Protobuf::Duration]
238
+ # Optional. The amount of time that the automated backups remain hot.
239
+ # If specified, the backups created by this policy are `HOT` backups.
240
+ # If not specified, the backups are `STANDARD` backups.
241
+ #
242
+ # The value must be at least 24 hours and at most 10 days, and can't
243
+ # exceed the policy's `retention_period`.
244
+ #
245
+ # Only SSD instances support `HOT` automated backups.
246
+ # @!attribute [rw] disabled
247
+ # @return [::Boolean]
248
+ # Optional. If `true`, automated backups are explicitly disabled on this
249
+ # table. This allows users to opt out of default enablement.
230
250
  class AutomatedBackupPolicy
231
251
  include ::Google::Protobuf::MessageExts
232
252
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -259,6 +279,9 @@ module Google
259
279
 
260
280
  # The table keeps data versioned at a granularity of 1ms.
261
281
  MILLIS = 1
282
+
283
+ # The table keeps data versioned at a granularity of 1us.
284
+ MICROS = 2
262
285
  end
263
286
 
264
287
  # Defines a view over a table's fields.
@@ -683,7 +706,7 @@ module Google
683
706
  extend ::Google::Protobuf::MessageExts::ClassMethods
684
707
  end
685
708
 
686
- # Represents a protobuf schema.
709
+ # Represents a collection of protobuf schemas.
687
710
  # @!attribute [rw] proto_descriptors
688
711
  # @return [::String]
689
712
  # Required. Contains a protobuf-serialized
@@ -706,6 +729,19 @@ module Google
706
729
  extend ::Google::Protobuf::MessageExts::ClassMethods
707
730
  end
708
731
 
732
+ # Represents a collection of Avro schemas.
733
+ # @!attribute [rw] json_schemas
734
+ # @return [::Array<::String>]
735
+ # Required. The Avro schemas in JSON format.
736
+ # Each element must be the content of a valid, self-contained Avro schema
737
+ # file (.avsc), as described in https://avro.apache.org/docs/1.8.1/spec.html.
738
+ # Use repeated elements to include multiple Avro schema files in a single
739
+ # bundle.
740
+ class AvroSchema
741
+ include ::Google::Protobuf::MessageExts
742
+ extend ::Google::Protobuf::MessageExts::ClassMethods
743
+ end
744
+
709
745
  # A named collection of related schemas.
710
746
  # @!attribute [rw] name
711
747
  # @return [::String]
@@ -715,6 +751,13 @@ module Google
715
751
  # @!attribute [rw] proto_schema
716
752
  # @return [::Google::Cloud::Bigtable::Admin::V2::ProtoSchema]
717
753
  # Schema for Protobufs.
754
+ #
755
+ # Note: The following fields are mutually exclusive: `proto_schema`, `avro_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
756
+ # @!attribute [rw] avro_schema
757
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AvroSchema]
758
+ # Optional. Schema for Avros.
759
+ #
760
+ # Note: The following fields are mutually exclusive: `avro_schema`, `proto_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
718
761
  # @!attribute [rw] etag
719
762
  # @return [::String]
720
763
  # Optional. The etag for this schema bundle.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2024 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable-admin-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.1
4
+ version: 1.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -51,8 +51,7 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.11'
54
- description: Cloud Bigtable is a fully managed, scalable NoSQL database service for
55
- large analytical and operational workloads. Note that google-cloud-bigtable-admin-v2
54
+ description: Administer your Cloud Bigtable tables and instances. Note that google-cloud-bigtable-admin-v2
56
55
  is a version-specific client library. For most uses, we recommend installing the
57
56
  main client library google-cloud-bigtable instead. See the readme for more details.
58
57
  email: googleapis-packages@google.com