google-apis-bigtableadmin_v2 0.92.0 → 0.94.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: 22392863d43d71e5db8c4e47b80fce03f70d6f9a3f93d76ec32a1520ac74e7e5
4
- data.tar.gz: 1e2822b5cb21a5f9debfbdfab86748471eba4d6cf718e7c7396a9b8b40a68cb6
3
+ metadata.gz: 5a2111743a8040e89948994bc1f262b5aa53823cfd7d4d52b6fb2cb3d6257a57
4
+ data.tar.gz: 429ad81ae88cc5946f1a926b1b82dc53b9fe0cf9fc99cb8ec8f8e848da1a7fb5
5
5
  SHA512:
6
- metadata.gz: 74ae43f5cf6e164b170e6051a1838379112ed9e98437fd5b1480eda15c1b43a8558eef2b6ce98742970727dae16c5cb1467603febd01c87075fb342974f72b7b
7
- data.tar.gz: 3934172c4583af09b50be8d72d0889c44869f4db7105f44995053ed7f882a406e894af5f525bf0bdb060d05b6f30cb5b58082d971bff5357e1a9a1c29b91d3e5
6
+ metadata.gz: c5693d37456f9b4617528bfdb0f184e87e6215af30917d5caf489869b219d15d2346194ae78d2746715dba8f0dbc7f243bdaecdbf6b33b340e86ac5df55dbb08
7
+ data.tar.gz: e406b7e1604faf1adb29b2485f8366048b776329dd0ec4f7bd515dbec70079c33ac9d83caa5070fb979fb551567dbe1e5ff5743c41381c9401b8bad740bc4f85
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.94.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261007
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.93.0 (2026-09-24)
9
+
10
+ * Regenerated from discovery document revision 20260913
11
+
3
12
  ### v0.92.0 (2026-08-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20260817
@@ -218,12 +218,28 @@ module Google
218
218
  class AutomatedBackupPolicy
219
219
  include Google::Apis::Core::Hashable
220
220
 
221
+ # Optional. If `true`, automated backups are explicitly disabled on this table.
222
+ # This allows users to opt out of default enablement.
223
+ # Corresponds to the JSON property `disabled`
224
+ # @return [Boolean]
225
+ attr_accessor :disabled
226
+ alias_method :disabled?, :disabled
227
+
221
228
  # How frequently automated backups should occur. The only supported value at
222
229
  # this time is 24 hours. An undefined frequency is treated as 24 hours.
223
230
  # Corresponds to the JSON property `frequency`
224
231
  # @return [String]
225
232
  attr_accessor :frequency
226
233
 
234
+ # Optional. The amount of time that the automated backups remain hot. If
235
+ # specified, the backups created by this policy are `HOT` backups. If not
236
+ # specified, the backups are `STANDARD` backups. The value must be at least 24
237
+ # hours and at most 10 days, and can't exceed the policy's `retention_period`.
238
+ # Only SSD instances support `HOT` automated backups.
239
+ # Corresponds to the JSON property `keepHotDuration`
240
+ # @return [String]
241
+ attr_accessor :keep_hot_duration
242
+
227
243
  # Optional. A list of Cloud Bigtable zones where automated backups are allowed
228
244
  # to be created. If empty, automated backups will be created in all zones of the
229
245
  # instance. Locations are in the format `projects/`project`/locations/`zone``.
@@ -244,7 +260,9 @@ module Google
244
260
 
245
261
  # Update properties of this object
246
262
  def update!(**args)
263
+ @disabled = args[:disabled] if args.key?(:disabled)
247
264
  @frequency = args[:frequency] if args.key?(:frequency)
265
+ @keep_hot_duration = args[:keep_hot_duration] if args.key?(:keep_hot_duration)
248
266
  @locations = args[:locations] if args.key?(:locations)
249
267
  @retention_period = args[:retention_period] if args.key?(:retention_period)
250
268
  end
@@ -306,6 +324,28 @@ module Google
306
324
  end
307
325
  end
308
326
 
327
+ # Represents a collection of Avro schemas.
328
+ class AvroSchema
329
+ include Google::Apis::Core::Hashable
330
+
331
+ # Required. The Avro schemas in JSON format. Each element must be the content of
332
+ # a valid, self-contained Avro schema file (.avsc), as described in https://avro.
333
+ # apache.org/docs/1.8.1/spec.html. Use repeated elements to include multiple
334
+ # Avro schema files in a single bundle.
335
+ # Corresponds to the JSON property `jsonSchemas`
336
+ # @return [Array<String>]
337
+ attr_accessor :json_schemas
338
+
339
+ def initialize(**args)
340
+ update!(**args)
341
+ end
342
+
343
+ # Update properties of this object
344
+ def update!(**args)
345
+ @json_schemas = args[:json_schemas] if args.key?(:json_schemas)
346
+ end
347
+ end
348
+
309
349
  # A backup of a Cloud Bigtable table.
310
350
  class Backup
311
351
  include Google::Apis::Core::Hashable
@@ -4114,6 +4154,12 @@ module Google
4114
4154
  # @return [String]
4115
4155
  attr_accessor :backup
4116
4156
 
4157
+ # A collection of user data indexed by row, column, and timestamp. Each table is
4158
+ # served using the resources of its parent cluster.
4159
+ # Corresponds to the JSON property `table`
4160
+ # @return [Google::Apis::BigtableadminV2::Table]
4161
+ attr_accessor :table
4162
+
4117
4163
  # Required. The id of the table to create and restore to. This table must not
4118
4164
  # already exist. The `table_id` appended to `parent` forms the full table name
4119
4165
  # of the form `projects//instances//tables/`.
@@ -4121,6 +4167,19 @@ module Google
4121
4167
  # @return [String]
4122
4168
  attr_accessor :table_id
4123
4169
 
4170
+ # Optional. The list of fields to set on the new table. A mask specifying which
4171
+ # fields (e.g. `deletion_protection`) in the `table` field should be set. This
4172
+ # mask is relative to the `table` field, not to the request message. The
4173
+ # wildcard (*) path is currently not supported. Currently RestoreTable only
4174
+ # supports the following fields for modification: * `deletion_protection`:
4175
+ # Defaults to `false` if not set. * `automated_backup_policy`: Defaults to no
4176
+ # automated backup policy if not set. Output-only fields in the mask will be
4177
+ # ignored. If any other field not listed above is included in `update_mask`, it
4178
+ # will result in an INVALID_ARGUMENT error.
4179
+ # Corresponds to the JSON property `updateMask`
4180
+ # @return [String]
4181
+ attr_accessor :update_mask
4182
+
4124
4183
  def initialize(**args)
4125
4184
  update!(**args)
4126
4185
  end
@@ -4128,7 +4187,9 @@ module Google
4128
4187
  # Update properties of this object
4129
4188
  def update!(**args)
4130
4189
  @backup = args[:backup] if args.key?(:backup)
4190
+ @table = args[:table] if args.key?(:table)
4131
4191
  @table_id = args[:table_id] if args.key?(:table_id)
4192
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
4132
4193
  end
4133
4194
  end
4134
4195
 
@@ -4157,6 +4218,11 @@ module Google
4157
4218
  class SchemaBundle
4158
4219
  include Google::Apis::Core::Hashable
4159
4220
 
4221
+ # Represents a collection of Avro schemas.
4222
+ # Corresponds to the JSON property `avroSchema`
4223
+ # @return [Google::Apis::BigtableadminV2::AvroSchema]
4224
+ attr_accessor :avro_schema
4225
+
4160
4226
  # Optional. The etag for this schema bundle. This may be sent on update and
4161
4227
  # delete requests to ensure the client has an up-to-date value before proceeding.
4162
4228
  # The server returns an ABORTED error on a mismatched etag.
@@ -4182,6 +4248,7 @@ module Google
4182
4248
 
4183
4249
  # Update properties of this object
4184
4250
  def update!(**args)
4251
+ @avro_schema = args[:avro_schema] if args.key?(:avro_schema)
4185
4252
  @etag = args[:etag] if args.key?(:etag)
4186
4253
  @name = args[:name] if args.key?(:name)
4187
4254
  @proto_schema = args[:proto_schema] if args.key?(:proto_schema)
@@ -4411,6 +4478,11 @@ module Google
4411
4478
  attr_accessor :deletion_protection
4412
4479
  alias_method :deletion_protection?, :deletion_protection
4413
4480
 
4481
+ # Defines an automated backup policy for a table
4482
+ # Corresponds to the JSON property `effectiveAutomatedBackupPolicy`
4483
+ # @return [Google::Apis::BigtableadminV2::AutomatedBackupPolicy]
4484
+ attr_accessor :effective_automated_backup_policy
4485
+
4414
4486
  # Immutable. The granularity at which timestamps are stored in this table.
4415
4487
  # Timestamps not matching the granularity will be rejected. If unspecified at
4416
4488
  # creation time, the value will be set to `MILLIS`. Views: `SCHEMA_VIEW`, `FULL`.
@@ -4465,6 +4537,7 @@ module Google
4465
4537
  @cluster_states = args[:cluster_states] if args.key?(:cluster_states)
4466
4538
  @column_families = args[:column_families] if args.key?(:column_families)
4467
4539
  @deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
4540
+ @effective_automated_backup_policy = args[:effective_automated_backup_policy] if args.key?(:effective_automated_backup_policy)
4468
4541
  @granularity = args[:granularity] if args.key?(:granularity)
4469
4542
  @name = args[:name] if args.key?(:name)
4470
4543
  @restore_info = args[:restore_info] if args.key?(:restore_info)
@@ -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.92.0"
19
+ GEM_VERSION = "0.94.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260817"
25
+ REVISION = "20261007"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class AvroSchema
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class Backup
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -989,7 +995,9 @@ module Google
989
995
  class AutomatedBackupPolicy
990
996
  # @private
991
997
  class Representation < Google::Apis::Core::JsonRepresentation
998
+ property :disabled, as: 'disabled'
992
999
  property :frequency, as: 'frequency'
1000
+ property :keep_hot_duration, as: 'keepHotDuration'
993
1001
  collection :locations, as: 'locations'
994
1002
  property :retention_period, as: 'retentionPeriod'
995
1003
  end
@@ -1011,6 +1019,13 @@ module Google
1011
1019
  end
1012
1020
  end
1013
1021
 
1022
+ class AvroSchema
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ collection :json_schemas, as: 'jsonSchemas'
1026
+ end
1027
+ end
1028
+
1014
1029
  class Backup
1015
1030
  # @private
1016
1031
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2067,7 +2082,10 @@ module Google
2067
2082
  # @private
2068
2083
  class Representation < Google::Apis::Core::JsonRepresentation
2069
2084
  property :backup, as: 'backup'
2085
+ property :table, as: 'table', class: Google::Apis::BigtableadminV2::Table, decorator: Google::Apis::BigtableadminV2::Table::Representation
2086
+
2070
2087
  property :table_id, as: 'tableId'
2088
+ property :update_mask, as: 'updateMask'
2071
2089
  end
2072
2090
  end
2073
2091
 
@@ -2080,6 +2098,8 @@ module Google
2080
2098
  class SchemaBundle
2081
2099
  # @private
2082
2100
  class Representation < Google::Apis::Core::JsonRepresentation
2101
+ property :avro_schema, as: 'avroSchema', class: Google::Apis::BigtableadminV2::AvroSchema, decorator: Google::Apis::BigtableadminV2::AvroSchema::Representation
2102
+
2083
2103
  property :etag, as: 'etag'
2084
2104
  property :name, as: 'name'
2085
2105
  property :proto_schema, as: 'protoSchema', class: Google::Apis::BigtableadminV2::ProtoSchema, decorator: Google::Apis::BigtableadminV2::ProtoSchema::Representation
@@ -2147,6 +2167,8 @@ module Google
2147
2167
  hash :column_families, as: 'columnFamilies', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
2148
2168
 
2149
2169
  property :deletion_protection, as: 'deletionProtection'
2170
+ property :effective_automated_backup_policy, as: 'effectiveAutomatedBackupPolicy', class: Google::Apis::BigtableadminV2::AutomatedBackupPolicy, decorator: Google::Apis::BigtableadminV2::AutomatedBackupPolicy::Representation
2171
+
2150
2172
  property :granularity, as: 'granularity'
2151
2173
  property :name, as: 'name'
2152
2174
  property :restore_info, as: 'restoreInfo', class: Google::Apis::BigtableadminV2::RestoreInfo, decorator: Google::Apis::BigtableadminV2::RestoreInfo::Representation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.92.0
4
+ version: 0.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.92.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.94.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
62
62
  rdoc_options: []
63
63
  require_paths: