google-apis-backupdr_v1 0.51.0 → 0.53.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: 2e56bae4a27120f7c4a72d80a2c3d3c732715b082e9e205590eb224eb12cc2a0
4
- data.tar.gz: 3d99484d2e98759ada81bbf56be5acc166449966e29aaa48b042dc67a0360daa
3
+ metadata.gz: fdf571920e1dcc1fb2231c1a189702576d45d2c403d9f2493ca8b3f05ceb202a
4
+ data.tar.gz: 4dadc77aa8ee1035b9a5f9d19b653813b8af13fdc0115c3cf6429d4ea79ca091
5
5
  SHA512:
6
- metadata.gz: e4a3dcd17cdd8f64be9fad1fc859226866fbc4b716bb2dfc204616f7fdaf94be374887fbe45c808b5d73bf920819f5778fd3872de7a7bab657965a408015d049
7
- data.tar.gz: 11dd42257186b36dbf5573440ab5a85badd79996cc00f646d5f2435925ab5138fa53d1531026c9735897a9e42814a18458761e45c1f80e4fef1154e5895b4c91
6
+ metadata.gz: f0550b11c052c2ded710b1fa75fe9115efa270535b85cbd6d7913d7d0b0917b9699b46aa6df3bcfbb1af036da89973ef49f07a5a3e058a8b3923032308ba19c3
7
+ data.tar.gz: '0170842b8242d16337cdd8b1a162c555ba2158ed14f7ef926408c38880396a076ff07df25a6b5a696fde5a15b8f78700a5868b12a3e94ff4c3e21afccb84cb11'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.53.0 (2026-03-15)
4
+
5
+ * Regenerated from discovery document revision 20260309
6
+
7
+ ### v0.52.0 (2026-03-08)
8
+
9
+ * Regenerated from discovery document revision 20260227
10
+
3
11
  ### v0.51.0 (2026-02-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20260128
@@ -1261,6 +1261,11 @@ module Google
1261
1261
  # @return [String]
1262
1262
  attr_accessor :description
1263
1263
 
1264
+ # --- DiskBackupPlanProperties Message ---
1265
+ # Corresponds to the JSON property `diskBackupPlanProperties`
1266
+ # @return [Google::Apis::BackupdrV1::DiskBackupPlanProperties]
1267
+ attr_accessor :disk_backup_plan_properties
1268
+
1264
1269
  # Optional. `etag` is returned from the service in the response. As a user of
1265
1270
  # the service, you may provide an etag value in this field to prevent stale
1266
1271
  # resources.
@@ -1340,6 +1345,7 @@ module Google
1340
1345
  @backup_vault_service_account = args[:backup_vault_service_account] if args.key?(:backup_vault_service_account)
1341
1346
  @create_time = args[:create_time] if args.key?(:create_time)
1342
1347
  @description = args[:description] if args.key?(:description)
1348
+ @disk_backup_plan_properties = args[:disk_backup_plan_properties] if args.key?(:disk_backup_plan_properties)
1343
1349
  @etag = args[:etag] if args.key?(:etag)
1344
1350
  @labels = args[:labels] if args.key?(:labels)
1345
1351
  @log_retention_days = args[:log_retention_days] if args.key?(:log_retention_days)
@@ -2798,6 +2804,28 @@ module Google
2798
2804
  end
2799
2805
  end
2800
2806
 
2807
+ # --- DiskBackupPlanProperties Message ---
2808
+ class DiskBackupPlanProperties
2809
+ include Google::Apis::Core::Hashable
2810
+
2811
+ # Optional. Indicates whether to perform a guest flush operation before taking a
2812
+ # disk backup. When set to false, the system will create crash-consistent
2813
+ # backups. Default value is false.
2814
+ # Corresponds to the JSON property `guestFlush`
2815
+ # @return [Boolean]
2816
+ attr_accessor :guest_flush
2817
+ alias_method :guest_flush?, :guest_flush
2818
+
2819
+ def initialize(**args)
2820
+ update!(**args)
2821
+ end
2822
+
2823
+ # Update properties of this object
2824
+ def update!(**args)
2825
+ @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
2826
+ end
2827
+ end
2828
+
2801
2829
  # DiskBackupProperties represents the properties of a Disk backup.
2802
2830
  class DiskBackupProperties
2803
2831
  include Google::Apis::Core::Hashable
@@ -2823,6 +2851,13 @@ module Google
2823
2851
  attr_accessor :enable_confidential_compute
2824
2852
  alias_method :enable_confidential_compute?, :enable_confidential_compute
2825
2853
 
2854
+ # Optional. Defines if the guest flush is enabled for the source disk. Default
2855
+ # value is false.
2856
+ # Corresponds to the JSON property `guestFlush`
2857
+ # @return [Boolean]
2858
+ attr_accessor :guest_flush
2859
+ alias_method :guest_flush?, :guest_flush
2860
+
2826
2861
  # A list of guest OS features that are applicable to this backup.
2827
2862
  # Corresponds to the JSON property `guestOsFeature`
2828
2863
  # @return [Array<Google::Apis::BackupdrV1::GuestOsFeature>]
@@ -2900,6 +2935,7 @@ module Google
2900
2935
  @architecture = args[:architecture] if args.key?(:architecture)
2901
2936
  @description = args[:description] if args.key?(:description)
2902
2937
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
2938
+ @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
2903
2939
  @guest_os_feature = args[:guest_os_feature] if args.key?(:guest_os_feature)
2904
2940
  @labels = args[:labels] if args.key?(:labels)
2905
2941
  @licenses = args[:licenses] if args.key?(:licenses)
@@ -3692,6 +3728,72 @@ module Google
3692
3728
  end
3693
3729
  end
3694
3730
 
3731
+ # Represents the metadata of the long-running operation.
3732
+ class GoogleCloudBackupdrV1OperationMetadata
3733
+ include Google::Apis::Core::Hashable
3734
+
3735
+ # Output only. AdditionalInfo contains additional Info related to backup plan
3736
+ # association resource.
3737
+ # Corresponds to the JSON property `additionalInfo`
3738
+ # @return [Hash<String,String>]
3739
+ attr_accessor :additional_info
3740
+
3741
+ # Output only. API version used to start the operation.
3742
+ # Corresponds to the JSON property `apiVersion`
3743
+ # @return [String]
3744
+ attr_accessor :api_version
3745
+
3746
+ # Output only. The time the operation was created.
3747
+ # Corresponds to the JSON property `createTime`
3748
+ # @return [String]
3749
+ attr_accessor :create_time
3750
+
3751
+ # Output only. The time the operation finished running.
3752
+ # Corresponds to the JSON property `endTime`
3753
+ # @return [String]
3754
+ attr_accessor :end_time
3755
+
3756
+ # Output only. Identifies whether the user has requested cancellation of the
3757
+ # operation. Operations that have successfully been cancelled have google.
3758
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
3759
+ # corresponding to 'Code.CANCELLED'.
3760
+ # Corresponds to the JSON property `requestedCancellation`
3761
+ # @return [Boolean]
3762
+ attr_accessor :requested_cancellation
3763
+ alias_method :requested_cancellation?, :requested_cancellation
3764
+
3765
+ # Output only. Human-readable status of the operation, if any.
3766
+ # Corresponds to the JSON property `statusMessage`
3767
+ # @return [String]
3768
+ attr_accessor :status_message
3769
+
3770
+ # Output only. Server-defined resource path for the target of the operation.
3771
+ # Corresponds to the JSON property `target`
3772
+ # @return [String]
3773
+ attr_accessor :target
3774
+
3775
+ # Output only. Name of the verb executed by the operation.
3776
+ # Corresponds to the JSON property `verb`
3777
+ # @return [String]
3778
+ attr_accessor :verb
3779
+
3780
+ def initialize(**args)
3781
+ update!(**args)
3782
+ end
3783
+
3784
+ # Update properties of this object
3785
+ def update!(**args)
3786
+ @additional_info = args[:additional_info] if args.key?(:additional_info)
3787
+ @api_version = args[:api_version] if args.key?(:api_version)
3788
+ @create_time = args[:create_time] if args.key?(:create_time)
3789
+ @end_time = args[:end_time] if args.key?(:end_time)
3790
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
3791
+ @status_message = args[:status_message] if args.key?(:status_message)
3792
+ @target = args[:target] if args.key?(:target)
3793
+ @verb = args[:verb] if args.key?(:verb)
3794
+ end
3795
+ end
3796
+
3695
3797
  # Feature type of the Guest OS.
3696
3798
  class GuestOsFeature
3697
3799
  include Google::Apis::Core::Hashable
@@ -3742,6 +3844,16 @@ module Google
3742
3844
  class InitializeServiceRequest
3743
3845
  include Google::Apis::Core::Hashable
3744
3846
 
3847
+ # Optional. The location where the BackupPlan will be created. This field is
3848
+ # required for multi-region BackupVaults and is optional for regional
3849
+ # BackupVaults. It is useful when creating a Backup Vault in a multi-region,
3850
+ # allowing the BackupPlan to reside in a specific region within that multi-
3851
+ # region. If this field is not provided, the BackupPlan will be created in the
3852
+ # same location as specified in the `name` field.
3853
+ # Corresponds to the JSON property `backupPlanLocation`
3854
+ # @return [String]
3855
+ attr_accessor :backup_plan_location
3856
+
3745
3857
  # CloudSqlInstanceInitializationConfig contains the configuration for
3746
3858
  # initializing a Cloud SQL instance.
3747
3859
  # Corresponds to the JSON property `cloudSqlInstanceInitializationConfig`
@@ -3775,6 +3887,7 @@ module Google
3775
3887
 
3776
3888
  # Update properties of this object
3777
3889
  def update!(**args)
3890
+ @backup_plan_location = args[:backup_plan_location] if args.key?(:backup_plan_location)
3778
3891
  @cloud_sql_instance_initialization_config = args[:cloud_sql_instance_initialization_config] if args.key?(:cloud_sql_instance_initialization_config)
3779
3892
  @request_id = args[:request_id] if args.key?(:request_id)
3780
3893
  @resource_type = args[:resource_type] if args.key?(:resource_type)
@@ -4283,7 +4396,7 @@ module Google
4283
4396
  class LocationMetadata
4284
4397
  include Google::Apis::Core::Hashable
4285
4398
 
4286
- #
4399
+ # List of features that are not supported in the location.
4287
4400
  # Corresponds to the JSON property `unsupportedFeatures`
4288
4401
  # @return [Array<String>]
4289
4402
  attr_accessor :unsupported_features
@@ -4720,72 +4833,6 @@ module Google
4720
4833
  end
4721
4834
  end
4722
4835
 
4723
- # Represents the metadata of the long-running operation.
4724
- class OperationMetadata
4725
- include Google::Apis::Core::Hashable
4726
-
4727
- # Output only. AdditionalInfo contains additional Info related to backup plan
4728
- # association resource.
4729
- # Corresponds to the JSON property `additionalInfo`
4730
- # @return [Hash<String,String>]
4731
- attr_accessor :additional_info
4732
-
4733
- # Output only. API version used to start the operation.
4734
- # Corresponds to the JSON property `apiVersion`
4735
- # @return [String]
4736
- attr_accessor :api_version
4737
-
4738
- # Output only. The time the operation was created.
4739
- # Corresponds to the JSON property `createTime`
4740
- # @return [String]
4741
- attr_accessor :create_time
4742
-
4743
- # Output only. The time the operation finished running.
4744
- # Corresponds to the JSON property `endTime`
4745
- # @return [String]
4746
- attr_accessor :end_time
4747
-
4748
- # Output only. Identifies whether the user has requested cancellation of the
4749
- # operation. Operations that have successfully been cancelled have google.
4750
- # longrunning.Operation.error value with a google.rpc.Status.code of 1,
4751
- # corresponding to 'Code.CANCELLED'.
4752
- # Corresponds to the JSON property `requestedCancellation`
4753
- # @return [Boolean]
4754
- attr_accessor :requested_cancellation
4755
- alias_method :requested_cancellation?, :requested_cancellation
4756
-
4757
- # Output only. Human-readable status of the operation, if any.
4758
- # Corresponds to the JSON property `statusMessage`
4759
- # @return [String]
4760
- attr_accessor :status_message
4761
-
4762
- # Output only. Server-defined resource path for the target of the operation.
4763
- # Corresponds to the JSON property `target`
4764
- # @return [String]
4765
- attr_accessor :target
4766
-
4767
- # Output only. Name of the verb executed by the operation.
4768
- # Corresponds to the JSON property `verb`
4769
- # @return [String]
4770
- attr_accessor :verb
4771
-
4772
- def initialize(**args)
4773
- update!(**args)
4774
- end
4775
-
4776
- # Update properties of this object
4777
- def update!(**args)
4778
- @additional_info = args[:additional_info] if args.key?(:additional_info)
4779
- @api_version = args[:api_version] if args.key?(:api_version)
4780
- @create_time = args[:create_time] if args.key?(:create_time)
4781
- @end_time = args[:end_time] if args.key?(:end_time)
4782
- @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
4783
- @status_message = args[:status_message] if args.key?(:status_message)
4784
- @target = args[:target] if args.key?(:target)
4785
- @verb = args[:verb] if args.key?(:verb)
4786
- end
4787
- end
4788
-
4789
4836
  # Point in time recovery settings of the backup configuration resource.
4790
4837
  class PitrSettings
4791
4838
  include Google::Apis::Core::Hashable
@@ -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.51.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260128"
25
+ REVISION = "20260309"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class DiskBackupPlanProperties
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class DiskBackupProperties
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -466,6 +472,12 @@ module Google
466
472
  include Google::Apis::Core::JsonObjectSupport
467
473
  end
468
474
 
475
+ class GoogleCloudBackupdrV1OperationMetadata
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class GuestOsFeature
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -628,12 +640,6 @@ module Google
628
640
  include Google::Apis::Core::JsonObjectSupport
629
641
  end
630
642
 
631
- class OperationMetadata
632
- class Representation < Google::Apis::Core::JsonRepresentation; end
633
-
634
- include Google::Apis::Core::JsonObjectSupport
635
- end
636
-
637
643
  class PitrSettings
638
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
645
 
@@ -1109,6 +1115,8 @@ module Google
1109
1115
  property :backup_vault_service_account, as: 'backupVaultServiceAccount'
1110
1116
  property :create_time, as: 'createTime'
1111
1117
  property :description, as: 'description'
1118
+ property :disk_backup_plan_properties, as: 'diskBackupPlanProperties', class: Google::Apis::BackupdrV1::DiskBackupPlanProperties, decorator: Google::Apis::BackupdrV1::DiskBackupPlanProperties::Representation
1119
+
1112
1120
  property :etag, as: 'etag'
1113
1121
  hash :labels, as: 'labels'
1114
1122
  property :log_retention_days, :numeric_string => true, as: 'logRetentionDays'
@@ -1461,6 +1469,13 @@ module Google
1461
1469
  end
1462
1470
  end
1463
1471
 
1472
+ class DiskBackupPlanProperties
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ property :guest_flush, as: 'guestFlush'
1476
+ end
1477
+ end
1478
+
1464
1479
  class DiskBackupProperties
1465
1480
  # @private
1466
1481
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1468,6 +1483,7 @@ module Google
1468
1483
  property :architecture, as: 'architecture'
1469
1484
  property :description, as: 'description'
1470
1485
  property :enable_confidential_compute, as: 'enableConfidentialCompute'
1486
+ property :guest_flush, as: 'guestFlush'
1471
1487
  collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
1472
1488
 
1473
1489
  hash :labels, as: 'labels'
@@ -1692,6 +1708,20 @@ module Google
1692
1708
  end
1693
1709
  end
1694
1710
 
1711
+ class GoogleCloudBackupdrV1OperationMetadata
1712
+ # @private
1713
+ class Representation < Google::Apis::Core::JsonRepresentation
1714
+ hash :additional_info, as: 'additionalInfo'
1715
+ property :api_version, as: 'apiVersion'
1716
+ property :create_time, as: 'createTime'
1717
+ property :end_time, as: 'endTime'
1718
+ property :requested_cancellation, as: 'requestedCancellation'
1719
+ property :status_message, as: 'statusMessage'
1720
+ property :target, as: 'target'
1721
+ property :verb, as: 'verb'
1722
+ end
1723
+ end
1724
+
1695
1725
  class GuestOsFeature
1696
1726
  # @private
1697
1727
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1710,6 +1740,7 @@ module Google
1710
1740
  class InitializeServiceRequest
1711
1741
  # @private
1712
1742
  class Representation < Google::Apis::Core::JsonRepresentation
1743
+ property :backup_plan_location, as: 'backupPlanLocation'
1713
1744
  property :cloud_sql_instance_initialization_config, as: 'cloudSqlInstanceInitializationConfig', class: Google::Apis::BackupdrV1::CloudSqlInstanceInitializationConfig, decorator: Google::Apis::BackupdrV1::CloudSqlInstanceInitializationConfig::Representation
1714
1745
 
1715
1746
  property :request_id, as: 'requestId'
@@ -1968,20 +1999,6 @@ module Google
1968
1999
  end
1969
2000
  end
1970
2001
 
1971
- class OperationMetadata
1972
- # @private
1973
- class Representation < Google::Apis::Core::JsonRepresentation
1974
- hash :additional_info, as: 'additionalInfo'
1975
- property :api_version, as: 'apiVersion'
1976
- property :create_time, as: 'createTime'
1977
- property :end_time, as: 'endTime'
1978
- property :requested_cancellation, as: 'requestedCancellation'
1979
- property :status_message, as: 'statusMessage'
1980
- property :target, as: 'target'
1981
- property :verb, as: 'verb'
1982
- end
1983
- end
1984
-
1985
2002
  class PitrSettings
1986
2003
  # @private
1987
2004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2455,7 +2455,8 @@ module Google
2455
2455
  # Initializes the service related config for a project.
2456
2456
  # @param [String] name
2457
2457
  # Required. The resource name of the serviceConfig used to initialize the
2458
- # service. Format: `projects/`project_id`/locations/`location`/serviceConfig`.
2458
+ # service. The location must be the location of the BackupVault. Format: `
2459
+ # projects/`project_id`/locations/`location`/serviceConfig`.
2459
2460
  # @param [Google::Apis::BackupdrV1::InitializeServiceRequest] initialize_service_request_object
2460
2461
  # @param [String] fields
2461
2462
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-backupdr_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.51.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.53.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
62
62
  rdoc_options: []
63
63
  require_paths: