google-apis-backupdr_v1 0.18.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9850d84bf82433a9f22b0fe24d341017401dd71e2bcd483c6d8926991be4157
4
- data.tar.gz: b099641c033a631bf211b197ec1dd954b814af64126d2c2cc00fecff2f09a1da
3
+ metadata.gz: 52159f5b559057652c98c7eb4f5215290d581300ae5b0df7cb5903273e7025b6
4
+ data.tar.gz: 54fd25ce767c59c5ab8ed7ec557e5049a7801ac144d8d67e3c474c7617c78708
5
5
  SHA512:
6
- metadata.gz: dff48928000cee59d57a0f505601a4de50a882234734f3a11d4b985ce58a59d34858c275b0bbe59947824c9901faaa45a4e4c34b3607bd8ea6a3b6a03192de5f
7
- data.tar.gz: 0eae5cc7d018af6a16ebbb64841aa71659bb924c41d863a56f949fd08537bcc89206faba6ce5bd5e0331ec54cb02959681af4ec1436da4a179065bce4abaaec3
6
+ metadata.gz: ed74c745d041da96b17e2bb6121f4e27acc16d4addfb581cb9ad1b1e803c27c8738def6249d0c02073aa2da8173979cacec6b020da576d39562207080735d913
7
+ data.tar.gz: 74baa9c069b5377c0a5a7943692391a38cba9ab5937675f3705fb8443d214507352100bdbe3d22226da631d8e70dc2af7d9ad735ef0435c3e1b2db95ff57f749
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.20.0 (2024-10-27)
4
+
5
+ * Regenerated from discovery document revision 20241017
6
+
7
+ ### v0.19.0 (2024-10-06)
8
+
9
+ * Regenerated from discovery document revision 20240920
10
+
3
11
  ### v0.18.0 (2024-09-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20240918
@@ -246,53 +246,6 @@ module Google
246
246
  end
247
247
  end
248
248
 
249
- # Provides the mapping of a cloud asset to a direct physical location or to a
250
- # proxy that defines the location on its behalf.
251
- class AssetLocation
252
- include Google::Apis::Core::Hashable
253
-
254
- # Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants
255
- # that use CCFE RMS for storing resource metadata.
256
- # Corresponds to the JSON property `ccfeRmsPath`
257
- # @return [String]
258
- attr_accessor :ccfe_rms_path
259
-
260
- # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state
261
- # of the region at the time of asset creation.
262
- # Corresponds to the JSON property `expected`
263
- # @return [Google::Apis::BackupdrV1::IsolationExpectations]
264
- attr_accessor :expected
265
-
266
- # Defines extra parameters required for specific asset types.
267
- # Corresponds to the JSON property `extraParameters`
268
- # @return [Array<Google::Apis::BackupdrV1::ExtraParameter>]
269
- attr_accessor :extra_parameters
270
-
271
- # Contains all kinds of physical location definitions for this asset.
272
- # Corresponds to the JSON property `locationData`
273
- # @return [Array<Google::Apis::BackupdrV1::LocationData>]
274
- attr_accessor :location_data
275
-
276
- # Defines parents assets if any in order to allow later generation of
277
- # child_asset_location data via child assets.
278
- # Corresponds to the JSON property `parentAsset`
279
- # @return [Array<Google::Apis::BackupdrV1::CloudAsset>]
280
- attr_accessor :parent_asset
281
-
282
- def initialize(**args)
283
- update!(**args)
284
- end
285
-
286
- # Update properties of this object
287
- def update!(**args)
288
- @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path)
289
- @expected = args[:expected] if args.key?(:expected)
290
- @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
291
- @location_data = args[:location_data] if args.key?(:location_data)
292
- @parent_asset = args[:parent_asset] if args.key?(:parent_asset)
293
- end
294
- end
295
-
296
249
  # An instance-attached disk resource.
297
250
  class AttachedDisk
298
251
  include Google::Apis::Core::Hashable
@@ -908,8 +861,8 @@ module Google
908
861
  attr_accessor :name
909
862
 
910
863
  # Required. The resource type to which the `BackupPlan` will be applied.
911
- # Examples include, "compute.googleapis.com/Instance" and "storage.googleapis.
912
- # com/Bucket".
864
+ # Examples include, "compute.googleapis.com/Instance", "sqladmin.googleapis.com/
865
+ # Instance" and "storage.googleapis.com/Bucket".
913
866
  # Corresponds to the JSON property `resourceType`
914
867
  # @return [String]
915
868
  attr_accessor :resource_type
@@ -979,8 +932,7 @@ module Google
979
932
  # @return [String]
980
933
  attr_accessor :resource
981
934
 
982
- # Output only. Output Only. Resource type of workload on which backupplan is
983
- # applied
935
+ # Optional. Resource type of workload on which backupplan is applied
984
936
  # Corresponds to the JSON property `resourceType`
985
937
  # @return [String]
986
938
  attr_accessor :resource_type
@@ -1310,26 +1262,6 @@ module Google
1310
1262
  end
1311
1263
  end
1312
1264
 
1313
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
1314
- # guide#data-metadata-placement-and-failure-domains
1315
- class BlobstoreLocation
1316
- include Google::Apis::Core::Hashable
1317
-
1318
- #
1319
- # Corresponds to the JSON property `policyId`
1320
- # @return [Array<String>]
1321
- attr_accessor :policy_id
1322
-
1323
- def initialize(**args)
1324
- update!(**args)
1325
- end
1326
-
1327
- # Update properties of this object
1328
- def update!(**args)
1329
- @policy_id = args[:policy_id] if args.key?(:policy_id)
1330
- end
1331
- end
1332
-
1333
1265
  # The request message for Operations.CancelOperation.
1334
1266
  class CancelOperationRequest
1335
1267
  include Google::Apis::Core::Hashable
@@ -1343,50 +1275,6 @@ module Google
1343
1275
  end
1344
1276
  end
1345
1277
 
1346
- #
1347
- class CloudAsset
1348
- include Google::Apis::Core::Hashable
1349
-
1350
- #
1351
- # Corresponds to the JSON property `assetName`
1352
- # @return [String]
1353
- attr_accessor :asset_name
1354
-
1355
- #
1356
- # Corresponds to the JSON property `assetType`
1357
- # @return [String]
1358
- attr_accessor :asset_type
1359
-
1360
- def initialize(**args)
1361
- update!(**args)
1362
- end
1363
-
1364
- # Update properties of this object
1365
- def update!(**args)
1366
- @asset_name = args[:asset_name] if args.key?(:asset_name)
1367
- @asset_type = args[:asset_type] if args.key?(:asset_type)
1368
- end
1369
- end
1370
-
1371
- #
1372
- class CloudAssetComposition
1373
- include Google::Apis::Core::Hashable
1374
-
1375
- #
1376
- # Corresponds to the JSON property `childAsset`
1377
- # @return [Array<Google::Apis::BackupdrV1::CloudAsset>]
1378
- attr_accessor :child_asset
1379
-
1380
- def initialize(**args)
1381
- update!(**args)
1382
- end
1383
-
1384
- # Update properties of this object
1385
- def update!(**args)
1386
- @child_asset = args[:child_asset] if args.key?(:child_asset)
1387
- end
1388
- end
1389
-
1390
1278
  # ComputeInstanceBackupProperties represents Compute Engine instance backup
1391
1279
  # properties.
1392
1280
  class ComputeInstanceBackupProperties
@@ -2006,25 +1894,6 @@ module Google
2006
1894
  end
2007
1895
  end
2008
1896
 
2009
- #
2010
- class DirectLocationAssignment
2011
- include Google::Apis::Core::Hashable
2012
-
2013
- #
2014
- # Corresponds to the JSON property `location`
2015
- # @return [Array<Google::Apis::BackupdrV1::LocationAssignment>]
2016
- attr_accessor :location
2017
-
2018
- def initialize(**args)
2019
- update!(**args)
2020
- end
2021
-
2022
- # Update properties of this object
2023
- def update!(**args)
2024
- @location = args[:location] if args.key?(:location)
2025
- end
2026
- end
2027
-
2028
1897
  # A set of Display Device options
2029
1898
  class DisplayDevice
2030
1899
  include Google::Apis::Core::Hashable
@@ -2143,26 +2012,6 @@ module Google
2143
2012
  end
2144
2013
  end
2145
2014
 
2146
- # Defines parameters that should only be used for specific asset types.
2147
- class ExtraParameter
2148
- include Google::Apis::Core::Hashable
2149
-
2150
- # To be used for specifying the intended distribution of regional compute.
2151
- # googleapis.com/InstanceGroupManager instances
2152
- # Corresponds to the JSON property `regionalMigDistributionPolicy`
2153
- # @return [Google::Apis::BackupdrV1::RegionalMigDistributionPolicy]
2154
- attr_accessor :regional_mig_distribution_policy
2155
-
2156
- def initialize(**args)
2157
- update!(**args)
2158
- end
2159
-
2160
- # Update properties of this object
2161
- def update!(**args)
2162
- @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
2163
- end
2164
- end
2165
-
2166
2015
  # Request message for FetchAccessToken.
2167
2016
  class FetchAccessTokenRequest
2168
2017
  include Google::Apis::Core::Hashable
@@ -2392,6 +2241,38 @@ module Google
2392
2241
  end
2393
2242
  end
2394
2243
 
2244
+ # Minimum details to identify a Google Cloud resource
2245
+ class GcpResource
2246
+ include Google::Apis::Core::Hashable
2247
+
2248
+ # Name of the Google Cloud resource.
2249
+ # Corresponds to the JSON property `gcpResourcename`
2250
+ # @return [String]
2251
+ attr_accessor :gcp_resourcename
2252
+
2253
+ # Location of the resource: //"global"/"unspecified".
2254
+ # Corresponds to the JSON property `location`
2255
+ # @return [String]
2256
+ attr_accessor :location
2257
+
2258
+ # Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.
2259
+ # com/Instance.
2260
+ # Corresponds to the JSON property `type`
2261
+ # @return [String]
2262
+ attr_accessor :type
2263
+
2264
+ def initialize(**args)
2265
+ update!(**args)
2266
+ end
2267
+
2268
+ # Update properties of this object
2269
+ def update!(**args)
2270
+ @gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
2271
+ @location = args[:location] if args.key?(:location)
2272
+ @type = args[:type] if args.key?(:type)
2273
+ end
2274
+ end
2275
+
2395
2276
  # Feature type of the Guest OS.
2396
2277
  class GuestOsFeature
2397
2278
  include Google::Apis::Core::Hashable
@@ -2522,70 +2403,6 @@ module Google
2522
2403
  end
2523
2404
  end
2524
2405
 
2525
- #
2526
- class IsolationExpectations
2527
- include Google::Apis::Core::Hashable
2528
-
2529
- # Explicit overrides for ZI and ZS requirements to be used for resources that
2530
- # should be excluded from ZI/ZS verification logic.
2531
- # Corresponds to the JSON property `requirementOverride`
2532
- # @return [Google::Apis::BackupdrV1::RequirementOverride]
2533
- attr_accessor :requirement_override
2534
-
2535
- #
2536
- # Corresponds to the JSON property `ziOrgPolicy`
2537
- # @return [String]
2538
- attr_accessor :zi_org_policy
2539
-
2540
- #
2541
- # Corresponds to the JSON property `ziRegionPolicy`
2542
- # @return [String]
2543
- attr_accessor :zi_region_policy
2544
-
2545
- #
2546
- # Corresponds to the JSON property `ziRegionState`
2547
- # @return [String]
2548
- attr_accessor :zi_region_state
2549
-
2550
- # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
2551
- # for setting ZI expectations as per go/zicy-publish-physical-location.
2552
- # Corresponds to the JSON property `zoneIsolation`
2553
- # @return [String]
2554
- attr_accessor :zone_isolation
2555
-
2556
- # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
2557
- # expectations as per go/zicy-publish-physical-location.
2558
- # Corresponds to the JSON property `zoneSeparation`
2559
- # @return [String]
2560
- attr_accessor :zone_separation
2561
-
2562
- #
2563
- # Corresponds to the JSON property `zsOrgPolicy`
2564
- # @return [String]
2565
- attr_accessor :zs_org_policy
2566
-
2567
- #
2568
- # Corresponds to the JSON property `zsRegionState`
2569
- # @return [String]
2570
- attr_accessor :zs_region_state
2571
-
2572
- def initialize(**args)
2573
- update!(**args)
2574
- end
2575
-
2576
- # Update properties of this object
2577
- def update!(**args)
2578
- @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
2579
- @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
2580
- @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
2581
- @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
2582
- @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
2583
- @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
2584
- @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
2585
- @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
2586
- end
2587
- end
2588
-
2589
2406
  # Response message for List BackupPlanAssociation
2590
2407
  class ListBackupPlanAssociationsResponse
2591
2408
  include Google::Apis::Core::Hashable
@@ -2897,82 +2714,6 @@ module Google
2897
2714
  end
2898
2715
  end
2899
2716
 
2900
- #
2901
- class LocationAssignment
2902
- include Google::Apis::Core::Hashable
2903
-
2904
- #
2905
- # Corresponds to the JSON property `location`
2906
- # @return [String]
2907
- attr_accessor :location
2908
-
2909
- #
2910
- # Corresponds to the JSON property `locationType`
2911
- # @return [String]
2912
- attr_accessor :location_type
2913
-
2914
- def initialize(**args)
2915
- update!(**args)
2916
- end
2917
-
2918
- # Update properties of this object
2919
- def update!(**args)
2920
- @location = args[:location] if args.key?(:location)
2921
- @location_type = args[:location_type] if args.key?(:location_type)
2922
- end
2923
- end
2924
-
2925
- #
2926
- class LocationData
2927
- include Google::Apis::Core::Hashable
2928
-
2929
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
2930
- # guide#data-metadata-placement-and-failure-domains
2931
- # Corresponds to the JSON property `blobstoreLocation`
2932
- # @return [Google::Apis::BackupdrV1::BlobstoreLocation]
2933
- attr_accessor :blobstore_location
2934
-
2935
- #
2936
- # Corresponds to the JSON property `childAssetLocation`
2937
- # @return [Google::Apis::BackupdrV1::CloudAssetComposition]
2938
- attr_accessor :child_asset_location
2939
-
2940
- #
2941
- # Corresponds to the JSON property `directLocation`
2942
- # @return [Google::Apis::BackupdrV1::DirectLocationAssignment]
2943
- attr_accessor :direct_location
2944
-
2945
- #
2946
- # Corresponds to the JSON property `gcpProjectProxy`
2947
- # @return [Google::Apis::BackupdrV1::TenantProjectProxy]
2948
- attr_accessor :gcp_project_proxy
2949
-
2950
- # Message describing that the location of the customer resource is tied to
2951
- # placer allocations
2952
- # Corresponds to the JSON property `placerLocation`
2953
- # @return [Google::Apis::BackupdrV1::PlacerLocation]
2954
- attr_accessor :placer_location
2955
-
2956
- #
2957
- # Corresponds to the JSON property `spannerLocation`
2958
- # @return [Google::Apis::BackupdrV1::SpannerLocation]
2959
- attr_accessor :spanner_location
2960
-
2961
- def initialize(**args)
2962
- update!(**args)
2963
- end
2964
-
2965
- # Update properties of this object
2966
- def update!(**args)
2967
- @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
2968
- @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
2969
- @direct_location = args[:direct_location] if args.key?(:direct_location)
2970
- @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
2971
- @placer_location = args[:placer_location] if args.key?(:placer_location)
2972
- @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
2973
- end
2974
- end
2975
-
2976
2717
  # ManagementServer describes a single BackupDR ManagementServer instance.
2977
2718
  class ManagementServer
2978
2719
  include Google::Apis::Core::Hashable
@@ -3460,27 +3201,6 @@ module Google
3460
3201
  end
3461
3202
  end
3462
3203
 
3463
- # Message describing that the location of the customer resource is tied to
3464
- # placer allocations
3465
- class PlacerLocation
3466
- include Google::Apis::Core::Hashable
3467
-
3468
- # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
3469
- # root/my-dir")
3470
- # Corresponds to the JSON property `placerConfig`
3471
- # @return [String]
3472
- attr_accessor :placer_config
3473
-
3474
- def initialize(**args)
3475
- update!(**args)
3476
- end
3477
-
3478
- # Update properties of this object
3479
- def update!(**args)
3480
- @placer_config = args[:placer_config] if args.key?(:placer_config)
3481
- end
3482
- end
3483
-
3484
3204
  # An Identity and Access Management (IAM) policy, which specifies access
3485
3205
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3486
3206
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -3576,33 +3296,6 @@ module Google
3576
3296
  end
3577
3297
  end
3578
3298
 
3579
- # To be used for specifying the intended distribution of regional compute.
3580
- # googleapis.com/InstanceGroupManager instances
3581
- class RegionalMigDistributionPolicy
3582
- include Google::Apis::Core::Hashable
3583
-
3584
- # The shape in which the group converges around distribution of resources.
3585
- # Instance of proto2 enum
3586
- # Corresponds to the JSON property `targetShape`
3587
- # @return [Fixnum]
3588
- attr_accessor :target_shape
3589
-
3590
- # Cloud zones used by regional MIG to create instances.
3591
- # Corresponds to the JSON property `zones`
3592
- # @return [Array<Google::Apis::BackupdrV1::ZoneConfiguration>]
3593
- attr_accessor :zones
3594
-
3595
- def initialize(**args)
3596
- update!(**args)
3597
- end
3598
-
3599
- # Update properties of this object
3600
- def update!(**args)
3601
- @target_shape = args[:target_shape] if args.key?(:target_shape)
3602
- @zones = args[:zones] if args.key?(:zones)
3603
- end
3604
- end
3605
-
3606
3299
  # Message for deleting a DataSource.
3607
3300
  class RemoveDataSourceRequest
3608
3301
  include Google::Apis::Core::Hashable
@@ -3631,31 +3324,6 @@ module Google
3631
3324
  end
3632
3325
  end
3633
3326
 
3634
- #
3635
- class RequirementOverride
3636
- include Google::Apis::Core::Hashable
3637
-
3638
- #
3639
- # Corresponds to the JSON property `ziOverride`
3640
- # @return [String]
3641
- attr_accessor :zi_override
3642
-
3643
- #
3644
- # Corresponds to the JSON property `zsOverride`
3645
- # @return [String]
3646
- attr_accessor :zs_override
3647
-
3648
- def initialize(**args)
3649
- update!(**args)
3650
- end
3651
-
3652
- # Update properties of this object
3653
- def update!(**args)
3654
- @zi_override = args[:zi_override] if args.key?(:zi_override)
3655
- @zs_override = args[:zs_override] if args.key?(:zs_override)
3656
- end
3657
- end
3658
-
3659
3327
  # Request message for restoring from a Backup.
3660
3328
  class RestoreBackupRequest
3661
3329
  include Google::Apis::Core::Hashable
@@ -3698,6 +3366,25 @@ module Google
3698
3366
  end
3699
3367
  end
3700
3368
 
3369
+ # Response message for restoring from a Backup.
3370
+ class RestoreBackupResponse
3371
+ include Google::Apis::Core::Hashable
3372
+
3373
+ # Details of the target resource created/modified as part of restore.
3374
+ # Corresponds to the JSON property `targetResource`
3375
+ # @return [Google::Apis::BackupdrV1::TargetResource]
3376
+ attr_accessor :target_resource
3377
+
3378
+ def initialize(**args)
3379
+ update!(**args)
3380
+ end
3381
+
3382
+ # Update properties of this object
3383
+ def update!(**args)
3384
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
3385
+ end
3386
+ end
3387
+
3701
3388
  # Message for rules config info.
3702
3389
  class RuleConfigInfo
3703
3390
  include Google::Apis::Core::Hashable
@@ -3978,29 +3665,16 @@ module Google
3978
3665
  end
3979
3666
  end
3980
3667
 
3981
- #
3982
- class SpannerLocation
3668
+ # Response message from SetStatusInternal method.
3669
+ class SetInternalStatusResponse
3983
3670
  include Google::Apis::Core::Hashable
3984
3671
 
3985
- # Set of backups used by the resource with name in the same format as what is
3986
- # available at http://table/spanner_automon.backup_metadata
3987
- # Corresponds to the JSON property `backupName`
3988
- # @return [Array<String>]
3989
- attr_accessor :backup_name
3990
-
3991
- # Set of databases used by the resource in format /span//
3992
- # Corresponds to the JSON property `dbName`
3993
- # @return [Array<String>]
3994
- attr_accessor :db_name
3995
-
3996
3672
  def initialize(**args)
3997
3673
  update!(**args)
3998
3674
  end
3999
3675
 
4000
3676
  # Update properties of this object
4001
3677
  def update!(**args)
4002
- @backup_name = args[:backup_name] if args.key?(:backup_name)
4003
- @db_name = args[:db_name] if args.key?(:db_name)
4004
3678
  end
4005
3679
  end
4006
3680
 
@@ -4146,14 +3820,14 @@ module Google
4146
3820
  end
4147
3821
  end
4148
3822
 
4149
- #
4150
- class TenantProjectProxy
3823
+ # Details of the target resource created/modified as part of restore.
3824
+ class TargetResource
4151
3825
  include Google::Apis::Core::Hashable
4152
3826
 
4153
- #
4154
- # Corresponds to the JSON property `projectNumbers`
4155
- # @return [Array<String>]
4156
- attr_accessor :project_numbers
3827
+ # Minimum details to identify a Google Cloud resource
3828
+ # Corresponds to the JSON property `gcpResource`
3829
+ # @return [Google::Apis::BackupdrV1::GcpResource]
3830
+ attr_accessor :gcp_resource
4157
3831
 
4158
3832
  def initialize(**args)
4159
3833
  update!(**args)
@@ -4161,7 +3835,7 @@ module Google
4161
3835
 
4162
3836
  # Update properties of this object
4163
3837
  def update!(**args)
4164
- @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
3838
+ @gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource)
4165
3839
  end
4166
3840
  end
4167
3841
 
@@ -4315,25 +3989,6 @@ module Google
4315
3989
  @third_party_oauth2_client_id = args[:third_party_oauth2_client_id] if args.key?(:third_party_oauth2_client_id)
4316
3990
  end
4317
3991
  end
4318
-
4319
- #
4320
- class ZoneConfiguration
4321
- include Google::Apis::Core::Hashable
4322
-
4323
- #
4324
- # Corresponds to the JSON property `zone`
4325
- # @return [String]
4326
- attr_accessor :zone
4327
-
4328
- def initialize(**args)
4329
- update!(**args)
4330
- end
4331
-
4332
- # Update properties of this object
4333
- def update!(**args)
4334
- @zone = args[:zone] if args.key?(:zone)
4335
- end
4336
- end
4337
3992
  end
4338
3993
  end
4339
3994
  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.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240918"
25
+ REVISION = "20241017"
26
26
  end
27
27
  end
28
28
  end
@@ -58,12 +58,6 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class AssetLocation
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
61
  class AttachedDisk
68
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
63
 
@@ -154,30 +148,12 @@ module Google
154
148
  include Google::Apis::Core::JsonObjectSupport
155
149
  end
156
150
 
157
- class BlobstoreLocation
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
151
  class CancelOperationRequest
164
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
153
 
166
154
  include Google::Apis::Core::JsonObjectSupport
167
155
  end
168
156
 
169
- class CloudAsset
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
- class CloudAssetComposition
176
- class Representation < Google::Apis::Core::JsonRepresentation; end
177
-
178
- include Google::Apis::Core::JsonObjectSupport
179
- end
180
-
181
157
  class ComputeInstanceBackupProperties
182
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
159
 
@@ -232,12 +208,6 @@ module Google
232
208
  include Google::Apis::Core::JsonObjectSupport
233
209
  end
234
210
 
235
- class DirectLocationAssignment
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
211
  class DisplayDevice
242
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
213
 
@@ -262,12 +232,6 @@ module Google
262
232
  include Google::Apis::Core::JsonObjectSupport
263
233
  end
264
234
 
265
- class ExtraParameter
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
235
  class FetchAccessTokenRequest
272
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
237
 
@@ -304,37 +268,37 @@ module Google
304
268
  include Google::Apis::Core::JsonObjectSupport
305
269
  end
306
270
 
307
- class GuestOsFeature
271
+ class GcpResource
308
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
273
 
310
274
  include Google::Apis::Core::JsonObjectSupport
311
275
  end
312
276
 
313
- class InitializeParams
277
+ class GuestOsFeature
314
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
279
 
316
280
  include Google::Apis::Core::JsonObjectSupport
317
281
  end
318
282
 
319
- class InitiateBackupRequest
283
+ class InitializeParams
320
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
285
 
322
286
  include Google::Apis::Core::JsonObjectSupport
323
287
  end
324
288
 
325
- class InitiateBackupResponse
289
+ class InitiateBackupRequest
326
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
291
 
328
292
  include Google::Apis::Core::JsonObjectSupport
329
293
  end
330
294
 
331
- class InstanceParams
295
+ class InitiateBackupResponse
332
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
297
 
334
298
  include Google::Apis::Core::JsonObjectSupport
335
299
  end
336
300
 
337
- class IsolationExpectations
301
+ class InstanceParams
338
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
303
 
340
304
  include Google::Apis::Core::JsonObjectSupport
@@ -394,18 +358,6 @@ module Google
394
358
  include Google::Apis::Core::JsonObjectSupport
395
359
  end
396
360
 
397
- class LocationAssignment
398
- class Representation < Google::Apis::Core::JsonRepresentation; end
399
-
400
- include Google::Apis::Core::JsonObjectSupport
401
- end
402
-
403
- class LocationData
404
- class Representation < Google::Apis::Core::JsonRepresentation; end
405
-
406
- include Google::Apis::Core::JsonObjectSupport
407
- end
408
-
409
361
  class ManagementServer
410
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
363
 
@@ -460,37 +412,25 @@ module Google
460
412
  include Google::Apis::Core::JsonObjectSupport
461
413
  end
462
414
 
463
- class PlacerLocation
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
415
  class Policy
470
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
417
 
472
418
  include Google::Apis::Core::JsonObjectSupport
473
419
  end
474
420
 
475
- class RegionalMigDistributionPolicy
476
- class Representation < Google::Apis::Core::JsonRepresentation; end
477
-
478
- include Google::Apis::Core::JsonObjectSupport
479
- end
480
-
481
421
  class RemoveDataSourceRequest
482
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
423
 
484
424
  include Google::Apis::Core::JsonObjectSupport
485
425
  end
486
426
 
487
- class RequirementOverride
427
+ class RestoreBackupRequest
488
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
429
 
490
430
  include Google::Apis::Core::JsonObjectSupport
491
431
  end
492
432
 
493
- class RestoreBackupRequest
433
+ class RestoreBackupResponse
494
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
435
 
496
436
  include Google::Apis::Core::JsonObjectSupport
@@ -538,7 +478,7 @@ module Google
538
478
  include Google::Apis::Core::JsonObjectSupport
539
479
  end
540
480
 
541
- class SpannerLocation
481
+ class SetInternalStatusResponse
542
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
483
 
544
484
  include Google::Apis::Core::JsonObjectSupport
@@ -562,7 +502,7 @@ module Google
562
502
  include Google::Apis::Core::JsonObjectSupport
563
503
  end
564
504
 
565
- class TenantProjectProxy
505
+ class TargetResource
566
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
507
 
568
508
  include Google::Apis::Core::JsonObjectSupport
@@ -604,12 +544,6 @@ module Google
604
544
  include Google::Apis::Core::JsonObjectSupport
605
545
  end
606
546
 
607
- class ZoneConfiguration
608
- class Representation < Google::Apis::Core::JsonRepresentation; end
609
-
610
- include Google::Apis::Core::JsonObjectSupport
611
- end
612
-
613
547
  class AbandonBackupRequest
614
548
  # @private
615
549
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -666,21 +600,6 @@ module Google
666
600
  end
667
601
  end
668
602
 
669
- class AssetLocation
670
- # @private
671
- class Representation < Google::Apis::Core::JsonRepresentation
672
- property :ccfe_rms_path, as: 'ccfeRmsPath'
673
- property :expected, as: 'expected', class: Google::Apis::BackupdrV1::IsolationExpectations, decorator: Google::Apis::BackupdrV1::IsolationExpectations::Representation
674
-
675
- collection :extra_parameters, as: 'extraParameters', class: Google::Apis::BackupdrV1::ExtraParameter, decorator: Google::Apis::BackupdrV1::ExtraParameter::Representation
676
-
677
- collection :location_data, as: 'locationData', class: Google::Apis::BackupdrV1::LocationData, decorator: Google::Apis::BackupdrV1::LocationData::Representation
678
-
679
- collection :parent_asset, as: 'parentAsset', class: Google::Apis::BackupdrV1::CloudAsset, decorator: Google::Apis::BackupdrV1::CloudAsset::Representation
680
-
681
- end
682
- end
683
-
684
603
  class AttachedDisk
685
604
  # @private
686
605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -896,35 +815,12 @@ module Google
896
815
  end
897
816
  end
898
817
 
899
- class BlobstoreLocation
900
- # @private
901
- class Representation < Google::Apis::Core::JsonRepresentation
902
- collection :policy_id, as: 'policyId'
903
- end
904
- end
905
-
906
818
  class CancelOperationRequest
907
819
  # @private
908
820
  class Representation < Google::Apis::Core::JsonRepresentation
909
821
  end
910
822
  end
911
823
 
912
- class CloudAsset
913
- # @private
914
- class Representation < Google::Apis::Core::JsonRepresentation
915
- property :asset_name, as: 'assetName'
916
- property :asset_type, as: 'assetType'
917
- end
918
- end
919
-
920
- class CloudAssetComposition
921
- # @private
922
- class Representation < Google::Apis::Core::JsonRepresentation
923
- collection :child_asset, as: 'childAsset', class: Google::Apis::BackupdrV1::CloudAsset, decorator: Google::Apis::BackupdrV1::CloudAsset::Representation
924
-
925
- end
926
- end
927
-
928
824
  class ComputeInstanceBackupProperties
929
825
  # @private
930
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1078,14 +974,6 @@ module Google
1078
974
  end
1079
975
  end
1080
976
 
1081
- class DirectLocationAssignment
1082
- # @private
1083
- class Representation < Google::Apis::Core::JsonRepresentation
1084
- collection :location, as: 'location', class: Google::Apis::BackupdrV1::LocationAssignment, decorator: Google::Apis::BackupdrV1::LocationAssignment::Representation
1085
-
1086
- end
1087
- end
1088
-
1089
977
  class DisplayDevice
1090
978
  # @private
1091
979
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1117,14 +1005,6 @@ module Google
1117
1005
  end
1118
1006
  end
1119
1007
 
1120
- class ExtraParameter
1121
- # @private
1122
- class Representation < Google::Apis::Core::JsonRepresentation
1123
- property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::BackupdrV1::RegionalMigDistributionPolicy, decorator: Google::Apis::BackupdrV1::RegionalMigDistributionPolicy::Representation
1124
-
1125
- end
1126
- end
1127
-
1128
1008
  class FetchAccessTokenRequest
1129
1009
  # @private
1130
1010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1183,6 +1063,15 @@ module Google
1183
1063
  end
1184
1064
  end
1185
1065
 
1066
+ class GcpResource
1067
+ # @private
1068
+ class Representation < Google::Apis::Core::JsonRepresentation
1069
+ property :gcp_resourcename, as: 'gcpResourcename'
1070
+ property :location, as: 'location'
1071
+ property :type, as: 'type'
1072
+ end
1073
+ end
1074
+
1186
1075
  class GuestOsFeature
1187
1076
  # @private
1188
1077
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1222,21 +1111,6 @@ module Google
1222
1111
  end
1223
1112
  end
1224
1113
 
1225
- class IsolationExpectations
1226
- # @private
1227
- class Representation < Google::Apis::Core::JsonRepresentation
1228
- property :requirement_override, as: 'requirementOverride', class: Google::Apis::BackupdrV1::RequirementOverride, decorator: Google::Apis::BackupdrV1::RequirementOverride::Representation
1229
-
1230
- property :zi_org_policy, as: 'ziOrgPolicy'
1231
- property :zi_region_policy, as: 'ziRegionPolicy'
1232
- property :zi_region_state, as: 'ziRegionState'
1233
- property :zone_isolation, as: 'zoneIsolation'
1234
- property :zone_separation, as: 'zoneSeparation'
1235
- property :zs_org_policy, as: 'zsOrgPolicy'
1236
- property :zs_region_state, as: 'zsRegionState'
1237
- end
1238
- end
1239
-
1240
1114
  class ListBackupPlanAssociationsResponse
1241
1115
  # @private
1242
1116
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1326,32 +1200,6 @@ module Google
1326
1200
  end
1327
1201
  end
1328
1202
 
1329
- class LocationAssignment
1330
- # @private
1331
- class Representation < Google::Apis::Core::JsonRepresentation
1332
- property :location, as: 'location'
1333
- property :location_type, as: 'locationType'
1334
- end
1335
- end
1336
-
1337
- class LocationData
1338
- # @private
1339
- class Representation < Google::Apis::Core::JsonRepresentation
1340
- property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::BackupdrV1::BlobstoreLocation, decorator: Google::Apis::BackupdrV1::BlobstoreLocation::Representation
1341
-
1342
- property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::BackupdrV1::CloudAssetComposition, decorator: Google::Apis::BackupdrV1::CloudAssetComposition::Representation
1343
-
1344
- property :direct_location, as: 'directLocation', class: Google::Apis::BackupdrV1::DirectLocationAssignment, decorator: Google::Apis::BackupdrV1::DirectLocationAssignment::Representation
1345
-
1346
- property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::BackupdrV1::TenantProjectProxy, decorator: Google::Apis::BackupdrV1::TenantProjectProxy::Representation
1347
-
1348
- property :placer_location, as: 'placerLocation', class: Google::Apis::BackupdrV1::PlacerLocation, decorator: Google::Apis::BackupdrV1::PlacerLocation::Representation
1349
-
1350
- property :spanner_location, as: 'spannerLocation', class: Google::Apis::BackupdrV1::SpannerLocation, decorator: Google::Apis::BackupdrV1::SpannerLocation::Representation
1351
-
1352
- end
1353
- end
1354
-
1355
1203
  class ManagementServer
1356
1204
  # @private
1357
1205
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1467,13 +1315,6 @@ module Google
1467
1315
  end
1468
1316
  end
1469
1317
 
1470
- class PlacerLocation
1471
- # @private
1472
- class Representation < Google::Apis::Core::JsonRepresentation
1473
- property :placer_config, as: 'placerConfig'
1474
- end
1475
- end
1476
-
1477
1318
  class Policy
1478
1319
  # @private
1479
1320
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1486,15 +1327,6 @@ module Google
1486
1327
  end
1487
1328
  end
1488
1329
 
1489
- class RegionalMigDistributionPolicy
1490
- # @private
1491
- class Representation < Google::Apis::Core::JsonRepresentation
1492
- property :target_shape, as: 'targetShape'
1493
- collection :zones, as: 'zones', class: Google::Apis::BackupdrV1::ZoneConfiguration, decorator: Google::Apis::BackupdrV1::ZoneConfiguration::Representation
1494
-
1495
- end
1496
- end
1497
-
1498
1330
  class RemoveDataSourceRequest
1499
1331
  # @private
1500
1332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1502,14 +1334,6 @@ module Google
1502
1334
  end
1503
1335
  end
1504
1336
 
1505
- class RequirementOverride
1506
- # @private
1507
- class Representation < Google::Apis::Core::JsonRepresentation
1508
- property :zi_override, as: 'ziOverride'
1509
- property :zs_override, as: 'zsOverride'
1510
- end
1511
- end
1512
-
1513
1337
  class RestoreBackupRequest
1514
1338
  # @private
1515
1339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1521,6 +1345,14 @@ module Google
1521
1345
  end
1522
1346
  end
1523
1347
 
1348
+ class RestoreBackupResponse
1349
+ # @private
1350
+ class Representation < Google::Apis::Core::JsonRepresentation
1351
+ property :target_resource, as: 'targetResource', class: Google::Apis::BackupdrV1::TargetResource, decorator: Google::Apis::BackupdrV1::TargetResource::Representation
1352
+
1353
+ end
1354
+ end
1355
+
1524
1356
  class RuleConfigInfo
1525
1357
  # @private
1526
1358
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1589,11 +1421,9 @@ module Google
1589
1421
  end
1590
1422
  end
1591
1423
 
1592
- class SpannerLocation
1424
+ class SetInternalStatusResponse
1593
1425
  # @private
1594
1426
  class Representation < Google::Apis::Core::JsonRepresentation
1595
- collection :backup_name, as: 'backupName'
1596
- collection :db_name, as: 'dbName'
1597
1427
  end
1598
1428
  end
1599
1429
 
@@ -1629,10 +1459,11 @@ module Google
1629
1459
  end
1630
1460
  end
1631
1461
 
1632
- class TenantProjectProxy
1462
+ class TargetResource
1633
1463
  # @private
1634
1464
  class Representation < Google::Apis::Core::JsonRepresentation
1635
- collection :project_numbers, as: 'projectNumbers'
1465
+ property :gcp_resource, as: 'gcpResource', class: Google::Apis::BackupdrV1::GcpResource, decorator: Google::Apis::BackupdrV1::GcpResource::Representation
1466
+
1636
1467
  end
1637
1468
  end
1638
1469
 
@@ -1681,13 +1512,6 @@ module Google
1681
1512
  property :third_party_oauth2_client_id, as: 'thirdPartyOauth2ClientId'
1682
1513
  end
1683
1514
  end
1684
-
1685
- class ZoneConfiguration
1686
- # @private
1687
- class Representation < Google::Apis::Core::JsonRepresentation
1688
- property :zone, as: 'zone'
1689
- end
1690
- end
1691
1515
  end
1692
1516
  end
1693
1517
  end
@@ -574,6 +574,9 @@ module Google
574
574
  # @param [Boolean] force
575
575
  # Optional. If set to true, any data source from this backup vault will also be
576
576
  # deleted.
577
+ # @param [Boolean] ignore_backup_plan_references
578
+ # Optional. If set to true, backupvault deletion will proceed even if there are
579
+ # backup plans referencing the backupvault. The default is 'false'.
577
580
  # @param [String] request_id
578
581
  # Optional. An optional request ID to identify requests. Specify a unique
579
582
  # request ID so that if you must retry your request, the server will know to
@@ -605,7 +608,7 @@ module Google
605
608
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
606
609
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607
610
  # @raise [Google::Apis::AuthorizationError] Authorization is required
608
- def delete_project_location_backup_vault(name, allow_missing: nil, etag: nil, force: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
611
+ def delete_project_location_backup_vault(name, allow_missing: nil, etag: nil, force: nil, ignore_backup_plan_references: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
609
612
  command = make_simple_command(:delete, 'v1/{+name}', options)
610
613
  command.response_representation = Google::Apis::BackupdrV1::Operation::Representation
611
614
  command.response_class = Google::Apis::BackupdrV1::Operation
@@ -613,6 +616,7 @@ module Google
613
616
  command.query['allowMissing'] = allow_missing unless allow_missing.nil?
614
617
  command.query['etag'] = etag unless etag.nil?
615
618
  command.query['force'] = force unless force.nil?
619
+ command.query['ignoreBackupPlanReferences'] = ignore_backup_plan_references unless ignore_backup_plan_references.nil?
616
620
  command.query['requestId'] = request_id unless request_id.nil?
617
621
  command.query['validateOnly'] = validate_only unless validate_only.nil?
618
622
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-backupdr_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.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-09-29 00:00:00.000000000 Z
11
+ date: 2024-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-backupdr_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Backup and DR Service API V1