google-apis-backupdr_v1 0.19.0 → 0.21.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: 3ff414f9e63737ef7f4c7fd7f7b26b9943791a3e3320e7e39066f74a6c8f897c
4
- data.tar.gz: 76e1e504a1cb4cdd070af8d2a8bc6f63c64c348d46d20521d9fb82d6a7dfb456
3
+ metadata.gz: d008006dc80cdb52cb83e314f2cc3436b8c366960e0b8524ad2b2696ee70e650
4
+ data.tar.gz: '09a2385fea6ad47a75cbaf1507331a50d88cadf968adefca1b15eedde2d5cd67'
5
5
  SHA512:
6
- metadata.gz: 6fe0b56483f3305f58241826fbf815f8ed707b507391131a9727237c32e990c4957f77382576f8a37e5dbcd1f59079784b0a561b00024224bdd5be22a6211dbe
7
- data.tar.gz: 93142d1c0761acd93c2b8fbb985e176f4a81bb4c409359f72951caed5eba253183aa01a036b5be98eb313245e54a8daf4f2c0c9be183fb74e9ecc1e232f8705e
6
+ metadata.gz: 9ad71d1bc6b5ea6e3dd8006883bc7a53eafb664f88525e545978cd78573c18c725a660c2b536788259dbf3dc3ede941b1f006ae9d00e82eb38940d8fc3d17135
7
+ data.tar.gz: 8333a70c82506721de2900fd2e8cc47cf71e1b15e49ce14f5216884246455db85f3a17965d477b3529411422dc3e18222df953a8875a753ee53be91128fdb930
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.21.0 (2024-11-03)
4
+
5
+ * Regenerated from discovery document revision 20241023
6
+
7
+ ### v0.20.0 (2024-10-27)
8
+
9
+ * Regenerated from discovery document revision 20241017
10
+
3
11
  ### v0.19.0 (2024-10-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20240920
@@ -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
@@ -2554,70 +2403,6 @@ module Google
2554
2403
  end
2555
2404
  end
2556
2405
 
2557
- #
2558
- class IsolationExpectations
2559
- include Google::Apis::Core::Hashable
2560
-
2561
- # Explicit overrides for ZI and ZS requirements to be used for resources that
2562
- # should be excluded from ZI/ZS verification logic.
2563
- # Corresponds to the JSON property `requirementOverride`
2564
- # @return [Google::Apis::BackupdrV1::RequirementOverride]
2565
- attr_accessor :requirement_override
2566
-
2567
- #
2568
- # Corresponds to the JSON property `ziOrgPolicy`
2569
- # @return [String]
2570
- attr_accessor :zi_org_policy
2571
-
2572
- #
2573
- # Corresponds to the JSON property `ziRegionPolicy`
2574
- # @return [String]
2575
- attr_accessor :zi_region_policy
2576
-
2577
- #
2578
- # Corresponds to the JSON property `ziRegionState`
2579
- # @return [String]
2580
- attr_accessor :zi_region_state
2581
-
2582
- # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
2583
- # for setting ZI expectations as per go/zicy-publish-physical-location.
2584
- # Corresponds to the JSON property `zoneIsolation`
2585
- # @return [String]
2586
- attr_accessor :zone_isolation
2587
-
2588
- # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
2589
- # expectations as per go/zicy-publish-physical-location.
2590
- # Corresponds to the JSON property `zoneSeparation`
2591
- # @return [String]
2592
- attr_accessor :zone_separation
2593
-
2594
- #
2595
- # Corresponds to the JSON property `zsOrgPolicy`
2596
- # @return [String]
2597
- attr_accessor :zs_org_policy
2598
-
2599
- #
2600
- # Corresponds to the JSON property `zsRegionState`
2601
- # @return [String]
2602
- attr_accessor :zs_region_state
2603
-
2604
- def initialize(**args)
2605
- update!(**args)
2606
- end
2607
-
2608
- # Update properties of this object
2609
- def update!(**args)
2610
- @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
2611
- @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
2612
- @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
2613
- @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
2614
- @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
2615
- @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
2616
- @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
2617
- @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
2618
- end
2619
- end
2620
-
2621
2406
  # Response message for List BackupPlanAssociation
2622
2407
  class ListBackupPlanAssociationsResponse
2623
2408
  include Google::Apis::Core::Hashable
@@ -2929,82 +2714,6 @@ module Google
2929
2714
  end
2930
2715
  end
2931
2716
 
2932
- #
2933
- class LocationAssignment
2934
- include Google::Apis::Core::Hashable
2935
-
2936
- #
2937
- # Corresponds to the JSON property `location`
2938
- # @return [String]
2939
- attr_accessor :location
2940
-
2941
- #
2942
- # Corresponds to the JSON property `locationType`
2943
- # @return [String]
2944
- attr_accessor :location_type
2945
-
2946
- def initialize(**args)
2947
- update!(**args)
2948
- end
2949
-
2950
- # Update properties of this object
2951
- def update!(**args)
2952
- @location = args[:location] if args.key?(:location)
2953
- @location_type = args[:location_type] if args.key?(:location_type)
2954
- end
2955
- end
2956
-
2957
- #
2958
- class LocationData
2959
- include Google::Apis::Core::Hashable
2960
-
2961
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
2962
- # guide#data-metadata-placement-and-failure-domains
2963
- # Corresponds to the JSON property `blobstoreLocation`
2964
- # @return [Google::Apis::BackupdrV1::BlobstoreLocation]
2965
- attr_accessor :blobstore_location
2966
-
2967
- #
2968
- # Corresponds to the JSON property `childAssetLocation`
2969
- # @return [Google::Apis::BackupdrV1::CloudAssetComposition]
2970
- attr_accessor :child_asset_location
2971
-
2972
- #
2973
- # Corresponds to the JSON property `directLocation`
2974
- # @return [Google::Apis::BackupdrV1::DirectLocationAssignment]
2975
- attr_accessor :direct_location
2976
-
2977
- #
2978
- # Corresponds to the JSON property `gcpProjectProxy`
2979
- # @return [Google::Apis::BackupdrV1::TenantProjectProxy]
2980
- attr_accessor :gcp_project_proxy
2981
-
2982
- # Message describing that the location of the customer resource is tied to
2983
- # placer allocations
2984
- # Corresponds to the JSON property `placerLocation`
2985
- # @return [Google::Apis::BackupdrV1::PlacerLocation]
2986
- attr_accessor :placer_location
2987
-
2988
- #
2989
- # Corresponds to the JSON property `spannerLocation`
2990
- # @return [Google::Apis::BackupdrV1::SpannerLocation]
2991
- attr_accessor :spanner_location
2992
-
2993
- def initialize(**args)
2994
- update!(**args)
2995
- end
2996
-
2997
- # Update properties of this object
2998
- def update!(**args)
2999
- @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
3000
- @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
3001
- @direct_location = args[:direct_location] if args.key?(:direct_location)
3002
- @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
3003
- @placer_location = args[:placer_location] if args.key?(:placer_location)
3004
- @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
3005
- end
3006
- end
3007
-
3008
2717
  # ManagementServer describes a single BackupDR ManagementServer instance.
3009
2718
  class ManagementServer
3010
2719
  include Google::Apis::Core::Hashable
@@ -3049,8 +2758,9 @@ module Google
3049
2758
  # @return [String]
3050
2759
  attr_accessor :name
3051
2760
 
3052
- # Required. VPC networks to which the ManagementServer instance is connected.
3053
- # For this version, only a single network is supported.
2761
+ # Optional. VPC networks to which the ManagementServer instance is connected.
2762
+ # For this version, only a single network is supported. This field is optional
2763
+ # if MS is created without PSA
3054
2764
  # Corresponds to the JSON property `networks`
3055
2765
  # @return [Array<Google::Apis::BackupdrV1::NetworkConfig>]
3056
2766
  attr_accessor :networks
@@ -3492,27 +3202,6 @@ module Google
3492
3202
  end
3493
3203
  end
3494
3204
 
3495
- # Message describing that the location of the customer resource is tied to
3496
- # placer allocations
3497
- class PlacerLocation
3498
- include Google::Apis::Core::Hashable
3499
-
3500
- # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
3501
- # root/my-dir")
3502
- # Corresponds to the JSON property `placerConfig`
3503
- # @return [String]
3504
- attr_accessor :placer_config
3505
-
3506
- def initialize(**args)
3507
- update!(**args)
3508
- end
3509
-
3510
- # Update properties of this object
3511
- def update!(**args)
3512
- @placer_config = args[:placer_config] if args.key?(:placer_config)
3513
- end
3514
- end
3515
-
3516
3205
  # An Identity and Access Management (IAM) policy, which specifies access
3517
3206
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3518
3207
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -3608,33 +3297,6 @@ module Google
3608
3297
  end
3609
3298
  end
3610
3299
 
3611
- # To be used for specifying the intended distribution of regional compute.
3612
- # googleapis.com/InstanceGroupManager instances
3613
- class RegionalMigDistributionPolicy
3614
- include Google::Apis::Core::Hashable
3615
-
3616
- # The shape in which the group converges around distribution of resources.
3617
- # Instance of proto2 enum
3618
- # Corresponds to the JSON property `targetShape`
3619
- # @return [Fixnum]
3620
- attr_accessor :target_shape
3621
-
3622
- # Cloud zones used by regional MIG to create instances.
3623
- # Corresponds to the JSON property `zones`
3624
- # @return [Array<Google::Apis::BackupdrV1::ZoneConfiguration>]
3625
- attr_accessor :zones
3626
-
3627
- def initialize(**args)
3628
- update!(**args)
3629
- end
3630
-
3631
- # Update properties of this object
3632
- def update!(**args)
3633
- @target_shape = args[:target_shape] if args.key?(:target_shape)
3634
- @zones = args[:zones] if args.key?(:zones)
3635
- end
3636
- end
3637
-
3638
3300
  # Message for deleting a DataSource.
3639
3301
  class RemoveDataSourceRequest
3640
3302
  include Google::Apis::Core::Hashable
@@ -3663,31 +3325,6 @@ module Google
3663
3325
  end
3664
3326
  end
3665
3327
 
3666
- #
3667
- class RequirementOverride
3668
- include Google::Apis::Core::Hashable
3669
-
3670
- #
3671
- # Corresponds to the JSON property `ziOverride`
3672
- # @return [String]
3673
- attr_accessor :zi_override
3674
-
3675
- #
3676
- # Corresponds to the JSON property `zsOverride`
3677
- # @return [String]
3678
- attr_accessor :zs_override
3679
-
3680
- def initialize(**args)
3681
- update!(**args)
3682
- end
3683
-
3684
- # Update properties of this object
3685
- def update!(**args)
3686
- @zi_override = args[:zi_override] if args.key?(:zi_override)
3687
- @zs_override = args[:zs_override] if args.key?(:zs_override)
3688
- end
3689
- end
3690
-
3691
3328
  # Request message for restoring from a Backup.
3692
3329
  class RestoreBackupRequest
3693
3330
  include Google::Apis::Core::Hashable
@@ -4042,32 +3679,6 @@ module Google
4042
3679
  end
4043
3680
  end
4044
3681
 
4045
- #
4046
- class SpannerLocation
4047
- include Google::Apis::Core::Hashable
4048
-
4049
- # Set of backups used by the resource with name in the same format as what is
4050
- # available at http://table/spanner_automon.backup_metadata
4051
- # Corresponds to the JSON property `backupName`
4052
- # @return [Array<String>]
4053
- attr_accessor :backup_name
4054
-
4055
- # Set of databases used by the resource in format /span//
4056
- # Corresponds to the JSON property `dbName`
4057
- # @return [Array<String>]
4058
- attr_accessor :db_name
4059
-
4060
- def initialize(**args)
4061
- update!(**args)
4062
- end
4063
-
4064
- # Update properties of this object
4065
- def update!(**args)
4066
- @backup_name = args[:backup_name] if args.key?(:backup_name)
4067
- @db_name = args[:db_name] if args.key?(:db_name)
4068
- end
4069
- end
4070
-
4071
3682
  # `StandardSchedule` defines a schedule that run within the confines of a
4072
3683
  # defined window of days. We can define recurrence type for schedule as HOURLY,
4073
3684
  # DAILY, WEEKLY, MONTHLY or YEARLY.
@@ -4229,25 +3840,6 @@ module Google
4229
3840
  end
4230
3841
  end
4231
3842
 
4232
- #
4233
- class TenantProjectProxy
4234
- include Google::Apis::Core::Hashable
4235
-
4236
- #
4237
- # Corresponds to the JSON property `projectNumbers`
4238
- # @return [Array<String>]
4239
- attr_accessor :project_numbers
4240
-
4241
- def initialize(**args)
4242
- update!(**args)
4243
- end
4244
-
4245
- # Update properties of this object
4246
- def update!(**args)
4247
- @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
4248
- end
4249
- end
4250
-
4251
3843
  # Request message for `TestIamPermissions` method.
4252
3844
  class TestIamPermissionsRequest
4253
3845
  include Google::Apis::Core::Hashable
@@ -4398,25 +3990,6 @@ module Google
4398
3990
  @third_party_oauth2_client_id = args[:third_party_oauth2_client_id] if args.key?(:third_party_oauth2_client_id)
4399
3991
  end
4400
3992
  end
4401
-
4402
- #
4403
- class ZoneConfiguration
4404
- include Google::Apis::Core::Hashable
4405
-
4406
- #
4407
- # Corresponds to the JSON property `zone`
4408
- # @return [String]
4409
- attr_accessor :zone
4410
-
4411
- def initialize(**args)
4412
- update!(**args)
4413
- end
4414
-
4415
- # Update properties of this object
4416
- def update!(**args)
4417
- @zone = args[:zone] if args.key?(:zone)
4418
- end
4419
- end
4420
3993
  end
4421
3994
  end
4422
3995
  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.19.0"
19
+ GEM_VERSION = "0.21.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 = "20240920"
25
+ REVISION = "20241023"
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
 
@@ -340,12 +304,6 @@ module Google
340
304
  include Google::Apis::Core::JsonObjectSupport
341
305
  end
342
306
 
343
- class IsolationExpectations
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
307
  class ListBackupPlanAssociationsResponse
350
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
309
 
@@ -400,18 +358,6 @@ module Google
400
358
  include Google::Apis::Core::JsonObjectSupport
401
359
  end
402
360
 
403
- class LocationAssignment
404
- class Representation < Google::Apis::Core::JsonRepresentation; end
405
-
406
- include Google::Apis::Core::JsonObjectSupport
407
- end
408
-
409
- class LocationData
410
- class Representation < Google::Apis::Core::JsonRepresentation; end
411
-
412
- include Google::Apis::Core::JsonObjectSupport
413
- end
414
-
415
361
  class ManagementServer
416
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
363
 
@@ -466,36 +412,18 @@ module Google
466
412
  include Google::Apis::Core::JsonObjectSupport
467
413
  end
468
414
 
469
- class PlacerLocation
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
415
  class Policy
476
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
417
 
478
418
  include Google::Apis::Core::JsonObjectSupport
479
419
  end
480
420
 
481
- class RegionalMigDistributionPolicy
482
- class Representation < Google::Apis::Core::JsonRepresentation; end
483
-
484
- include Google::Apis::Core::JsonObjectSupport
485
- end
486
-
487
421
  class RemoveDataSourceRequest
488
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
423
 
490
424
  include Google::Apis::Core::JsonObjectSupport
491
425
  end
492
426
 
493
- class RequirementOverride
494
- class Representation < Google::Apis::Core::JsonRepresentation; end
495
-
496
- include Google::Apis::Core::JsonObjectSupport
497
- end
498
-
499
427
  class RestoreBackupRequest
500
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
429
 
@@ -556,12 +484,6 @@ module Google
556
484
  include Google::Apis::Core::JsonObjectSupport
557
485
  end
558
486
 
559
- class SpannerLocation
560
- class Representation < Google::Apis::Core::JsonRepresentation; end
561
-
562
- include Google::Apis::Core::JsonObjectSupport
563
- end
564
-
565
487
  class StandardSchedule
566
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
489
 
@@ -586,12 +508,6 @@ module Google
586
508
  include Google::Apis::Core::JsonObjectSupport
587
509
  end
588
510
 
589
- class TenantProjectProxy
590
- class Representation < Google::Apis::Core::JsonRepresentation; end
591
-
592
- include Google::Apis::Core::JsonObjectSupport
593
- end
594
-
595
511
  class TestIamPermissionsRequest
596
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
513
 
@@ -628,12 +544,6 @@ module Google
628
544
  include Google::Apis::Core::JsonObjectSupport
629
545
  end
630
546
 
631
- class ZoneConfiguration
632
- class Representation < Google::Apis::Core::JsonRepresentation; end
633
-
634
- include Google::Apis::Core::JsonObjectSupport
635
- end
636
-
637
547
  class AbandonBackupRequest
638
548
  # @private
639
549
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -690,21 +600,6 @@ module Google
690
600
  end
691
601
  end
692
602
 
693
- class AssetLocation
694
- # @private
695
- class Representation < Google::Apis::Core::JsonRepresentation
696
- property :ccfe_rms_path, as: 'ccfeRmsPath'
697
- property :expected, as: 'expected', class: Google::Apis::BackupdrV1::IsolationExpectations, decorator: Google::Apis::BackupdrV1::IsolationExpectations::Representation
698
-
699
- collection :extra_parameters, as: 'extraParameters', class: Google::Apis::BackupdrV1::ExtraParameter, decorator: Google::Apis::BackupdrV1::ExtraParameter::Representation
700
-
701
- collection :location_data, as: 'locationData', class: Google::Apis::BackupdrV1::LocationData, decorator: Google::Apis::BackupdrV1::LocationData::Representation
702
-
703
- collection :parent_asset, as: 'parentAsset', class: Google::Apis::BackupdrV1::CloudAsset, decorator: Google::Apis::BackupdrV1::CloudAsset::Representation
704
-
705
- end
706
- end
707
-
708
603
  class AttachedDisk
709
604
  # @private
710
605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -920,35 +815,12 @@ module Google
920
815
  end
921
816
  end
922
817
 
923
- class BlobstoreLocation
924
- # @private
925
- class Representation < Google::Apis::Core::JsonRepresentation
926
- collection :policy_id, as: 'policyId'
927
- end
928
- end
929
-
930
818
  class CancelOperationRequest
931
819
  # @private
932
820
  class Representation < Google::Apis::Core::JsonRepresentation
933
821
  end
934
822
  end
935
823
 
936
- class CloudAsset
937
- # @private
938
- class Representation < Google::Apis::Core::JsonRepresentation
939
- property :asset_name, as: 'assetName'
940
- property :asset_type, as: 'assetType'
941
- end
942
- end
943
-
944
- class CloudAssetComposition
945
- # @private
946
- class Representation < Google::Apis::Core::JsonRepresentation
947
- collection :child_asset, as: 'childAsset', class: Google::Apis::BackupdrV1::CloudAsset, decorator: Google::Apis::BackupdrV1::CloudAsset::Representation
948
-
949
- end
950
- end
951
-
952
824
  class ComputeInstanceBackupProperties
953
825
  # @private
954
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1102,14 +974,6 @@ module Google
1102
974
  end
1103
975
  end
1104
976
 
1105
- class DirectLocationAssignment
1106
- # @private
1107
- class Representation < Google::Apis::Core::JsonRepresentation
1108
- collection :location, as: 'location', class: Google::Apis::BackupdrV1::LocationAssignment, decorator: Google::Apis::BackupdrV1::LocationAssignment::Representation
1109
-
1110
- end
1111
- end
1112
-
1113
977
  class DisplayDevice
1114
978
  # @private
1115
979
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1141,14 +1005,6 @@ module Google
1141
1005
  end
1142
1006
  end
1143
1007
 
1144
- class ExtraParameter
1145
- # @private
1146
- class Representation < Google::Apis::Core::JsonRepresentation
1147
- property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::BackupdrV1::RegionalMigDistributionPolicy, decorator: Google::Apis::BackupdrV1::RegionalMigDistributionPolicy::Representation
1148
-
1149
- end
1150
- end
1151
-
1152
1008
  class FetchAccessTokenRequest
1153
1009
  # @private
1154
1010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1255,21 +1111,6 @@ module Google
1255
1111
  end
1256
1112
  end
1257
1113
 
1258
- class IsolationExpectations
1259
- # @private
1260
- class Representation < Google::Apis::Core::JsonRepresentation
1261
- property :requirement_override, as: 'requirementOverride', class: Google::Apis::BackupdrV1::RequirementOverride, decorator: Google::Apis::BackupdrV1::RequirementOverride::Representation
1262
-
1263
- property :zi_org_policy, as: 'ziOrgPolicy'
1264
- property :zi_region_policy, as: 'ziRegionPolicy'
1265
- property :zi_region_state, as: 'ziRegionState'
1266
- property :zone_isolation, as: 'zoneIsolation'
1267
- property :zone_separation, as: 'zoneSeparation'
1268
- property :zs_org_policy, as: 'zsOrgPolicy'
1269
- property :zs_region_state, as: 'zsRegionState'
1270
- end
1271
- end
1272
-
1273
1114
  class ListBackupPlanAssociationsResponse
1274
1115
  # @private
1275
1116
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1359,32 +1200,6 @@ module Google
1359
1200
  end
1360
1201
  end
1361
1202
 
1362
- class LocationAssignment
1363
- # @private
1364
- class Representation < Google::Apis::Core::JsonRepresentation
1365
- property :location, as: 'location'
1366
- property :location_type, as: 'locationType'
1367
- end
1368
- end
1369
-
1370
- class LocationData
1371
- # @private
1372
- class Representation < Google::Apis::Core::JsonRepresentation
1373
- property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::BackupdrV1::BlobstoreLocation, decorator: Google::Apis::BackupdrV1::BlobstoreLocation::Representation
1374
-
1375
- property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::BackupdrV1::CloudAssetComposition, decorator: Google::Apis::BackupdrV1::CloudAssetComposition::Representation
1376
-
1377
- property :direct_location, as: 'directLocation', class: Google::Apis::BackupdrV1::DirectLocationAssignment, decorator: Google::Apis::BackupdrV1::DirectLocationAssignment::Representation
1378
-
1379
- property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::BackupdrV1::TenantProjectProxy, decorator: Google::Apis::BackupdrV1::TenantProjectProxy::Representation
1380
-
1381
- property :placer_location, as: 'placerLocation', class: Google::Apis::BackupdrV1::PlacerLocation, decorator: Google::Apis::BackupdrV1::PlacerLocation::Representation
1382
-
1383
- property :spanner_location, as: 'spannerLocation', class: Google::Apis::BackupdrV1::SpannerLocation, decorator: Google::Apis::BackupdrV1::SpannerLocation::Representation
1384
-
1385
- end
1386
- end
1387
-
1388
1203
  class ManagementServer
1389
1204
  # @private
1390
1205
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1500,13 +1315,6 @@ module Google
1500
1315
  end
1501
1316
  end
1502
1317
 
1503
- class PlacerLocation
1504
- # @private
1505
- class Representation < Google::Apis::Core::JsonRepresentation
1506
- property :placer_config, as: 'placerConfig'
1507
- end
1508
- end
1509
-
1510
1318
  class Policy
1511
1319
  # @private
1512
1320
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1519,15 +1327,6 @@ module Google
1519
1327
  end
1520
1328
  end
1521
1329
 
1522
- class RegionalMigDistributionPolicy
1523
- # @private
1524
- class Representation < Google::Apis::Core::JsonRepresentation
1525
- property :target_shape, as: 'targetShape'
1526
- collection :zones, as: 'zones', class: Google::Apis::BackupdrV1::ZoneConfiguration, decorator: Google::Apis::BackupdrV1::ZoneConfiguration::Representation
1527
-
1528
- end
1529
- end
1530
-
1531
1330
  class RemoveDataSourceRequest
1532
1331
  # @private
1533
1332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1535,14 +1334,6 @@ module Google
1535
1334
  end
1536
1335
  end
1537
1336
 
1538
- class RequirementOverride
1539
- # @private
1540
- class Representation < Google::Apis::Core::JsonRepresentation
1541
- property :zi_override, as: 'ziOverride'
1542
- property :zs_override, as: 'zsOverride'
1543
- end
1544
- end
1545
-
1546
1337
  class RestoreBackupRequest
1547
1338
  # @private
1548
1339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1636,14 +1427,6 @@ module Google
1636
1427
  end
1637
1428
  end
1638
1429
 
1639
- class SpannerLocation
1640
- # @private
1641
- class Representation < Google::Apis::Core::JsonRepresentation
1642
- collection :backup_name, as: 'backupName'
1643
- collection :db_name, as: 'dbName'
1644
- end
1645
- end
1646
-
1647
1430
  class StandardSchedule
1648
1431
  # @private
1649
1432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1684,13 +1467,6 @@ module Google
1684
1467
  end
1685
1468
  end
1686
1469
 
1687
- class TenantProjectProxy
1688
- # @private
1689
- class Representation < Google::Apis::Core::JsonRepresentation
1690
- collection :project_numbers, as: 'projectNumbers'
1691
- end
1692
- end
1693
-
1694
1470
  class TestIamPermissionsRequest
1695
1471
  # @private
1696
1472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1736,13 +1512,6 @@ module Google
1736
1512
  property :third_party_oauth2_client_id, as: 'thirdPartyOauth2ClientId'
1737
1513
  end
1738
1514
  end
1739
-
1740
- class ZoneConfiguration
1741
- # @private
1742
- class Representation < Google::Apis::Core::JsonRepresentation
1743
- property :zone, as: 'zone'
1744
- end
1745
- end
1746
1515
  end
1747
1516
  end
1748
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.19.0
4
+ version: 0.21.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-10-06 00:00:00.000000000 Z
11
+ date: 2024-11-03 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.21.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