google-apis-backupdr_v1 0.32.0 → 0.33.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: fc2010285998e37638e2d7ce24f9d4d0a863cc5cb845ccc3af9a61dbe2ed8adb
4
- data.tar.gz: edcf0933185c7d3dcb2cdaf386ebce209811e0cb072658b6a100baf5e3ca210e
3
+ metadata.gz: 5c9c6c3ac1d91c69940abbd59396ccfc85440b768d3fb269e3f7ddc70a31f289
4
+ data.tar.gz: 758a2a0027e923140de501d0c8a3b0a4ec4b4ed764188fd9c77aa9301779971d
5
5
  SHA512:
6
- metadata.gz: 3ccad42c94e0220c4184046ce58720efa42a2cc6524085755ed179b6b9e62b052de49286238fc38c7c818cc29656f2a54c767cadeaa923417f22a682a277e6c1
7
- data.tar.gz: '090ce934ed41fdbdd18c68c8ceb8de6358fe96efed3dcd6db3c38bb3a82a5a1ef5a52c88e4fff1cd1e68071e25db2070b0cb4ff0364dcba4fc876afa226c2568'
6
+ metadata.gz: 9a56e52f6673c849a45f6e2eb1692ef85c468f299ededb15baa31cbda5f7d88daa953ad9cf180f8039de054f9f9f9e1a3b3b2a2031aa1f94e845f397f550efc6
7
+ data.tar.gz: f10d02a250764897578720cd3eb6fdbf639ca1d13362c69a0d03029ae0dd372cf96c117df417e4f89eaa1b98e3c58d5baad7c0b7731c5c3be82aa19674c6c4dd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.33.0 (2025-07-06)
4
+
5
+ * Regenerated from discovery document revision 20250625
6
+
3
7
  ### v0.32.0 (2025-06-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20250611
@@ -462,6 +462,12 @@ module Google
462
462
  # @return [String]
463
463
  attr_accessor :backup_type
464
464
 
465
+ # CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup
466
+ # properties. .
467
+ # Corresponds to the JSON property `cloudSqlInstanceBackupProperties`
468
+ # @return [Google::Apis::BackupdrV1::CloudSqlInstanceBackupProperties]
469
+ attr_accessor :cloud_sql_instance_backup_properties
470
+
465
471
  # ComputeInstanceBackupProperties represents Compute Engine instance backup
466
472
  # properties.
467
473
  # Corresponds to the JSON property `computeInstanceBackupProperties`
@@ -565,6 +571,7 @@ module Google
565
571
  @backup_appliance_backup_properties = args[:backup_appliance_backup_properties] if args.key?(:backup_appliance_backup_properties)
566
572
  @backup_appliance_locks = args[:backup_appliance_locks] if args.key?(:backup_appliance_locks)
567
573
  @backup_type = args[:backup_type] if args.key?(:backup_type)
574
+ @cloud_sql_instance_backup_properties = args[:cloud_sql_instance_backup_properties] if args.key?(:cloud_sql_instance_backup_properties)
568
575
  @compute_instance_backup_properties = args[:compute_instance_backup_properties] if args.key?(:compute_instance_backup_properties)
569
576
  @consistency_time = args[:consistency_time] if args.key?(:consistency_time)
570
577
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -1072,6 +1079,13 @@ module Google
1072
1079
  # @return [Hash<String,String>]
1073
1080
  attr_accessor :labels
1074
1081
 
1082
+ # Optional. Required for CloudSQL resource_type Configures how long logs will be
1083
+ # stored. It is defined in “days”. This value should be greater than or equal to
1084
+ # minimum enforced log retention duration of the backup vault.
1085
+ # Corresponds to the JSON property `logRetentionDays`
1086
+ # @return [Fixnum]
1087
+ attr_accessor :log_retention_days
1088
+
1075
1089
  # Output only. Identifier. The resource name of the `BackupPlan`. Format: `
1076
1090
  # projects/`project`/locations/`location`/backupPlans/`backup_plan``
1077
1091
  # Corresponds to the JSON property `name`
@@ -1124,6 +1138,7 @@ module Google
1124
1138
  @description = args[:description] if args.key?(:description)
1125
1139
  @etag = args[:etag] if args.key?(:etag)
1126
1140
  @labels = args[:labels] if args.key?(:labels)
1141
+ @log_retention_days = args[:log_retention_days] if args.key?(:log_retention_days)
1127
1142
  @name = args[:name] if args.key?(:name)
1128
1143
  @resource_type = args[:resource_type] if args.key?(:resource_type)
1129
1144
  @revision_id = args[:revision_id] if args.key?(:revision_id)
@@ -1158,6 +1173,11 @@ module Google
1158
1173
  # @return [String]
1159
1174
  attr_accessor :backup_plan_revision_name
1160
1175
 
1176
+ # Cloud SQL instance's BPA properties.
1177
+ # Corresponds to the JSON property `cloudSqlInstanceBackupPlanAssociationProperties`
1178
+ # @return [Google::Apis::BackupdrV1::CloudSqlInstanceBackupPlanAssociationProperties]
1179
+ attr_accessor :cloud_sql_instance_backup_plan_association_properties
1180
+
1161
1181
  # Output only. The time when the instance was created.
1162
1182
  # Corresponds to the JSON property `createTime`
1163
1183
  # @return [String]
@@ -1215,6 +1235,7 @@ module Google
1215
1235
  @backup_plan = args[:backup_plan] if args.key?(:backup_plan)
1216
1236
  @backup_plan_revision_id = args[:backup_plan_revision_id] if args.key?(:backup_plan_revision_id)
1217
1237
  @backup_plan_revision_name = args[:backup_plan_revision_name] if args.key?(:backup_plan_revision_name)
1238
+ @cloud_sql_instance_backup_plan_association_properties = args[:cloud_sql_instance_backup_plan_association_properties] if args.key?(:cloud_sql_instance_backup_plan_association_properties)
1218
1239
  @create_time = args[:create_time] if args.key?(:create_time)
1219
1240
  @data_source = args[:data_source] if args.key?(:data_source)
1220
1241
  @name = args[:name] if args.key?(:name)
@@ -1282,11 +1303,8 @@ module Google
1282
1303
  # Required. Configures the duration for which backup data will be kept. It is
1283
1304
  # defined in “days”. The value should be greater than or equal to minimum
1284
1305
  # enforced retention of the backup vault. Minimum value is 1 and maximum value
1285
- # is 36159 for custom retention on-demand backup. Minimum value is 1 and maximum
1286
- # value is 90 for hourly backups. Minimum value is 1 and maximum value is 186
1287
- # for daily backups. Minimum value is 7 and maximum value is 366 for weekly
1288
- # backups. Minimum value is 30 and maximum value is 732 for monthly backups.
1289
- # Minimum value is 365 and maximum value is 36159 for yearly backups.
1306
+ # is 36159 for custom retention on-demand backup. Minimum and maximum values are
1307
+ # workload specific for all other rules.
1290
1308
  # Corresponds to the JSON property `backupRetentionDays`
1291
1309
  # @return [Fixnum]
1292
1310
  attr_accessor :backup_retention_days
@@ -1584,6 +1602,167 @@ module Google
1584
1602
  end
1585
1603
  end
1586
1604
 
1605
+ # Cloud SQL instance's BPA properties.
1606
+ class CloudSqlInstanceBackupPlanAssociationProperties
1607
+ include Google::Apis::Core::Hashable
1608
+
1609
+ # Output only. The time when the instance was created.
1610
+ # Corresponds to the JSON property `instanceCreateTime`
1611
+ # @return [String]
1612
+ attr_accessor :instance_create_time
1613
+
1614
+ def initialize(**args)
1615
+ update!(**args)
1616
+ end
1617
+
1618
+ # Update properties of this object
1619
+ def update!(**args)
1620
+ @instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
1621
+ end
1622
+ end
1623
+
1624
+ # CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup
1625
+ # properties. .
1626
+ class CloudSqlInstanceBackupProperties
1627
+ include Google::Apis::Core::Hashable
1628
+
1629
+ # Output only. The installed database version of the Cloud SQL instance when the
1630
+ # backup was taken.
1631
+ # Corresponds to the JSON property `databaseInstalledVersion`
1632
+ # @return [String]
1633
+ attr_accessor :database_installed_version
1634
+
1635
+ # Output only. Whether the backup is a final backup.
1636
+ # Corresponds to the JSON property `finalBackup`
1637
+ # @return [Boolean]
1638
+ attr_accessor :final_backup
1639
+ alias_method :final_backup?, :final_backup
1640
+
1641
+ # Output only. The tier (or machine type) for this instance. Example: `db-custom-
1642
+ # 1-3840`
1643
+ # Corresponds to the JSON property `instanceTier`
1644
+ # @return [String]
1645
+ attr_accessor :instance_tier
1646
+
1647
+ # Output only. The source instance of the backup. Format: projects/`project`/
1648
+ # instances/`instance`
1649
+ # Corresponds to the JSON property `sourceInstance`
1650
+ # @return [String]
1651
+ attr_accessor :source_instance
1652
+
1653
+ def initialize(**args)
1654
+ update!(**args)
1655
+ end
1656
+
1657
+ # Update properties of this object
1658
+ def update!(**args)
1659
+ @database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version)
1660
+ @final_backup = args[:final_backup] if args.key?(:final_backup)
1661
+ @instance_tier = args[:instance_tier] if args.key?(:instance_tier)
1662
+ @source_instance = args[:source_instance] if args.key?(:source_instance)
1663
+ end
1664
+ end
1665
+
1666
+ # CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL
1667
+ # resource that are stored in the DataSource. .
1668
+ class CloudSqlInstanceDataSourceProperties
1669
+ include Google::Apis::Core::Hashable
1670
+
1671
+ # Output only. The installed database version of the Cloud SQL instance.
1672
+ # Corresponds to the JSON property `databaseInstalledVersion`
1673
+ # @return [String]
1674
+ attr_accessor :database_installed_version
1675
+
1676
+ # Output only. The instance creation timestamp.
1677
+ # Corresponds to the JSON property `instanceCreateTime`
1678
+ # @return [String]
1679
+ attr_accessor :instance_create_time
1680
+
1681
+ # Output only. The tier (or machine type) for this instance. Example: `db-custom-
1682
+ # 1-3840`
1683
+ # Corresponds to the JSON property `instanceTier`
1684
+ # @return [String]
1685
+ attr_accessor :instance_tier
1686
+
1687
+ # Output only. Name of the Cloud SQL instance backed up by the datasource.
1688
+ # Format: projects/`project`/instances/`instance`
1689
+ # Corresponds to the JSON property `name`
1690
+ # @return [String]
1691
+ attr_accessor :name
1692
+
1693
+ def initialize(**args)
1694
+ update!(**args)
1695
+ end
1696
+
1697
+ # Update properties of this object
1698
+ def update!(**args)
1699
+ @database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version)
1700
+ @instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
1701
+ @instance_tier = args[:instance_tier] if args.key?(:instance_tier)
1702
+ @name = args[:name] if args.key?(:name)
1703
+ end
1704
+ end
1705
+
1706
+ # CloudSqlInstanceDataSourceReferenceProperties represents the properties of a
1707
+ # Cloud SQL resource that are stored in the DataSourceReference. .
1708
+ class CloudSqlInstanceDataSourceReferenceProperties
1709
+ include Google::Apis::Core::Hashable
1710
+
1711
+ # Output only. The installed database version of the Cloud SQL instance.
1712
+ # Corresponds to the JSON property `databaseInstalledVersion`
1713
+ # @return [String]
1714
+ attr_accessor :database_installed_version
1715
+
1716
+ # Output only. The instance creation timestamp.
1717
+ # Corresponds to the JSON property `instanceCreateTime`
1718
+ # @return [String]
1719
+ attr_accessor :instance_create_time
1720
+
1721
+ # Output only. The tier (or machine type) for this instance. Example: `db-custom-
1722
+ # 1-3840`
1723
+ # Corresponds to the JSON property `instanceTier`
1724
+ # @return [String]
1725
+ attr_accessor :instance_tier
1726
+
1727
+ # Output only. Name of the Cloud SQL instance backed up by the datasource.
1728
+ # Format: projects/`project`/instances/`instance`
1729
+ # Corresponds to the JSON property `name`
1730
+ # @return [String]
1731
+ attr_accessor :name
1732
+
1733
+ def initialize(**args)
1734
+ update!(**args)
1735
+ end
1736
+
1737
+ # Update properties of this object
1738
+ def update!(**args)
1739
+ @database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version)
1740
+ @instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time)
1741
+ @instance_tier = args[:instance_tier] if args.key?(:instance_tier)
1742
+ @name = args[:name] if args.key?(:name)
1743
+ end
1744
+ end
1745
+
1746
+ # CloudSqlInstanceInitializationConfig contains the configuration for
1747
+ # initializing a Cloud SQL instance.
1748
+ class CloudSqlInstanceInitializationConfig
1749
+ include Google::Apis::Core::Hashable
1750
+
1751
+ # Required. The edition of the Cloud SQL instance.
1752
+ # Corresponds to the JSON property `edition`
1753
+ # @return [String]
1754
+ attr_accessor :edition
1755
+
1756
+ def initialize(**args)
1757
+ update!(**args)
1758
+ end
1759
+
1760
+ # Update properties of this object
1761
+ def update!(**args)
1762
+ @edition = args[:edition] if args.key?(:edition)
1763
+ end
1764
+ end
1765
+
1587
1766
  # ComputeInstanceBackupProperties represents Compute Engine instance backup
1588
1767
  # properties.
1589
1768
  class ComputeInstanceBackupProperties
@@ -2170,12 +2349,43 @@ module Google
2170
2349
  end
2171
2350
  end
2172
2351
 
2352
+ # Information of backup configuration on the DataSource.
2353
+ class DataSourceBackupConfigInfo
2354
+ include Google::Apis::Core::Hashable
2355
+
2356
+ # Output only. The status of the last backup in this DataSource
2357
+ # Corresponds to the JSON property `lastBackupState`
2358
+ # @return [String]
2359
+ attr_accessor :last_backup_state
2360
+
2361
+ # Output only. Timestamp of the last successful backup to this DataSource.
2362
+ # Corresponds to the JSON property `lastSuccessfulBackupConsistencyTime`
2363
+ # @return [String]
2364
+ attr_accessor :last_successful_backup_consistency_time
2365
+
2366
+ def initialize(**args)
2367
+ update!(**args)
2368
+ end
2369
+
2370
+ # Update properties of this object
2371
+ def update!(**args)
2372
+ @last_backup_state = args[:last_backup_state] if args.key?(:last_backup_state)
2373
+ @last_successful_backup_consistency_time = args[:last_successful_backup_consistency_time] if args.key?(:last_successful_backup_consistency_time)
2374
+ end
2375
+ end
2376
+
2173
2377
  # DataSourceGcpResource is used for protected resources that are Google Cloud
2174
2378
  # Resources. This name is easeier to understand than GcpResourceDataSource or
2175
2379
  # GcpDataSourceResource
2176
2380
  class DataSourceGcpResource
2177
2381
  include Google::Apis::Core::Hashable
2178
2382
 
2383
+ # CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL
2384
+ # resource that are stored in the DataSource. .
2385
+ # Corresponds to the JSON property `cloudSqlInstanceDatasourceProperties`
2386
+ # @return [Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceProperties]
2387
+ attr_accessor :cloud_sql_instance_datasource_properties
2388
+
2179
2389
  # ComputeInstanceDataSourceProperties represents the properties of a
2180
2390
  # ComputeEngine resource that are stored in the DataSource.
2181
2391
  # Corresponds to the JSON property `computeInstanceDatasourceProperties`
@@ -2210,6 +2420,7 @@ module Google
2210
2420
 
2211
2421
  # Update properties of this object
2212
2422
  def update!(**args)
2423
+ @cloud_sql_instance_datasource_properties = args[:cloud_sql_instance_datasource_properties] if args.key?(:cloud_sql_instance_datasource_properties)
2213
2424
  @compute_instance_datasource_properties = args[:compute_instance_datasource_properties] if args.key?(:compute_instance_datasource_properties)
2214
2425
  @disk_datasource_properties = args[:disk_datasource_properties] if args.key?(:disk_datasource_properties)
2215
2426
  @gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
@@ -2218,6 +2429,102 @@ module Google
2218
2429
  end
2219
2430
  end
2220
2431
 
2432
+ # The GCP resource that the DataSource is associated with.
2433
+ class DataSourceGcpResourceInfo
2434
+ include Google::Apis::Core::Hashable
2435
+
2436
+ # CloudSqlInstanceDataSourceReferenceProperties represents the properties of a
2437
+ # Cloud SQL resource that are stored in the DataSourceReference. .
2438
+ # Corresponds to the JSON property `cloudSqlInstanceProperties`
2439
+ # @return [Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties]
2440
+ attr_accessor :cloud_sql_instance_properties
2441
+
2442
+ # Output only. The resource name of the GCP resource. Ex: projects/`project`/
2443
+ # zones/`zone`/instances/`instance`
2444
+ # Corresponds to the JSON property `gcpResourcename`
2445
+ # @return [String]
2446
+ attr_accessor :gcp_resourcename
2447
+
2448
+ # Output only. The location of the GCP resource. Ex: //"global"/"unspecified"
2449
+ # Corresponds to the JSON property `location`
2450
+ # @return [String]
2451
+ attr_accessor :location
2452
+
2453
+ # Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance
2454
+ # Corresponds to the JSON property `type`
2455
+ # @return [String]
2456
+ attr_accessor :type
2457
+
2458
+ def initialize(**args)
2459
+ update!(**args)
2460
+ end
2461
+
2462
+ # Update properties of this object
2463
+ def update!(**args)
2464
+ @cloud_sql_instance_properties = args[:cloud_sql_instance_properties] if args.key?(:cloud_sql_instance_properties)
2465
+ @gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
2466
+ @location = args[:location] if args.key?(:location)
2467
+ @type = args[:type] if args.key?(:type)
2468
+ end
2469
+ end
2470
+
2471
+ # DataSourceReference is a reference to a DataSource resource.
2472
+ class DataSourceReference
2473
+ include Google::Apis::Core::Hashable
2474
+
2475
+ # Output only. The time when the DataSourceReference was created.
2476
+ # Corresponds to the JSON property `createTime`
2477
+ # @return [String]
2478
+ attr_accessor :create_time
2479
+
2480
+ # Output only. The resource name of the DataSource. Format: projects/`project`/
2481
+ # locations/`location`/backupVaults/`backupVault`/dataSources/`dataSource`
2482
+ # Corresponds to the JSON property `dataSource`
2483
+ # @return [String]
2484
+ attr_accessor :data_source
2485
+
2486
+ # Information of backup configuration on the DataSource.
2487
+ # Corresponds to the JSON property `dataSourceBackupConfigInfo`
2488
+ # @return [Google::Apis::BackupdrV1::DataSourceBackupConfigInfo]
2489
+ attr_accessor :data_source_backup_config_info
2490
+
2491
+ # Output only. The backup configuration state of the DataSource.
2492
+ # Corresponds to the JSON property `dataSourceBackupConfigState`
2493
+ # @return [String]
2494
+ attr_accessor :data_source_backup_config_state
2495
+
2496
+ # Output only. Number of backups in the DataSource.
2497
+ # Corresponds to the JSON property `dataSourceBackupCount`
2498
+ # @return [Fixnum]
2499
+ attr_accessor :data_source_backup_count
2500
+
2501
+ # The GCP resource that the DataSource is associated with.
2502
+ # Corresponds to the JSON property `dataSourceGcpResourceInfo`
2503
+ # @return [Google::Apis::BackupdrV1::DataSourceGcpResourceInfo]
2504
+ attr_accessor :data_source_gcp_resource_info
2505
+
2506
+ # Identifier. The resource name of the DataSourceReference. Format: projects/`
2507
+ # project`/locations/`location`/dataSourceReferences/`data_source_reference`
2508
+ # Corresponds to the JSON property `name`
2509
+ # @return [String]
2510
+ attr_accessor :name
2511
+
2512
+ def initialize(**args)
2513
+ update!(**args)
2514
+ end
2515
+
2516
+ # Update properties of this object
2517
+ def update!(**args)
2518
+ @create_time = args[:create_time] if args.key?(:create_time)
2519
+ @data_source = args[:data_source] if args.key?(:data_source)
2520
+ @data_source_backup_config_info = args[:data_source_backup_config_info] if args.key?(:data_source_backup_config_info)
2521
+ @data_source_backup_config_state = args[:data_source_backup_config_state] if args.key?(:data_source_backup_config_state)
2522
+ @data_source_backup_count = args[:data_source_backup_count] if args.key?(:data_source_backup_count)
2523
+ @data_source_gcp_resource_info = args[:data_source_gcp_resource_info] if args.key?(:data_source_gcp_resource_info)
2524
+ @name = args[:name] if args.key?(:name)
2525
+ end
2526
+ end
2527
+
2221
2528
  # DiskBackupProperties represents the properties of a Disk backup.
2222
2529
  class DiskBackupProperties
2223
2530
  include Google::Apis::Core::Hashable
@@ -2658,6 +2965,58 @@ module Google
2658
2965
  end
2659
2966
  end
2660
2967
 
2968
+ # Response for the FetchBackupPlanAssociationsForResourceType method.
2969
+ class FetchBackupPlanAssociationsForResourceTypeResponse
2970
+ include Google::Apis::Core::Hashable
2971
+
2972
+ # Output only. The BackupPlanAssociations from the specified parent.
2973
+ # Corresponds to the JSON property `backupPlanAssociations`
2974
+ # @return [Array<Google::Apis::BackupdrV1::BackupPlanAssociation>]
2975
+ attr_accessor :backup_plan_associations
2976
+
2977
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
2978
+ # page. If this field is omitted, there are no subsequent pages.
2979
+ # Corresponds to the JSON property `nextPageToken`
2980
+ # @return [String]
2981
+ attr_accessor :next_page_token
2982
+
2983
+ def initialize(**args)
2984
+ update!(**args)
2985
+ end
2986
+
2987
+ # Update properties of this object
2988
+ def update!(**args)
2989
+ @backup_plan_associations = args[:backup_plan_associations] if args.key?(:backup_plan_associations)
2990
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2991
+ end
2992
+ end
2993
+
2994
+ # Response for the FetchDataSourceReferencesForResourceType method.
2995
+ class FetchDataSourceReferencesForResourceTypeResponse
2996
+ include Google::Apis::Core::Hashable
2997
+
2998
+ # The DataSourceReferences from the specified parent.
2999
+ # Corresponds to the JSON property `dataSourceReferences`
3000
+ # @return [Array<Google::Apis::BackupdrV1::DataSourceReference>]
3001
+ attr_accessor :data_source_references
3002
+
3003
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3004
+ # field is omitted, there are no subsequent pages.
3005
+ # Corresponds to the JSON property `nextPageToken`
3006
+ # @return [String]
3007
+ attr_accessor :next_page_token
3008
+
3009
+ def initialize(**args)
3010
+ update!(**args)
3011
+ end
3012
+
3013
+ # Update properties of this object
3014
+ def update!(**args)
3015
+ @data_source_references = args[:data_source_references] if args.key?(:data_source_references)
3016
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3017
+ end
3018
+ end
3019
+
2661
3020
  # Response message for fetching usable BackupVaults.
2662
3021
  class FetchUsableBackupVaultsResponse
2663
3022
  include Google::Apis::Core::Hashable
@@ -2940,6 +3299,12 @@ module Google
2940
3299
  class InitializeServiceRequest
2941
3300
  include Google::Apis::Core::Hashable
2942
3301
 
3302
+ # CloudSqlInstanceInitializationConfig contains the configuration for
3303
+ # initializing a Cloud SQL instance.
3304
+ # Corresponds to the JSON property `cloudSqlInstanceInitializationConfig`
3305
+ # @return [Google::Apis::BackupdrV1::CloudSqlInstanceInitializationConfig]
3306
+ attr_accessor :cloud_sql_instance_initialization_config
3307
+
2943
3308
  # Optional. An optional request ID to identify requests. Specify a unique
2944
3309
  # request ID so that if you must retry your request, the server will know to
2945
3310
  # ignore the request if it has already been completed. The server will guarantee
@@ -2967,6 +3332,7 @@ module Google
2967
3332
 
2968
3333
  # Update properties of this object
2969
3334
  def update!(**args)
3335
+ @cloud_sql_instance_initialization_config = args[:cloud_sql_instance_initialization_config] if args.key?(:cloud_sql_instance_initialization_config)
2970
3336
  @request_id = args[:request_id] if args.key?(:request_id)
2971
3337
  @resource_type = args[:resource_type] if args.key?(:resource_type)
2972
3338
  end
@@ -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.32.0"
19
+ GEM_VERSION = "0.33.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 = "20250611"
25
+ REVISION = "20250625"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,36 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class CloudSqlInstanceBackupPlanAssociationProperties
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class CloudSqlInstanceBackupProperties
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class CloudSqlInstanceDataSourceProperties
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class CloudSqlInstanceDataSourceReferenceProperties
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class CloudSqlInstanceInitializationConfig
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
193
223
  class ComputeInstanceBackupProperties
194
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
225
 
@@ -238,12 +268,30 @@ module Google
238
268
  include Google::Apis::Core::JsonObjectSupport
239
269
  end
240
270
 
271
+ class DataSourceBackupConfigInfo
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
241
277
  class DataSourceGcpResource
242
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
279
 
244
280
  include Google::Apis::Core::JsonObjectSupport
245
281
  end
246
282
 
283
+ class DataSourceGcpResourceInfo
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class DataSourceReference
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
247
295
  class DiskBackupProperties
248
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
297
 
@@ -304,6 +352,18 @@ module Google
304
352
  include Google::Apis::Core::JsonObjectSupport
305
353
  end
306
354
 
355
+ class FetchBackupPlanAssociationsForResourceTypeResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class FetchDataSourceReferencesForResourceTypeResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
307
367
  class FetchUsableBackupVaultsResponse
308
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
369
 
@@ -747,6 +807,8 @@ module Google
747
807
  collection :backup_appliance_locks, as: 'backupApplianceLocks', class: Google::Apis::BackupdrV1::BackupLock, decorator: Google::Apis::BackupdrV1::BackupLock::Representation
748
808
 
749
809
  property :backup_type, as: 'backupType'
810
+ property :cloud_sql_instance_backup_properties, as: 'cloudSqlInstanceBackupProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceBackupProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceBackupProperties::Representation
811
+
750
812
  property :compute_instance_backup_properties, as: 'computeInstanceBackupProperties', class: Google::Apis::BackupdrV1::ComputeInstanceBackupProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceBackupProperties::Representation
751
813
 
752
814
  property :consistency_time, as: 'consistencyTime'
@@ -896,6 +958,7 @@ module Google
896
958
  property :description, as: 'description'
897
959
  property :etag, as: 'etag'
898
960
  hash :labels, as: 'labels'
961
+ property :log_retention_days, :numeric_string => true, as: 'logRetentionDays'
899
962
  property :name, as: 'name'
900
963
  property :resource_type, as: 'resourceType'
901
964
  property :revision_id, as: 'revisionId'
@@ -912,6 +975,8 @@ module Google
912
975
  property :backup_plan, as: 'backupPlan'
913
976
  property :backup_plan_revision_id, as: 'backupPlanRevisionId'
914
977
  property :backup_plan_revision_name, as: 'backupPlanRevisionName'
978
+ property :cloud_sql_instance_backup_plan_association_properties, as: 'cloudSqlInstanceBackupPlanAssociationProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceBackupPlanAssociationProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceBackupPlanAssociationProperties::Representation
979
+
915
980
  property :create_time, as: 'createTime'
916
981
  property :data_source, as: 'dataSource'
917
982
  property :name, as: 'name'
@@ -992,6 +1057,50 @@ module Google
992
1057
  end
993
1058
  end
994
1059
 
1060
+ class CloudSqlInstanceBackupPlanAssociationProperties
1061
+ # @private
1062
+ class Representation < Google::Apis::Core::JsonRepresentation
1063
+ property :instance_create_time, as: 'instanceCreateTime'
1064
+ end
1065
+ end
1066
+
1067
+ class CloudSqlInstanceBackupProperties
1068
+ # @private
1069
+ class Representation < Google::Apis::Core::JsonRepresentation
1070
+ property :database_installed_version, as: 'databaseInstalledVersion'
1071
+ property :final_backup, as: 'finalBackup'
1072
+ property :instance_tier, as: 'instanceTier'
1073
+ property :source_instance, as: 'sourceInstance'
1074
+ end
1075
+ end
1076
+
1077
+ class CloudSqlInstanceDataSourceProperties
1078
+ # @private
1079
+ class Representation < Google::Apis::Core::JsonRepresentation
1080
+ property :database_installed_version, as: 'databaseInstalledVersion'
1081
+ property :instance_create_time, as: 'instanceCreateTime'
1082
+ property :instance_tier, as: 'instanceTier'
1083
+ property :name, as: 'name'
1084
+ end
1085
+ end
1086
+
1087
+ class CloudSqlInstanceDataSourceReferenceProperties
1088
+ # @private
1089
+ class Representation < Google::Apis::Core::JsonRepresentation
1090
+ property :database_installed_version, as: 'databaseInstalledVersion'
1091
+ property :instance_create_time, as: 'instanceCreateTime'
1092
+ property :instance_tier, as: 'instanceTier'
1093
+ property :name, as: 'name'
1094
+ end
1095
+ end
1096
+
1097
+ class CloudSqlInstanceInitializationConfig
1098
+ # @private
1099
+ class Representation < Google::Apis::Core::JsonRepresentation
1100
+ property :edition, as: 'edition'
1101
+ end
1102
+ end
1103
+
995
1104
  class ComputeInstanceBackupProperties
996
1105
  # @private
997
1106
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1135,9 +1244,19 @@ module Google
1135
1244
  end
1136
1245
  end
1137
1246
 
1247
+ class DataSourceBackupConfigInfo
1248
+ # @private
1249
+ class Representation < Google::Apis::Core::JsonRepresentation
1250
+ property :last_backup_state, as: 'lastBackupState'
1251
+ property :last_successful_backup_consistency_time, as: 'lastSuccessfulBackupConsistencyTime'
1252
+ end
1253
+ end
1254
+
1138
1255
  class DataSourceGcpResource
1139
1256
  # @private
1140
1257
  class Representation < Google::Apis::Core::JsonRepresentation
1258
+ property :cloud_sql_instance_datasource_properties, as: 'cloudSqlInstanceDatasourceProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceProperties::Representation
1259
+
1141
1260
  property :compute_instance_datasource_properties, as: 'computeInstanceDatasourceProperties', class: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties::Representation
1142
1261
 
1143
1262
  property :disk_datasource_properties, as: 'diskDatasourceProperties', class: Google::Apis::BackupdrV1::DiskDataSourceProperties, decorator: Google::Apis::BackupdrV1::DiskDataSourceProperties::Representation
@@ -1148,6 +1267,32 @@ module Google
1148
1267
  end
1149
1268
  end
1150
1269
 
1270
+ class DataSourceGcpResourceInfo
1271
+ # @private
1272
+ class Representation < Google::Apis::Core::JsonRepresentation
1273
+ property :cloud_sql_instance_properties, as: 'cloudSqlInstanceProperties', class: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties::Representation
1274
+
1275
+ property :gcp_resourcename, as: 'gcpResourcename'
1276
+ property :location, as: 'location'
1277
+ property :type, as: 'type'
1278
+ end
1279
+ end
1280
+
1281
+ class DataSourceReference
1282
+ # @private
1283
+ class Representation < Google::Apis::Core::JsonRepresentation
1284
+ property :create_time, as: 'createTime'
1285
+ property :data_source, as: 'dataSource'
1286
+ property :data_source_backup_config_info, as: 'dataSourceBackupConfigInfo', class: Google::Apis::BackupdrV1::DataSourceBackupConfigInfo, decorator: Google::Apis::BackupdrV1::DataSourceBackupConfigInfo::Representation
1287
+
1288
+ property :data_source_backup_config_state, as: 'dataSourceBackupConfigState'
1289
+ property :data_source_backup_count, :numeric_string => true, as: 'dataSourceBackupCount'
1290
+ property :data_source_gcp_resource_info, as: 'dataSourceGcpResourceInfo', class: Google::Apis::BackupdrV1::DataSourceGcpResourceInfo, decorator: Google::Apis::BackupdrV1::DataSourceGcpResourceInfo::Representation
1291
+
1292
+ property :name, as: 'name'
1293
+ end
1294
+ end
1295
+
1151
1296
  class DiskBackupProperties
1152
1297
  # @private
1153
1298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1256,6 +1401,24 @@ module Google
1256
1401
  end
1257
1402
  end
1258
1403
 
1404
+ class FetchBackupPlanAssociationsForResourceTypeResponse
1405
+ # @private
1406
+ class Representation < Google::Apis::Core::JsonRepresentation
1407
+ collection :backup_plan_associations, as: 'backupPlanAssociations', class: Google::Apis::BackupdrV1::BackupPlanAssociation, decorator: Google::Apis::BackupdrV1::BackupPlanAssociation::Representation
1408
+
1409
+ property :next_page_token, as: 'nextPageToken'
1410
+ end
1411
+ end
1412
+
1413
+ class FetchDataSourceReferencesForResourceTypeResponse
1414
+ # @private
1415
+ class Representation < Google::Apis::Core::JsonRepresentation
1416
+ collection :data_source_references, as: 'dataSourceReferences', class: Google::Apis::BackupdrV1::DataSourceReference, decorator: Google::Apis::BackupdrV1::DataSourceReference::Representation
1417
+
1418
+ property :next_page_token, as: 'nextPageToken'
1419
+ end
1420
+ end
1421
+
1259
1422
  class FetchUsableBackupVaultsResponse
1260
1423
  # @private
1261
1424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1328,6 +1491,8 @@ module Google
1328
1491
  class InitializeServiceRequest
1329
1492
  # @private
1330
1493
  class Representation < Google::Apis::Core::JsonRepresentation
1494
+ property :cloud_sql_instance_initialization_config, as: 'cloudSqlInstanceInitializationConfig', class: Google::Apis::BackupdrV1::CloudSqlInstanceInitializationConfig, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceInitializationConfig::Representation
1495
+
1331
1496
  property :request_id, as: 'requestId'
1332
1497
  property :resource_type, as: 'resourceType'
1333
1498
  end
@@ -223,6 +223,64 @@ module Google
223
223
  execute_or_queue_command(command, &block)
224
224
  end
225
225
 
226
+ # List BackupPlanAssociations for a given resource type.
227
+ # @param [String] parent
228
+ # Required. The parent resource name. Format: projects/`project`/locations/`
229
+ # location`
230
+ # @param [String] filter
231
+ # Optional. A filter expression that filters the results fetched in the response.
232
+ # The expression must specify the field name, a comparison operator, and the
233
+ # value that you want to use for filtering. Supported fields: * resource *
234
+ # backup_plan * state * data_source *
235
+ # cloud_sql_instance_backup_plan_association_properties.instance_create_time
236
+ # @param [String] order_by
237
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
238
+ # order. Use "desc" after a field name for descending. Supported fields: * name
239
+ # @param [Fixnum] page_size
240
+ # Optional. The maximum number of BackupPlanAssociations to return. The service
241
+ # may return fewer than this value. If unspecified, at most 50
242
+ # BackupPlanAssociations will be returned. The maximum value is 100; values
243
+ # above 100 will be coerced to 100.
244
+ # @param [String] page_token
245
+ # Optional. A page token, received from a previous call of `
246
+ # FetchBackupPlanAssociationsForResourceType`. Provide this to retrieve the
247
+ # subsequent page. When paginating, all other parameters provided to `
248
+ # FetchBackupPlanAssociationsForResourceType` must match the call that provided
249
+ # the page token.
250
+ # @param [String] resource_type
251
+ # Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance
252
+ # @param [String] fields
253
+ # Selector specifying which fields to include in a partial response.
254
+ # @param [String] quota_user
255
+ # Available to use for quota purposes for server-side applications. Can be any
256
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
257
+ # @param [Google::Apis::RequestOptions] options
258
+ # Request-specific options
259
+ #
260
+ # @yield [result, err] Result & error if block supplied
261
+ # @yieldparam result [Google::Apis::BackupdrV1::FetchBackupPlanAssociationsForResourceTypeResponse] parsed result object
262
+ # @yieldparam err [StandardError] error object if request failed
263
+ #
264
+ # @return [Google::Apis::BackupdrV1::FetchBackupPlanAssociationsForResourceTypeResponse]
265
+ #
266
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
267
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
268
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
269
+ def fetch_project_location_backup_plan_association_for_resource_type(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, resource_type: nil, fields: nil, quota_user: nil, options: nil, &block)
270
+ command = make_simple_command(:get, 'v1/{+parent}/backupPlanAssociations:fetchForResourceType', options)
271
+ command.response_representation = Google::Apis::BackupdrV1::FetchBackupPlanAssociationsForResourceTypeResponse::Representation
272
+ command.response_class = Google::Apis::BackupdrV1::FetchBackupPlanAssociationsForResourceTypeResponse
273
+ command.params['parent'] = parent unless parent.nil?
274
+ command.query['filter'] = filter unless filter.nil?
275
+ command.query['orderBy'] = order_by unless order_by.nil?
276
+ command.query['pageSize'] = page_size unless page_size.nil?
277
+ command.query['pageToken'] = page_token unless page_token.nil?
278
+ command.query['resourceType'] = resource_type unless resource_type.nil?
279
+ command.query['fields'] = fields unless fields.nil?
280
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
281
+ execute_or_queue_command(command, &block)
282
+ end
283
+
226
284
  # Gets details of a single BackupPlanAssociation.
227
285
  # @param [String] name
228
286
  # Required. Name of the backup plan association resource, in the format `
@@ -1615,6 +1673,99 @@ module Google
1615
1673
  execute_or_queue_command(command, &block)
1616
1674
  end
1617
1675
 
1676
+ # Fetch DataSourceReferences for a given project, location and resource type.
1677
+ # @param [String] parent
1678
+ # Required. The parent resource name. Format: projects/`project`/locations/`
1679
+ # location`
1680
+ # @param [String] filter
1681
+ # Optional. A filter expression that filters the results fetched in the response.
1682
+ # The expression must specify the field name, a comparison operator, and the
1683
+ # value that you want to use for filtering. Supported fields: * data_source *
1684
+ # data_source_gcp_resource_info.gcp_resourcename *
1685
+ # data_source_backup_config_state * data_source_backup_count *
1686
+ # data_source_backup_config_info.last_backup_state *
1687
+ # data_source_gcp_resource_info.gcp_resourcename * data_source_gcp_resource_info.
1688
+ # type * data_source_gcp_resource_info.location * data_source_gcp_resource_info.
1689
+ # cloud_sql_instance_properties.instance_create_time
1690
+ # @param [String] order_by
1691
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
1692
+ # order. Use "desc" after a field name for descending. Supported fields: * name
1693
+ # @param [Fixnum] page_size
1694
+ # Optional. The maximum number of DataSourceReferences to return. The service
1695
+ # may return fewer than this value. If unspecified, at most 50
1696
+ # DataSourceReferences will be returned. The maximum value is 100; values above
1697
+ # 100 will be coerced to 100.
1698
+ # @param [String] page_token
1699
+ # Optional. A page token, received from a previous call of `
1700
+ # FetchDataSourceReferencesForResourceType`. Provide this to retrieve the
1701
+ # subsequent page. When paginating, all other parameters provided to `
1702
+ # FetchDataSourceReferencesForResourceType` must match the call that provided
1703
+ # the page token.
1704
+ # @param [String] resource_type
1705
+ # Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance
1706
+ # @param [String] fields
1707
+ # Selector specifying which fields to include in a partial response.
1708
+ # @param [String] quota_user
1709
+ # Available to use for quota purposes for server-side applications. Can be any
1710
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1711
+ # @param [Google::Apis::RequestOptions] options
1712
+ # Request-specific options
1713
+ #
1714
+ # @yield [result, err] Result & error if block supplied
1715
+ # @yieldparam result [Google::Apis::BackupdrV1::FetchDataSourceReferencesForResourceTypeResponse] parsed result object
1716
+ # @yieldparam err [StandardError] error object if request failed
1717
+ #
1718
+ # @return [Google::Apis::BackupdrV1::FetchDataSourceReferencesForResourceTypeResponse]
1719
+ #
1720
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1721
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1722
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1723
+ def fetch_project_location_data_source_reference_for_resource_type(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, resource_type: nil, fields: nil, quota_user: nil, options: nil, &block)
1724
+ command = make_simple_command(:get, 'v1/{+parent}/dataSourceReferences:fetchForResourceType', options)
1725
+ command.response_representation = Google::Apis::BackupdrV1::FetchDataSourceReferencesForResourceTypeResponse::Representation
1726
+ command.response_class = Google::Apis::BackupdrV1::FetchDataSourceReferencesForResourceTypeResponse
1727
+ command.params['parent'] = parent unless parent.nil?
1728
+ command.query['filter'] = filter unless filter.nil?
1729
+ command.query['orderBy'] = order_by unless order_by.nil?
1730
+ command.query['pageSize'] = page_size unless page_size.nil?
1731
+ command.query['pageToken'] = page_token unless page_token.nil?
1732
+ command.query['resourceType'] = resource_type unless resource_type.nil?
1733
+ command.query['fields'] = fields unless fields.nil?
1734
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1735
+ execute_or_queue_command(command, &block)
1736
+ end
1737
+
1738
+ # Gets details of a single DataSourceReference.
1739
+ # @param [String] name
1740
+ # Required. The name of the DataSourceReference to retrieve. Format: projects/`
1741
+ # project`/locations/`location`/dataSourceReferences/`data_source_reference`
1742
+ # @param [String] fields
1743
+ # Selector specifying which fields to include in a partial response.
1744
+ # @param [String] quota_user
1745
+ # Available to use for quota purposes for server-side applications. Can be any
1746
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1747
+ # @param [Google::Apis::RequestOptions] options
1748
+ # Request-specific options
1749
+ #
1750
+ # @yield [result, err] Result & error if block supplied
1751
+ # @yieldparam result [Google::Apis::BackupdrV1::DataSourceReference] parsed result object
1752
+ # @yieldparam err [StandardError] error object if request failed
1753
+ #
1754
+ # @return [Google::Apis::BackupdrV1::DataSourceReference]
1755
+ #
1756
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1757
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1758
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1759
+ def get_project_location_data_source_reference(name, fields: nil, quota_user: nil, options: nil, &block)
1760
+ command = make_simple_command(:get, 'v1/{+name}', options)
1761
+ command.response_representation = Google::Apis::BackupdrV1::DataSourceReference::Representation
1762
+ command.response_class = Google::Apis::BackupdrV1::DataSourceReference
1763
+ command.params['name'] = name unless name.nil?
1764
+ command.query['fields'] = fields unless fields.nil?
1765
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1766
+ execute_or_queue_command(command, &block)
1767
+ end
1768
+
1618
1769
  # Creates a new ManagementServer in a given project and location.
1619
1770
  # @param [String] parent
1620
1771
  # Required. The management server project and location in the format 'projects/`
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.32.0
4
+ version: 0.33.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.32.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.33.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: