google-apis-bigtableadmin_v2 0.47.0 → 0.49.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cce34b83728d1a9b87325ab59cf65c651c1e6aba751333a9b584985d2f5330ef
4
- data.tar.gz: 5cdcf440f2387beb9b11e62a3945ca65eff6c4186f4ebd8f37cc74c1ffd5e8c5
3
+ metadata.gz: 264c020b19789b710c04cf0941013f18d779318a8bb1f5fb65b41875bcae21cc
4
+ data.tar.gz: 3f09d9768bffef1e70a44b0e329f52a59f86bb23a05d902c78fe521069aa2847
5
5
  SHA512:
6
- metadata.gz: dfcee1ff6e885ad9714abc79ff97c1b5481ff5d1e0a5067ef9c15b10096efe70f4fddf96f705e6c7aafcea963a0a5dea7962bc62587cebbf9680b62b52a189dc
7
- data.tar.gz: ff06830f9f16e16f797889bedec7b5878d3bb850440efda9e251a035cd9fe4d538137ac898482169170bcb2b67b6ec32e40010a03d5353b007df942c68a6b3d7
6
+ metadata.gz: 0f1d5848d8ad8c4fbd6b1d27872b8d598034fb85a4b944132a8ebfd099fca856d846f90c21498bd232a431ac5bd41e0c636583d44d7f81b4c530b1c85a43a128
7
+ data.tar.gz: c582d3596cbf920d57abb7d647d9ee1ae17e08a3d9cf6f151cc2bbf4ac3c62a9052fa42e61c935a069dc539feaa5db3542e731a897399912400fc5a36bb2d9c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.49.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240225
6
+
7
+ ### v0.48.0 (2024-02-24)
8
+
9
+ * Regenerated from discovery document revision 20240221
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.47.0 (2024-01-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240120
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/bigtable/) may provide guid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -163,6 +163,33 @@ module Google
163
163
  end
164
164
  end
165
165
 
166
+ # Defines an automated backup policy for a table
167
+ class AutomatedBackupPolicy
168
+ include Google::Apis::Core::Hashable
169
+
170
+ # Required. How frequently automated backups should occur. The only supported
171
+ # value at this time is 24 hours.
172
+ # Corresponds to the JSON property `frequency`
173
+ # @return [String]
174
+ attr_accessor :frequency
175
+
176
+ # Required. How long the automated backups should be retained. The only
177
+ # supported value at this time is 3 days.
178
+ # Corresponds to the JSON property `retentionPeriod`
179
+ # @return [String]
180
+ attr_accessor :retention_period
181
+
182
+ def initialize(**args)
183
+ update!(**args)
184
+ end
185
+
186
+ # Update properties of this object
187
+ def update!(**args)
188
+ @frequency = args[:frequency] if args.key?(:frequency)
189
+ @retention_period = args[:retention_period] if args.key?(:retention_period)
190
+ end
191
+ end
192
+
166
193
  # Limits for the number of nodes a Cluster can autoscale up/down to.
167
194
  class AutoscalingLimits
168
195
  include Google::Apis::Core::Hashable
@@ -261,7 +288,7 @@ module Google
261
288
 
262
289
  # Output only. Name of the backup from which this backup was copied. If a backup
263
290
  # is not created by copying a backup, this field will be empty. Values are of
264
- # the form: projects//instances//backups/.
291
+ # the form: projects//instances//clusters//backups/
265
292
  # Corresponds to the JSON property `sourceBackup`
266
293
  # @return [String]
267
294
  attr_accessor :source_backup
@@ -320,7 +347,7 @@ module Google
320
347
 
321
348
  # Output only. Name of the backup from which this backup was copied. If a backup
322
349
  # is not created by copying a backup, this field will be empty. Values are of
323
- # the form: projects//instances//backups/.
350
+ # the form: projects//instances//clusters//backups/
324
351
  # Corresponds to the JSON property `sourceBackup`
325
352
  # @return [String]
326
353
  attr_accessor :source_backup
@@ -431,7 +458,10 @@ module Google
431
458
  attr_accessor :members
432
459
 
433
460
  # Role that is assigned to the list of `members`, or principals. For example, `
434
- # roles/viewer`, `roles/editor`, or `roles/owner`.
461
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
462
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
463
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
464
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
435
465
  # Corresponds to the JSON property `role`
436
466
  # @return [String]
437
467
  attr_accessor :role
@@ -480,12 +510,6 @@ module Google
480
510
  # @return [String]
481
511
  attr_accessor :consistency_token
482
512
 
483
- # Checks that all writes before the consistency token was generated is
484
- # replicated in every cluster and readable.
485
- # Corresponds to the JSON property `standardReadRemoteWrites`
486
- # @return [Google::Apis::BigtableadminV2::StandardReadRemoteWrites]
487
- attr_accessor :standard_read_remote_writes
488
-
489
513
  def initialize(**args)
490
514
  update!(**args)
491
515
  end
@@ -493,7 +517,6 @@ module Google
493
517
  # Update properties of this object
494
518
  def update!(**args)
495
519
  @consistency_token = args[:consistency_token] if args.key?(:consistency_token)
496
- @standard_read_remote_writes = args[:standard_read_remote_writes] if args.key?(:standard_read_remote_writes)
497
520
  end
498
521
  end
499
522
 
@@ -1774,6 +1797,13 @@ module Google
1774
1797
  # @return [Google::Apis::BigtableadminV2::ColumnFamily]
1775
1798
  attr_accessor :update
1776
1799
 
1800
+ # Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update` mod
1801
+ # should be updated, ignored for other modification types. If unset or empty, we
1802
+ # treat it as updating `gc_rule` to be backward compatible.
1803
+ # Corresponds to the JSON property `updateMask`
1804
+ # @return [String]
1805
+ attr_accessor :update_mask
1806
+
1777
1807
  def initialize(**args)
1778
1808
  update!(**args)
1779
1809
  end
@@ -1784,6 +1814,7 @@ module Google
1784
1814
  @drop = args[:drop] if args.key?(:drop)
1785
1815
  @id = args[:id] if args.key?(:id)
1786
1816
  @update = args[:update] if args.key?(:update)
1817
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1787
1818
  end
1788
1819
  end
1789
1820
 
@@ -2369,20 +2400,6 @@ module Google
2369
2400
  end
2370
2401
  end
2371
2402
 
2372
- # Checks that all writes before the consistency token was generated is
2373
- # replicated in every cluster and readable.
2374
- class StandardReadRemoteWrites
2375
- include Google::Apis::Core::Hashable
2376
-
2377
- def initialize(**args)
2378
- update!(**args)
2379
- end
2380
-
2381
- # Update properties of this object
2382
- def update!(**args)
2383
- end
2384
- end
2385
-
2386
2403
  # The `Status` type defines a logical error model that is suitable for different
2387
2404
  # programming environments, including REST APIs and RPC APIs. It is used by [
2388
2405
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2427,6 +2444,11 @@ module Google
2427
2444
  class Table
2428
2445
  include Google::Apis::Core::Hashable
2429
2446
 
2447
+ # Defines an automated backup policy for a table
2448
+ # Corresponds to the JSON property `automatedBackupPolicy`
2449
+ # @return [Google::Apis::BigtableadminV2::AutomatedBackupPolicy]
2450
+ attr_accessor :automated_backup_policy
2451
+
2430
2452
  # Change stream configuration.
2431
2453
  # Corresponds to the JSON property `changeStreamConfig`
2432
2454
  # @return [Google::Apis::BigtableadminV2::ChangeStreamConfig]
@@ -2492,6 +2514,7 @@ module Google
2492
2514
 
2493
2515
  # Update properties of this object
2494
2516
  def update!(**args)
2517
+ @automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
2495
2518
  @change_stream_config = args[:change_stream_config] if args.key?(:change_stream_config)
2496
2519
  @cluster_states = args[:cluster_states] if args.key?(:cluster_states)
2497
2520
  @column_families = args[:column_families] if args.key?(:column_families)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigtableadminV2
18
18
  # Version of the google-apis-bigtableadmin_v2 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240120"
25
+ REVISION = "20240225"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AutomatedBackupPolicy
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class AutoscalingLimits
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -406,12 +412,6 @@ module Google
406
412
  include Google::Apis::Core::JsonObjectSupport
407
413
  end
408
414
 
409
- class StandardReadRemoteWrites
410
- class Representation < Google::Apis::Core::JsonRepresentation; end
411
-
412
- include Google::Apis::Core::JsonObjectSupport
413
- end
414
-
415
415
  class Status
416
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
417
 
@@ -523,6 +523,14 @@ module Google
523
523
  end
524
524
  end
525
525
 
526
+ class AutomatedBackupPolicy
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :frequency, as: 'frequency'
530
+ property :retention_period, as: 'retentionPeriod'
531
+ end
532
+ end
533
+
526
534
  class AutoscalingLimits
527
535
  # @private
528
536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -587,8 +595,6 @@ module Google
587
595
  # @private
588
596
  class Representation < Google::Apis::Core::JsonRepresentation
589
597
  property :consistency_token, as: 'consistencyToken'
590
- property :standard_read_remote_writes, as: 'standardReadRemoteWrites', class: Google::Apis::BigtableadminV2::StandardReadRemoteWrites, decorator: Google::Apis::BigtableadminV2::StandardReadRemoteWrites::Representation
591
-
592
598
  end
593
599
  end
594
600
 
@@ -955,6 +961,7 @@ module Google
955
961
  property :id, as: 'id'
956
962
  property :update, as: 'update', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
957
963
 
964
+ property :update_mask, as: 'updateMask'
958
965
  end
959
966
  end
960
967
 
@@ -1105,12 +1112,6 @@ module Google
1105
1112
  end
1106
1113
  end
1107
1114
 
1108
- class StandardReadRemoteWrites
1109
- # @private
1110
- class Representation < Google::Apis::Core::JsonRepresentation
1111
- end
1112
- end
1113
-
1114
1115
  class Status
1115
1116
  # @private
1116
1117
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1123,6 +1124,8 @@ module Google
1123
1124
  class Table
1124
1125
  # @private
1125
1126
  class Representation < Google::Apis::Core::JsonRepresentation
1127
+ property :automated_backup_policy, as: 'automatedBackupPolicy', class: Google::Apis::BigtableadminV2::AutomatedBackupPolicy, decorator: Google::Apis::BigtableadminV2::AutomatedBackupPolicy::Representation
1128
+
1126
1129
  property :change_stream_config, as: 'changeStreamConfig', class: Google::Apis::BigtableadminV2::ChangeStreamConfig, decorator: Google::Apis::BigtableadminV2::ChangeStreamConfig::Representation
1127
1130
 
1128
1131
  hash :cluster_states, as: 'clusterStates', class: Google::Apis::BigtableadminV2::ClusterState, decorator: Google::Apis::BigtableadminV2::ClusterState::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-28 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Bigtable Admin API V2