google-apis-backupdr_v1 0.40.0 → 0.42.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: 35860eb5f249de43b6add5f00679ac3ebebef18a24dacab818d34d00c257413c
4
- data.tar.gz: 8a345732a0f3b926162135d546010686e847e44d3645ae52956ef6603dbfc4ef
3
+ metadata.gz: 7a43f13bf95486ba39fd02c0af3de0f44a860971b2a0cc99b0cf63d8e199a511
4
+ data.tar.gz: ef23456c4977ae588d2ef658e95ef15b81d8313c9853423309ec3081f70cd91d
5
5
  SHA512:
6
- metadata.gz: a6748531df1032b6c64e7031a79d41c4f605c883c07d9239897ab42f5c70d5ea6b8459e496be3e0e63a0114a9b2ced59acce4b186e285eb174d02557cf2fb3f2
7
- data.tar.gz: ef2785a2f907895ab1301b35af1000d572bc5a4ccf93e36e202e9faf3c975c4298a8fa216bb17c9f24e9a79ee29a0bcc7d7628199b8b85aa53571937543b5e90
6
+ metadata.gz: f7a4614c093876212fc19b6596eb92319d470eb3b6f07d3b92e8b07f574c108e364727e1fad58afb35589fd82c92a872a2db0b6d421635673abf51342e1074f7
7
+ data.tar.gz: 684735ed8ddc023a4c7615ae82bf0b038aa22b9fb397a8a1c36a27d894e35de35fc6ec429564096e0b9232eb8fcc7d2d76fc9e2aa07b459815e3f23154a8217d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.42.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251001
6
+
7
+ ### v0.41.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250916
10
+
3
11
  ### v0.40.0 (2025-09-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20250910
@@ -246,6 +246,66 @@ module Google
246
246
  end
247
247
  end
248
248
 
249
+ # AlloyDBClusterDataSourceProperties represents the properties of a AlloyDB
250
+ # cluster resource that are stored in the DataSource. .
251
+ class AlloyDbClusterDataSourceProperties
252
+ include Google::Apis::Core::Hashable
253
+
254
+ # Output only. Name of the AlloyDB cluster backed up by the datasource.
255
+ # Corresponds to the JSON property `name`
256
+ # @return [String]
257
+ attr_accessor :name
258
+
259
+ def initialize(**args)
260
+ update!(**args)
261
+ end
262
+
263
+ # Update properties of this object
264
+ def update!(**args)
265
+ @name = args[:name] if args.key?(:name)
266
+ end
267
+ end
268
+
269
+ # AlloyDbClusterBackupProperties represents AlloyDB cluster backup properties. .
270
+ class AlloyDbClusterBackupProperties
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # Output only. The chain id of this backup. Backups belonging to the same chain
274
+ # are sharing the same chain id. This property is calculated and maintained by
275
+ # BackupDR.
276
+ # Corresponds to the JSON property `chainId`
277
+ # @return [String]
278
+ attr_accessor :chain_id
279
+
280
+ # Output only. The PostgreSQL major version of the AlloyDB cluster when the
281
+ # backup was taken.
282
+ # Corresponds to the JSON property `databaseVersion`
283
+ # @return [String]
284
+ attr_accessor :database_version
285
+
286
+ # An optional text description for the backup.
287
+ # Corresponds to the JSON property `description`
288
+ # @return [String]
289
+ attr_accessor :description
290
+
291
+ # Output only. Storage usage of this particular backup
292
+ # Corresponds to the JSON property `storedBytes`
293
+ # @return [Fixnum]
294
+ attr_accessor :stored_bytes
295
+
296
+ def initialize(**args)
297
+ update!(**args)
298
+ end
299
+
300
+ # Update properties of this object
301
+ def update!(**args)
302
+ @chain_id = args[:chain_id] if args.key?(:chain_id)
303
+ @database_version = args[:database_version] if args.key?(:database_version)
304
+ @description = args[:description] if args.key?(:description)
305
+ @stored_bytes = args[:stored_bytes] if args.key?(:stored_bytes)
306
+ end
307
+ end
308
+
249
309
  # An instance-attached disk resource.
250
310
  class AttachedDisk
251
311
  include Google::Apis::Core::Hashable
@@ -446,6 +506,11 @@ module Google
446
506
  class Backup
447
507
  include Google::Apis::Core::Hashable
448
508
 
509
+ # AlloyDbClusterBackupProperties represents AlloyDB cluster backup properties. .
510
+ # Corresponds to the JSON property `alloyDbBackupProperties`
511
+ # @return [Google::Apis::BackupdrV1::AlloyDbClusterBackupProperties]
512
+ attr_accessor :alloy_db_backup_properties
513
+
449
514
  # BackupApplianceBackupProperties represents BackupDR backup appliance's
450
515
  # properties.
451
516
  # Corresponds to the JSON property `backupApplianceBackupProperties`
@@ -568,6 +633,7 @@ module Google
568
633
 
569
634
  # Update properties of this object
570
635
  def update!(**args)
636
+ @alloy_db_backup_properties = args[:alloy_db_backup_properties] if args.key?(:alloy_db_backup_properties)
571
637
  @backup_appliance_backup_properties = args[:backup_appliance_backup_properties] if args.key?(:backup_appliance_backup_properties)
572
638
  @backup_appliance_locks = args[:backup_appliance_locks] if args.key?(:backup_appliance_locks)
573
639
  @backup_type = args[:backup_type] if args.key?(:backup_type)
@@ -2382,6 +2448,12 @@ module Google
2382
2448
  class DataSourceGcpResource
2383
2449
  include Google::Apis::Core::Hashable
2384
2450
 
2451
+ # AlloyDBClusterDataSourceProperties represents the properties of a AlloyDB
2452
+ # cluster resource that are stored in the DataSource. .
2453
+ # Corresponds to the JSON property `alloyDbClusterDatasourceProperties`
2454
+ # @return [Google::Apis::BackupdrV1::AlloyDbClusterDataSourceProperties]
2455
+ attr_accessor :alloy_db_cluster_datasource_properties
2456
+
2385
2457
  # CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL
2386
2458
  # resource that are stored in the DataSource.
2387
2459
  # Corresponds to the JSON property `cloudSqlInstanceDatasourceProperties`
@@ -2422,6 +2494,7 @@ module Google
2422
2494
 
2423
2495
  # Update properties of this object
2424
2496
  def update!(**args)
2497
+ @alloy_db_cluster_datasource_properties = args[:alloy_db_cluster_datasource_properties] if args.key?(:alloy_db_cluster_datasource_properties)
2425
2498
  @cloud_sql_instance_datasource_properties = args[:cloud_sql_instance_datasource_properties] if args.key?(:cloud_sql_instance_datasource_properties)
2426
2499
  @compute_instance_datasource_properties = args[:compute_instance_datasource_properties] if args.key?(:compute_instance_datasource_properties)
2427
2500
  @disk_datasource_properties = args[:disk_datasource_properties] if args.key?(:disk_datasource_properties)
@@ -3797,6 +3870,13 @@ module Google
3797
3870
  # @return [Array<Google::Apis::BackupdrV1::Operation>]
3798
3871
  attr_accessor :operations
3799
3872
 
3873
+ # Unordered list. Unreachable resources. Populated when the request sets `
3874
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
3875
+ # when attempting to list all resources across all supported locations.
3876
+ # Corresponds to the JSON property `unreachable`
3877
+ # @return [Array<String>]
3878
+ attr_accessor :unreachable
3879
+
3800
3880
  def initialize(**args)
3801
3881
  update!(**args)
3802
3882
  end
@@ -3805,6 +3885,7 @@ module Google
3805
3885
  def update!(**args)
3806
3886
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3807
3887
  @operations = args[:operations] if args.key?(:operations)
3888
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3808
3889
  end
3809
3890
  end
3810
3891
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BackupdrV1
18
18
  # Version of the google-apis-backupdr_v1 gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250910"
25
+ REVISION = "20251001"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,18 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class AlloyDbClusterDataSourceProperties
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AlloyDbClusterBackupProperties
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class AttachedDisk
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
@@ -786,6 +798,23 @@ module Google
786
798
  end
787
799
  end
788
800
 
801
+ class AlloyDbClusterDataSourceProperties
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ property :name, as: 'name'
805
+ end
806
+ end
807
+
808
+ class AlloyDbClusterBackupProperties
809
+ # @private
810
+ class Representation < Google::Apis::Core::JsonRepresentation
811
+ property :chain_id, as: 'chainId'
812
+ property :database_version, as: 'databaseVersion'
813
+ property :description, as: 'description'
814
+ property :stored_bytes, :numeric_string => true, as: 'storedBytes'
815
+ end
816
+ end
817
+
789
818
  class AttachedDisk
790
819
  # @private
791
820
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -832,6 +861,8 @@ module Google
832
861
  class Backup
833
862
  # @private
834
863
  class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :alloy_db_backup_properties, as: 'alloyDbBackupProperties', class: Google::Apis::BackupdrV1::AlloyDbClusterBackupProperties, decorator: Google::Apis::BackupdrV1::AlloyDbClusterBackupProperties::Representation
865
+
835
866
  property :backup_appliance_backup_properties, as: 'backupApplianceBackupProperties', class: Google::Apis::BackupdrV1::BackupApplianceBackupProperties, decorator: Google::Apis::BackupdrV1::BackupApplianceBackupProperties::Representation
836
867
 
837
868
  collection :backup_appliance_locks, as: 'backupApplianceLocks', class: Google::Apis::BackupdrV1::BackupLock, decorator: Google::Apis::BackupdrV1::BackupLock::Representation
@@ -1284,6 +1315,8 @@ module Google
1284
1315
  class DataSourceGcpResource
1285
1316
  # @private
1286
1317
  class Representation < Google::Apis::Core::JsonRepresentation
1318
+ property :alloy_db_cluster_datasource_properties, as: 'alloyDbClusterDatasourceProperties', class: Google::Apis::BackupdrV1::AlloyDbClusterDataSourceProperties, decorator: Google::Apis::BackupdrV1::AlloyDbClusterDataSourceProperties::Representation
1319
+
1287
1320
  property :cloud_sql_instance_datasource_properties, as: 'cloudSqlInstanceDatasourceProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceProperties::Representation
1288
1321
 
1289
1322
  property :compute_instance_datasource_properties, as: 'computeInstanceDatasourceProperties', class: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties::Representation
@@ -1657,6 +1690,7 @@ module Google
1657
1690
  property :next_page_token, as: 'nextPageToken'
1658
1691
  collection :operations, as: 'operations', class: Google::Apis::BackupdrV1::Operation, decorator: Google::Apis::BackupdrV1::Operation::Representation
1659
1692
 
1693
+ collection :unreachable, as: 'unreachable'
1660
1694
  end
1661
1695
  end
1662
1696
 
@@ -83,7 +83,9 @@ module Google
83
83
 
84
84
  # Gets the Trial state for a given project
85
85
  # @param [String] name
86
- # Required. The name of the trial to retrieve.
86
+ # Required. The project for which trial details need to be retrieved. Format:
87
+ # projects/`project`/locations/`location` Supported Locations are - us, eu and
88
+ # asia.
87
89
  # @param [String] fields
88
90
  # Selector specifying which fields to include in a partial response.
89
91
  # @param [String] quota_user
@@ -2238,6 +2240,13 @@ module Google
2238
2240
  # The standard list page size.
2239
2241
  # @param [String] page_token
2240
2242
  # The standard list page token.
2243
+ # @param [Boolean] return_partial_success
2244
+ # When set to `true`, operations that are reachable are returned as normal, and
2245
+ # those that are unreachable are returned in the [ListOperationsResponse.
2246
+ # unreachable] field. This can only be `true` when reading across collections e.
2247
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2248
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2249
+ # explicitly documented otherwise in service or product specific documentation.
2241
2250
  # @param [String] fields
2242
2251
  # Selector specifying which fields to include in a partial response.
2243
2252
  # @param [String] quota_user
@@ -2255,7 +2264,7 @@ module Google
2255
2264
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2256
2265
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2257
2266
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2258
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2267
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2259
2268
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
2260
2269
  command.response_representation = Google::Apis::BackupdrV1::ListOperationsResponse::Representation
2261
2270
  command.response_class = Google::Apis::BackupdrV1::ListOperationsResponse
@@ -2263,6 +2272,7 @@ module Google
2263
2272
  command.query['filter'] = filter unless filter.nil?
2264
2273
  command.query['pageSize'] = page_size unless page_size.nil?
2265
2274
  command.query['pageToken'] = page_token unless page_token.nil?
2275
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2266
2276
  command.query['fields'] = fields unless fields.nil?
2267
2277
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2268
2278
  execute_or_queue_command(command, &block)
@@ -2350,7 +2360,8 @@ module Google
2350
2360
 
2351
2361
  # Subscribes to a trial for a project
2352
2362
  # @param [String] parent
2353
- # Required. The parent resource where this trial will be created.
2363
+ # Required. The project where this trial will be created. Format: projects/`
2364
+ # project`/locations/`location` Supported Locations are - us, eu and asia.
2354
2365
  # @param [Google::Apis::BackupdrV1::SubscribeTrialRequest] subscribe_trial_request_object
2355
2366
  # @param [String] fields
2356
2367
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-backupdr_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.42.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-backupdr_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.40.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.42.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
62
62
  rdoc_options: []
63
63
  require_paths: