google-apis-backupdr_v1 0.23.0 → 0.24.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: 6962aab514748f9aceacf43f1810ce2029559004b88d9791a4f4975dda918356
4
- data.tar.gz: 4398da4e63a8425e4c2a008bbe19a4e44536dc68cdc38f5b77979ca500232a8d
3
+ metadata.gz: 1924c4299bc8573f9fa95e06c28ef5db7d8c64f10805c1cd283e66ea004921e5
4
+ data.tar.gz: 9913e501bf33de62c886938292f5723f92187e6c133b05e59ecfb6f8b9347b1f
5
5
  SHA512:
6
- metadata.gz: 176cce93f614ffae4b3ba1aa0781b98b73aacb52d884f73ea44bef66b0978c544db4c4f158137ec3d17469c4d7b529f6fcb6ee5aaac6203c91b62e458bd801e5
7
- data.tar.gz: 589ea07735a804fd04812636f62b15d919d325a0b0cc17c7a92190879237ea0ea96d2dc6cd8574a820229c65a38d22755b848d1f6b641ac00a384b30fad54152
6
+ metadata.gz: 50f6f0160a89bfd17b318ecb7dd592d5fd228ad7fd837c4e49358c3fd7d4d83fba6beac3aee4c30a73da3087261f53eb074c5e940ddf53cc54da56fb05e4ca1c
7
+ data.tar.gz: dac903ebe221bfe9a33e3f48dde2867abf17f120e0a1433f67a49a1bafc6570741f122dff6befb4916cbad5760a4248646b023a32b128079dc6d54f8f2ce7499
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.24.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250205
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.23.0 (2024-12-15)
4
9
 
5
10
  * Regenerated from discovery document revision 20241204
@@ -727,6 +727,98 @@ module Google
727
727
  end
728
728
  end
729
729
 
730
+ # BackupConfigDetails has information about how the resource is configured for
731
+ # backups and about the most recent backup taken for this configuration.
732
+ class BackupConfigDetails
733
+ include Google::Apis::Core::Hashable
734
+
735
+ # Output only. The [full resource name](https://cloud.google.com/asset-inventory/
736
+ # docs/resource-name-format) of the resource that is applicable for the backup
737
+ # configuration. Example: "//compute.googleapis.com/projects/`project`/zones/`
738
+ # zone`/instances/`instance`"
739
+ # Corresponds to the JSON property `applicableResource`
740
+ # @return [String]
741
+ attr_accessor :applicable_resource
742
+
743
+ # Output only. The full resource name of the backup config source resource. For
744
+ # example, "//backupdr.googleapis.com/v1/projects/`project`/locations/`region`/
745
+ # backupPlans/`backupplanId`" or "//compute.googleapis.com/projects/`project`/
746
+ # locations/`region`/resourcePolicies/`resourcePolicyId`".
747
+ # Corresponds to the JSON property `backupConfigSource`
748
+ # @return [String]
749
+ attr_accessor :backup_config_source
750
+
751
+ # Output only. The display name of the backup config source resource.
752
+ # Corresponds to the JSON property `backupConfigSourceDisplayName`
753
+ # @return [String]
754
+ attr_accessor :backup_config_source_display_name
755
+
756
+ # BackupDrPlanConfig has additional information about Backup and DR's Plan
757
+ # backup configuration.
758
+ # Corresponds to the JSON property `backupDrPlanConfig`
759
+ # @return [Google::Apis::BackupdrV1::BackupDrPlanConfig]
760
+ attr_accessor :backup_dr_plan_config
761
+
762
+ # BackupDrTemplateConfig has additional information about Backup and DR's
763
+ # Template backup configuration.
764
+ # Corresponds to the JSON property `backupDrTemplateConfig`
765
+ # @return [Google::Apis::BackupdrV1::BackupDrTemplateConfig]
766
+ attr_accessor :backup_dr_template_config
767
+
768
+ # The locations where the backups are to be stored.
769
+ # Corresponds to the JSON property `backupLocations`
770
+ # @return [Array<Google::Apis::BackupdrV1::BackupLocation>]
771
+ attr_accessor :backup_locations
772
+
773
+ # Output only. The [full resource name](https://cloud.google.com/asset-inventory/
774
+ # docs/resource-name-format) of the backup vault that will store the backups
775
+ # generated through this backup configuration. Example: "//backupdr.googleapis.
776
+ # com/v1/projects/`project`/locations/`region`/backupVaults/`backupvaultId`"
777
+ # Corresponds to the JSON property `backupVault`
778
+ # @return [String]
779
+ attr_accessor :backup_vault
780
+
781
+ # Output only. Timestamp of the latest successful backup created via this backup
782
+ # configuration.
783
+ # Corresponds to the JSON property `latestSuccessfulBackupTime`
784
+ # @return [String]
785
+ attr_accessor :latest_successful_backup_time
786
+
787
+ # Point in time recovery settings of the backup configuration resource.
788
+ # Corresponds to the JSON property `pitrSettings`
789
+ # @return [Google::Apis::BackupdrV1::PitrSettings]
790
+ attr_accessor :pitr_settings
791
+
792
+ # Output only. The state of the backup config resource.
793
+ # Corresponds to the JSON property `state`
794
+ # @return [String]
795
+ attr_accessor :state
796
+
797
+ # Output only. The type of the backup config resource.
798
+ # Corresponds to the JSON property `type`
799
+ # @return [String]
800
+ attr_accessor :type
801
+
802
+ def initialize(**args)
803
+ update!(**args)
804
+ end
805
+
806
+ # Update properties of this object
807
+ def update!(**args)
808
+ @applicable_resource = args[:applicable_resource] if args.key?(:applicable_resource)
809
+ @backup_config_source = args[:backup_config_source] if args.key?(:backup_config_source)
810
+ @backup_config_source_display_name = args[:backup_config_source_display_name] if args.key?(:backup_config_source_display_name)
811
+ @backup_dr_plan_config = args[:backup_dr_plan_config] if args.key?(:backup_dr_plan_config)
812
+ @backup_dr_template_config = args[:backup_dr_template_config] if args.key?(:backup_dr_template_config)
813
+ @backup_locations = args[:backup_locations] if args.key?(:backup_locations)
814
+ @backup_vault = args[:backup_vault] if args.key?(:backup_vault)
815
+ @latest_successful_backup_time = args[:latest_successful_backup_time] if args.key?(:latest_successful_backup_time)
816
+ @pitr_settings = args[:pitr_settings] if args.key?(:pitr_settings)
817
+ @state = args[:state] if args.key?(:state)
818
+ @type = args[:type] if args.key?(:type)
819
+ end
820
+ end
821
+
730
822
  # BackupConfigInfo has information about how the resource is configured for
731
823
  # Backup and about the most recent backup to this vault.
732
824
  class BackupConfigInfo
@@ -780,6 +872,105 @@ module Google
780
872
  end
781
873
  end
782
874
 
875
+ # BackupDrPlanConfig has additional information about Backup and DR's Plan
876
+ # backup configuration.
877
+ class BackupDrPlanConfig
878
+ include Google::Apis::Core::Hashable
879
+
880
+ # Backup rules of the backup plan resource.
881
+ # Corresponds to the JSON property `backupDrPlanRules`
882
+ # @return [Array<Google::Apis::BackupdrV1::BackupDrPlanRule>]
883
+ attr_accessor :backup_dr_plan_rules
884
+
885
+ def initialize(**args)
886
+ update!(**args)
887
+ end
888
+
889
+ # Update properties of this object
890
+ def update!(**args)
891
+ @backup_dr_plan_rules = args[:backup_dr_plan_rules] if args.key?(:backup_dr_plan_rules)
892
+ end
893
+ end
894
+
895
+ # BackupDrPlanRule has rule specific information of the backup plan resource.
896
+ class BackupDrPlanRule
897
+ include Google::Apis::Core::Hashable
898
+
899
+ # Output only. Timestamp of the latest successful backup created via this backup
900
+ # rule.
901
+ # Corresponds to the JSON property `lastSuccessfulBackupTime`
902
+ # @return [String]
903
+ attr_accessor :last_successful_backup_time
904
+
905
+ # Output only. Unique Id of the backup rule.
906
+ # Corresponds to the JSON property `ruleId`
907
+ # @return [String]
908
+ attr_accessor :rule_id
909
+
910
+ def initialize(**args)
911
+ update!(**args)
912
+ end
913
+
914
+ # Update properties of this object
915
+ def update!(**args)
916
+ @last_successful_backup_time = args[:last_successful_backup_time] if args.key?(:last_successful_backup_time)
917
+ @rule_id = args[:rule_id] if args.key?(:rule_id)
918
+ end
919
+ end
920
+
921
+ # BackupDrTemplateConfig has additional information about Backup and DR's
922
+ # Template backup configuration.
923
+ class BackupDrTemplateConfig
924
+ include Google::Apis::Core::Hashable
925
+
926
+ # Output only. The URI of the BackupDr template resource for the first party
927
+ # identity users.
928
+ # Corresponds to the JSON property `firstPartyManagementUri`
929
+ # @return [String]
930
+ attr_accessor :first_party_management_uri
931
+
932
+ # Output only. The URI of the BackupDr template resource for the third party
933
+ # identity users.
934
+ # Corresponds to the JSON property `thirdPartyManagementUri`
935
+ # @return [String]
936
+ attr_accessor :third_party_management_uri
937
+
938
+ def initialize(**args)
939
+ update!(**args)
940
+ end
941
+
942
+ # Update properties of this object
943
+ def update!(**args)
944
+ @first_party_management_uri = args[:first_party_management_uri] if args.key?(:first_party_management_uri)
945
+ @third_party_management_uri = args[:third_party_management_uri] if args.key?(:third_party_management_uri)
946
+ end
947
+ end
948
+
949
+ # BackupLocation represents a cloud location where a backup can be stored.
950
+ class BackupLocation
951
+ include Google::Apis::Core::Hashable
952
+
953
+ # Output only. The id of the cloud location. Example: "us-central1"
954
+ # Corresponds to the JSON property `locationId`
955
+ # @return [String]
956
+ attr_accessor :location_id
957
+
958
+ # Output only. The type of the location.
959
+ # Corresponds to the JSON property `type`
960
+ # @return [String]
961
+ attr_accessor :type
962
+
963
+ def initialize(**args)
964
+ update!(**args)
965
+ end
966
+
967
+ # Update properties of this object
968
+ def update!(**args)
969
+ @location_id = args[:location_id] if args.key?(:location_id)
970
+ @type = args[:type] if args.key?(:type)
971
+ end
972
+ end
973
+
783
974
  # BackupLock represents a single lock on a Backup resource. An unexpired lock on
784
975
  # a Backup prevents the Backup from being deleted.
785
976
  class BackupLock
@@ -874,9 +1065,7 @@ module Google
874
1065
  # @return [String]
875
1066
  attr_accessor :name
876
1067
 
877
- # Required. The resource type to which the `BackupPlan` will be applied.
878
- # Examples include, "compute.googleapis.com/Instance", "sqladmin.googleapis.com/
879
- # Instance", or "alloydb.googleapis.com/Cluster".
1068
+ # Required.
880
1069
  # Corresponds to the JSON property `resourceType`
881
1070
  # @return [String]
882
1071
  attr_accessor :resource_type
@@ -946,7 +1135,7 @@ module Google
946
1135
  # @return [String]
947
1136
  attr_accessor :resource
948
1137
 
949
- # Required. Immutable. Resource type of workload on which backupplan is applied
1138
+ # Required. Immutable.
950
1139
  # Corresponds to the JSON property `resourceType`
951
1140
  # @return [String]
952
1141
  attr_accessor :resource_type
@@ -2720,6 +2909,31 @@ module Google
2720
2909
  end
2721
2910
  end
2722
2911
 
2912
+ # Response for ListResourceBackupConfigs.
2913
+ class ListResourceBackupConfigsResponse
2914
+ include Google::Apis::Core::Hashable
2915
+
2916
+ # A token identifying a page of results the server should return.
2917
+ # Corresponds to the JSON property `nextPageToken`
2918
+ # @return [String]
2919
+ attr_accessor :next_page_token
2920
+
2921
+ # The list of ResourceBackupConfigs for the specified scope.
2922
+ # Corresponds to the JSON property `resourceBackupConfigs`
2923
+ # @return [Array<Google::Apis::BackupdrV1::ResourceBackupConfig>]
2924
+ attr_accessor :resource_backup_configs
2925
+
2926
+ def initialize(**args)
2927
+ update!(**args)
2928
+ end
2929
+
2930
+ # Update properties of this object
2931
+ def update!(**args)
2932
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2933
+ @resource_backup_configs = args[:resource_backup_configs] if args.key?(:resource_backup_configs)
2934
+ end
2935
+ end
2936
+
2723
2937
  # A resource that represents a Google Cloud location.
2724
2938
  class Location
2725
2939
  include Google::Apis::Core::Hashable
@@ -3255,6 +3469,25 @@ module Google
3255
3469
  end
3256
3470
  end
3257
3471
 
3472
+ # Point in time recovery settings of the backup configuration resource.
3473
+ class PitrSettings
3474
+ include Google::Apis::Core::Hashable
3475
+
3476
+ # Output only. Number of days to retain the backup.
3477
+ # Corresponds to the JSON property `retentionDays`
3478
+ # @return [Fixnum]
3479
+ attr_accessor :retention_days
3480
+
3481
+ def initialize(**args)
3482
+ update!(**args)
3483
+ end
3484
+
3485
+ # Update properties of this object
3486
+ def update!(**args)
3487
+ @retention_days = args[:retention_days] if args.key?(:retention_days)
3488
+ end
3489
+ end
3490
+
3258
3491
  # An Identity and Access Management (IAM) policy, which specifies access
3259
3492
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3260
3493
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -3378,6 +3611,86 @@ module Google
3378
3611
  end
3379
3612
  end
3380
3613
 
3614
+ # ResourceBackupConfig represents a resource along with its backup
3615
+ # configurations.
3616
+ class ResourceBackupConfig
3617
+ include Google::Apis::Core::Hashable
3618
+
3619
+ # Backup configurations applying to the target resource, including those
3620
+ # targeting its related/child resources. For example, backup configuration
3621
+ # applicable to Compute Engine disks will be populated in this field for a
3622
+ # Compute Engine VM which has the disk associated.
3623
+ # Corresponds to the JSON property `backupConfigsDetails`
3624
+ # @return [Array<Google::Apis::BackupdrV1::BackupConfigDetails>]
3625
+ attr_accessor :backup_configs_details
3626
+
3627
+ # Output only. Whether the target resource is configured for backup. This is
3628
+ # true if the backup_configs_details is not empty.
3629
+ # Corresponds to the JSON property `backupConfigured`
3630
+ # @return [Boolean]
3631
+ attr_accessor :backup_configured
3632
+ alias_method :backup_configured?, :backup_configured
3633
+
3634
+ # Identifier. The resource name of the ResourceBackupConfig. Format: projects/`
3635
+ # project`/locations/`location`/resourceBackupConfigs/`uid`
3636
+ # Corresponds to the JSON property `name`
3637
+ # @return [String]
3638
+ attr_accessor :name
3639
+
3640
+ # Output only. The [full resource name](https://cloud.google.com/asset-inventory/
3641
+ # docs/resource-name-format) of the cloud resource that this configuration
3642
+ # applies to. Supported resource types are ResourceBackupConfig.ResourceType.
3643
+ # Corresponds to the JSON property `targetResource`
3644
+ # @return [String]
3645
+ attr_accessor :target_resource
3646
+
3647
+ # Output only. The human friendly name of the target resource.
3648
+ # Corresponds to the JSON property `targetResourceDisplayName`
3649
+ # @return [String]
3650
+ attr_accessor :target_resource_display_name
3651
+
3652
+ # Labels associated with the target resource.
3653
+ # Corresponds to the JSON property `targetResourceLabels`
3654
+ # @return [Hash<String,String>]
3655
+ attr_accessor :target_resource_labels
3656
+
3657
+ # Output only. The type of the target resource.
3658
+ # Corresponds to the JSON property `targetResourceType`
3659
+ # @return [String]
3660
+ attr_accessor :target_resource_type
3661
+
3662
+ # Output only. The unique identifier of the resource backup config.
3663
+ # Corresponds to the JSON property `uid`
3664
+ # @return [String]
3665
+ attr_accessor :uid
3666
+
3667
+ # Output only. Whether the target resource is protected by a backup vault. This
3668
+ # is true if the backup_configs_details is not empty and any of the
3669
+ # ResourceBackupConfig.backup_configs_details has a backup configuration with
3670
+ # BackupConfigDetails.backup_vault set. set.
3671
+ # Corresponds to the JSON property `vaulted`
3672
+ # @return [Boolean]
3673
+ attr_accessor :vaulted
3674
+ alias_method :vaulted?, :vaulted
3675
+
3676
+ def initialize(**args)
3677
+ update!(**args)
3678
+ end
3679
+
3680
+ # Update properties of this object
3681
+ def update!(**args)
3682
+ @backup_configs_details = args[:backup_configs_details] if args.key?(:backup_configs_details)
3683
+ @backup_configured = args[:backup_configured] if args.key?(:backup_configured)
3684
+ @name = args[:name] if args.key?(:name)
3685
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
3686
+ @target_resource_display_name = args[:target_resource_display_name] if args.key?(:target_resource_display_name)
3687
+ @target_resource_labels = args[:target_resource_labels] if args.key?(:target_resource_labels)
3688
+ @target_resource_type = args[:target_resource_type] if args.key?(:target_resource_type)
3689
+ @uid = args[:uid] if args.key?(:uid)
3690
+ @vaulted = args[:vaulted] if args.key?(:vaulted)
3691
+ end
3692
+ end
3693
+
3381
3694
  # Request message for restoring from a Backup.
3382
3695
  class RestoreBackupRequest
3383
3696
  include Google::Apis::Core::Hashable
@@ -3762,7 +4075,7 @@ module Google
3762
4075
  # means jobs will run every 2 hours from start time till end time defined. This
3763
4076
  # is required for `recurrence_type`, `HOURLY` and is not applicable otherwise. A
3764
4077
  # validation error will occur if a value is supplied and `recurrence_type` is
3765
- # not `HOURLY`. Value of hourly frequency should be between 6 and 23. Reason for
4078
+ # not `HOURLY`. Value of hourly frequency should be between 4 and 23. Reason for
3766
4079
  # limit : We found that there is bandwidth limitation of 3GB/S for GMI while
3767
4080
  # taking a backup and 5GB/S while doing a restore. Given the amount of parallel
3768
4081
  # backups and restore we are targeting, this will potentially take the backup
@@ -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.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241204"
25
+ REVISION = "20250205"
26
26
  end
27
27
  end
28
28
  end
@@ -100,12 +100,42 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class BackupConfigDetails
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class BackupConfigInfo
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
115
+ class BackupDrPlanConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class BackupDrPlanRule
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class BackupDrTemplateConfig
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class BackupLocation
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
109
139
  class BackupLock
110
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
141
 
@@ -358,6 +388,12 @@ module Google
358
388
  include Google::Apis::Core::JsonObjectSupport
359
389
  end
360
390
 
391
+ class ListResourceBackupConfigsResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
361
397
  class Location
362
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
399
 
@@ -418,6 +454,12 @@ module Google
418
454
  include Google::Apis::Core::JsonObjectSupport
419
455
  end
420
456
 
457
+ class PitrSettings
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
421
463
  class Policy
422
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
465
 
@@ -430,6 +472,12 @@ module Google
430
472
  include Google::Apis::Core::JsonObjectSupport
431
473
  end
432
474
 
475
+ class ResourceBackupConfig
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
433
481
  class RestoreBackupRequest
434
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
483
 
@@ -714,6 +762,27 @@ module Google
714
762
  end
715
763
  end
716
764
 
765
+ class BackupConfigDetails
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :applicable_resource, as: 'applicableResource'
769
+ property :backup_config_source, as: 'backupConfigSource'
770
+ property :backup_config_source_display_name, as: 'backupConfigSourceDisplayName'
771
+ property :backup_dr_plan_config, as: 'backupDrPlanConfig', class: Google::Apis::BackupdrV1::BackupDrPlanConfig, decorator: Google::Apis::BackupdrV1::BackupDrPlanConfig::Representation
772
+
773
+ property :backup_dr_template_config, as: 'backupDrTemplateConfig', class: Google::Apis::BackupdrV1::BackupDrTemplateConfig, decorator: Google::Apis::BackupdrV1::BackupDrTemplateConfig::Representation
774
+
775
+ collection :backup_locations, as: 'backupLocations', class: Google::Apis::BackupdrV1::BackupLocation, decorator: Google::Apis::BackupdrV1::BackupLocation::Representation
776
+
777
+ property :backup_vault, as: 'backupVault'
778
+ property :latest_successful_backup_time, as: 'latestSuccessfulBackupTime'
779
+ property :pitr_settings, as: 'pitrSettings', class: Google::Apis::BackupdrV1::PitrSettings, decorator: Google::Apis::BackupdrV1::PitrSettings::Representation
780
+
781
+ property :state, as: 'state'
782
+ property :type, as: 'type'
783
+ end
784
+ end
785
+
717
786
  class BackupConfigInfo
718
787
  # @private
719
788
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -728,6 +797,38 @@ module Google
728
797
  end
729
798
  end
730
799
 
800
+ class BackupDrPlanConfig
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ collection :backup_dr_plan_rules, as: 'backupDrPlanRules', class: Google::Apis::BackupdrV1::BackupDrPlanRule, decorator: Google::Apis::BackupdrV1::BackupDrPlanRule::Representation
804
+
805
+ end
806
+ end
807
+
808
+ class BackupDrPlanRule
809
+ # @private
810
+ class Representation < Google::Apis::Core::JsonRepresentation
811
+ property :last_successful_backup_time, as: 'lastSuccessfulBackupTime'
812
+ property :rule_id, as: 'ruleId'
813
+ end
814
+ end
815
+
816
+ class BackupDrTemplateConfig
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :first_party_management_uri, as: 'firstPartyManagementUri'
820
+ property :third_party_management_uri, as: 'thirdPartyManagementUri'
821
+ end
822
+ end
823
+
824
+ class BackupLocation
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :location_id, as: 'locationId'
828
+ property :type, as: 'type'
829
+ end
830
+ end
831
+
731
832
  class BackupLock
732
833
  # @private
733
834
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1205,6 +1306,15 @@ module Google
1205
1306
  end
1206
1307
  end
1207
1308
 
1309
+ class ListResourceBackupConfigsResponse
1310
+ # @private
1311
+ class Representation < Google::Apis::Core::JsonRepresentation
1312
+ property :next_page_token, as: 'nextPageToken'
1313
+ collection :resource_backup_configs, as: 'resourceBackupConfigs', class: Google::Apis::BackupdrV1::ResourceBackupConfig, decorator: Google::Apis::BackupdrV1::ResourceBackupConfig::Representation
1314
+
1315
+ end
1316
+ end
1317
+
1208
1318
  class Location
1209
1319
  # @private
1210
1320
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1331,6 +1441,13 @@ module Google
1331
1441
  end
1332
1442
  end
1333
1443
 
1444
+ class PitrSettings
1445
+ # @private
1446
+ class Representation < Google::Apis::Core::JsonRepresentation
1447
+ property :retention_days, as: 'retentionDays'
1448
+ end
1449
+ end
1450
+
1334
1451
  class Policy
1335
1452
  # @private
1336
1453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1350,6 +1467,22 @@ module Google
1350
1467
  end
1351
1468
  end
1352
1469
 
1470
+ class ResourceBackupConfig
1471
+ # @private
1472
+ class Representation < Google::Apis::Core::JsonRepresentation
1473
+ collection :backup_configs_details, as: 'backupConfigsDetails', class: Google::Apis::BackupdrV1::BackupConfigDetails, decorator: Google::Apis::BackupdrV1::BackupConfigDetails::Representation
1474
+
1475
+ property :backup_configured, as: 'backupConfigured'
1476
+ property :name, as: 'name'
1477
+ property :target_resource, as: 'targetResource'
1478
+ property :target_resource_display_name, as: 'targetResourceDisplayName'
1479
+ hash :target_resource_labels, as: 'targetResourceLabels'
1480
+ property :target_resource_type, as: 'targetResourceType'
1481
+ property :uid, as: 'uid'
1482
+ property :vaulted, as: 'vaulted'
1483
+ end
1484
+ end
1485
+
1353
1486
  class RestoreBackupRequest
1354
1487
  # @private
1355
1488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1855,6 +1855,51 @@ module Google
1855
1855
  execute_or_queue_command(command, &block)
1856
1856
  end
1857
1857
 
1858
+ # Lists ResourceBackupConfigs.
1859
+ # @param [String] parent
1860
+ # Required. The project and location for which to retrieve resource backup
1861
+ # configs. Format: 'projects/`project_id`/locations/`location`'. In Cloud Backup
1862
+ # and DR, locations map to Google Cloud regions, for example **us-central1**.
1863
+ # @param [String] filter
1864
+ # Optional. Filtering results.
1865
+ # @param [String] order_by
1866
+ # Optional. Hint for how to order the results.
1867
+ # @param [Fixnum] page_size
1868
+ # Optional. Requested page size. Server may return fewer items than requested.
1869
+ # If unspecified, server will pick an appropriate default.
1870
+ # @param [String] page_token
1871
+ # Optional. A token identifying a page of results the server should return.
1872
+ # @param [String] fields
1873
+ # Selector specifying which fields to include in a partial response.
1874
+ # @param [String] quota_user
1875
+ # Available to use for quota purposes for server-side applications. Can be any
1876
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1877
+ # @param [Google::Apis::RequestOptions] options
1878
+ # Request-specific options
1879
+ #
1880
+ # @yield [result, err] Result & error if block supplied
1881
+ # @yieldparam result [Google::Apis::BackupdrV1::ListResourceBackupConfigsResponse] parsed result object
1882
+ # @yieldparam err [StandardError] error object if request failed
1883
+ #
1884
+ # @return [Google::Apis::BackupdrV1::ListResourceBackupConfigsResponse]
1885
+ #
1886
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1887
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1888
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1889
+ def list_project_location_resource_backup_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1890
+ command = make_simple_command(:get, 'v1/{+parent}/resourceBackupConfigs', options)
1891
+ command.response_representation = Google::Apis::BackupdrV1::ListResourceBackupConfigsResponse::Representation
1892
+ command.response_class = Google::Apis::BackupdrV1::ListResourceBackupConfigsResponse
1893
+ command.params['parent'] = parent unless parent.nil?
1894
+ command.query['filter'] = filter unless filter.nil?
1895
+ command.query['orderBy'] = order_by unless order_by.nil?
1896
+ command.query['pageSize'] = page_size unless page_size.nil?
1897
+ command.query['pageToken'] = page_token unless page_token.nil?
1898
+ command.query['fields'] = fields unless fields.nil?
1899
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1900
+ execute_or_queue_command(command, &block)
1901
+ end
1902
+
1858
1903
  # Initializes the service related config for a project.
1859
1904
  # @param [String] name
1860
1905
  # Required. The resource name of the serviceConfig used to initialize the
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-backupdr_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.23.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.24.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Backup and DR Service API V1
82
79
  test_files: []