google-apis-backupdr_v1 0.61.0 → 0.63.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: cc78f9422ea2fa31e82fa205418da8cd485ed8e500b24652d4281fc10de149eb
4
- data.tar.gz: e36705131e2b3ecb056596769b6f5aeab87a406637430db0c87dc837413f94a9
3
+ metadata.gz: 420da8b9026c32870a2a2b101c222f91eb054c2b49ce4ca6beef79be07f9b249
4
+ data.tar.gz: 856b5b06cafe38a1f5474c25d9add735cd615bc2c5ab05ee9fe5965497a73163
5
5
  SHA512:
6
- metadata.gz: ccb0feff57505376d8bafe8e38dc6625ff20d7b052c5b175d85542ffddc06b6742c148448a2676c2665c352b2da7ed14b9adfb999de79469b069f11e699e3c74
7
- data.tar.gz: 50b88c9cd4d02c15c3f6a7f3755305b0773113ff5e8fe85b549b7da067c1737720e0c74d2cbc188fab4ad40bacbe557e7d514b2bf71d4329d8a7dcdfe755ddf8
6
+ metadata.gz: 7a9c6212dd039a6a908e2082c74e0b7985e3d23a476783cd8622a5f0c5a37f1a09bbc77c139e0561302fb1651f44266f6cc7f1c99135ff525e1bd6113e1c0f4c
7
+ data.tar.gz: db9bb66e5b8049b2d9dc3aa3de2425977163f3736b4c26e42460fa8330d7c4cdf8ebcae912c2a1e5c85739be32ebbb7b508d13fa5e3d5ff0b611c8b2867a1e8e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.63.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260812
6
+
7
+ ### v0.62.0 (2026-08-16)
8
+
9
+ * Regenerated from discovery document revision 20260805
10
+
3
11
  ### v0.61.0 (2026-07-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20260715
@@ -2033,6 +2033,17 @@ module Google
2033
2033
  class ComputeInstanceBackupPlanProperties
2034
2034
  include Google::Apis::Core::Hashable
2035
2035
 
2036
+ # Optional. If true, only the boot disk will be backed up.
2037
+ # Corresponds to the JSON property `bootDiskOnly`
2038
+ # @return [Boolean]
2039
+ attr_accessor :boot_disk_only
2040
+ alias_method :boot_disk_only?, :boot_disk_only
2041
+
2042
+ # Message for selective disk backup exclusion labels.
2043
+ # Corresponds to the JSON property `diskExclusionLabels`
2044
+ # @return [Google::Apis::BackupdrV1::DiskExclusionLabels]
2045
+ attr_accessor :disk_exclusion_labels
2046
+
2036
2047
  # Optional. Indicates whether to perform a guest flush operation before taking a
2037
2048
  # compute backup. When set to false, the system will create crash-consistent
2038
2049
  # backups. Default value is false.
@@ -2047,6 +2058,8 @@ module Google
2047
2058
 
2048
2059
  # Update properties of this object
2049
2060
  def update!(**args)
2061
+ @boot_disk_only = args[:boot_disk_only] if args.key?(:boot_disk_only)
2062
+ @disk_exclusion_labels = args[:disk_exclusion_labels] if args.key?(:disk_exclusion_labels)
2050
2063
  @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
2051
2064
  end
2052
2065
  end
@@ -2079,6 +2092,11 @@ module Google
2079
2092
  # @return [Array<Google::Apis::BackupdrV1::AttachedDisk>]
2080
2093
  attr_accessor :disk
2081
2094
 
2095
+ # Optional. List of disks excluded from the backup.
2096
+ # Corresponds to the JSON property `excludedDisks`
2097
+ # @return [Array<String>]
2098
+ attr_accessor :excluded_disks
2099
+
2082
2100
  # A list of guest accelerator cards' type and count to use for instances created
2083
2101
  # from these properties.
2084
2102
  # Corresponds to the JSON property `guestAccelerator`
@@ -2093,6 +2111,11 @@ module Google
2093
2111
  attr_accessor :guest_flush
2094
2112
  alias_method :guest_flush?, :guest_flush
2095
2113
 
2114
+ # Optional. List of disks included in the backup.
2115
+ # Corresponds to the JSON property `includedDisks`
2116
+ # @return [Array<String>]
2117
+ attr_accessor :included_disks
2118
+
2096
2119
  # KeyRevocationActionType of the instance. Supported options are "STOP" and "
2097
2120
  # NONE". The default value is "NONE" if it is not specified.
2098
2121
  # Corresponds to the JSON property `keyRevocationActionType`
@@ -2163,8 +2186,10 @@ module Google
2163
2186
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
2164
2187
  @description = args[:description] if args.key?(:description)
2165
2188
  @disk = args[:disk] if args.key?(:disk)
2189
+ @excluded_disks = args[:excluded_disks] if args.key?(:excluded_disks)
2166
2190
  @guest_accelerator = args[:guest_accelerator] if args.key?(:guest_accelerator)
2167
2191
  @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
2192
+ @included_disks = args[:included_disks] if args.key?(:included_disks)
2168
2193
  @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
2169
2194
  @labels = args[:labels] if args.key?(:labels)
2170
2195
  @machine_type = args[:machine_type] if args.key?(:machine_type)
@@ -3056,6 +3081,26 @@ module Google
3056
3081
  end
3057
3082
  end
3058
3083
 
3084
+ # Message for selective disk backup exclusion labels.
3085
+ class DiskExclusionLabels
3086
+ include Google::Apis::Core::Hashable
3087
+
3088
+ # Optional. Labels used to identify disks for exclusion from the backup. If a
3089
+ # disk carries any of these labels, it will be excluded (OR logic).
3090
+ # Corresponds to the JSON property `labels`
3091
+ # @return [Array<Google::Apis::BackupdrV1::LabelKeyValPair>]
3092
+ attr_accessor :labels
3093
+
3094
+ def initialize(**args)
3095
+ update!(**args)
3096
+ end
3097
+
3098
+ # Update properties of this object
3099
+ def update!(**args)
3100
+ @labels = args[:labels] if args.key?(:labels)
3101
+ end
3102
+ end
3103
+
3059
3104
  # DiskRestoreProperties represents the properties of a Disk restore.
3060
3105
  class DiskRestoreProperties
3061
3106
  include Google::Apis::Core::Hashable
@@ -3095,6 +3140,11 @@ module Google
3095
3140
  # @return [Array<Google::Apis::BackupdrV1::GuestOsFeature>]
3096
3141
  attr_accessor :guest_os_feature
3097
3142
 
3143
+ # Options for creating a disk from a source Compute Instance backup.
3144
+ # Corresponds to the JSON property `instanceBackupSource`
3145
+ # @return [Google::Apis::BackupdrV1::RestoreDiskFromInstanceOptions]
3146
+ attr_accessor :instance_backup_source
3147
+
3098
3148
  # Optional. Labels to apply to this disk. These can be modified later using
3099
3149
  # setLabels method. Label values can be empty.
3100
3150
  # Corresponds to the JSON property `labels`
@@ -3170,6 +3220,7 @@ module Google
3170
3220
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
3171
3221
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
3172
3222
  @guest_os_feature = args[:guest_os_feature] if args.key?(:guest_os_feature)
3223
+ @instance_backup_source = args[:instance_backup_source] if args.key?(:instance_backup_source)
3173
3224
  @labels = args[:labels] if args.key?(:labels)
3174
3225
  @licenses = args[:licenses] if args.key?(:licenses)
3175
3226
  @name = args[:name] if args.key?(:name)
@@ -4157,6 +4208,38 @@ module Google
4157
4208
  end
4158
4209
  end
4159
4210
 
4211
+ # Message for a label key-value pair.
4212
+ class LabelKeyValPair
4213
+ include Google::Apis::Core::Hashable
4214
+
4215
+ # Key of the label. The key must follow the format: `\\p`Ll`\\p`Lo``0,62``. This
4216
+ # means the key must start with a lowercase letter or a lowercase international
4217
+ # character, followed by zero or more lowercase letters, lowercase international
4218
+ # characters, numbers, underscores, or dashes. The key must be at most 63
4219
+ # characters long. International characters are allowed.
4220
+ # Corresponds to the JSON property `key`
4221
+ # @return [String]
4222
+ attr_accessor :key
4223
+
4224
+ # Value of the label. The value must follow the format: `[\\p`Ll`\\p`Lo`\\p`N`_-]
4225
+ # `1,63``. This means the value must be one or more lowercase letters, lowercase
4226
+ # international characters, numbers, underscores, or dashes. The value must be
4227
+ # at most 63 characters long. International characters are allowed.
4228
+ # Corresponds to the JSON property `value`
4229
+ # @return [String]
4230
+ attr_accessor :value
4231
+
4232
+ def initialize(**args)
4233
+ update!(**args)
4234
+ end
4235
+
4236
+ # Update properties of this object
4237
+ def update!(**args)
4238
+ @key = args[:key] if args.key?(:key)
4239
+ @value = args[:value] if args.key?(:value)
4240
+ end
4241
+ end
4242
+
4160
4243
  # Response message for List BackupPlanAssociation
4161
4244
  class ListBackupPlanAssociationsResponse
4162
4245
  include Google::Apis::Core::Hashable
@@ -5429,6 +5512,33 @@ module Google
5429
5512
  end
5430
5513
  end
5431
5514
 
5515
+ # Options for creating a disk from a source Compute Instance backup.
5516
+ class RestoreDiskFromInstanceOptions
5517
+ include Google::Apis::Core::Hashable
5518
+
5519
+ # Specifies that the boot disk should be restored from the instance backup. This
5520
+ # field should only be set to `true` if selected.
5521
+ # Corresponds to the JSON property `bootDisk`
5522
+ # @return [Boolean]
5523
+ attr_accessor :boot_disk
5524
+ alias_method :boot_disk?, :boot_disk
5525
+
5526
+ # The device name of the disk to restore from the VM backup.
5527
+ # Corresponds to the JSON property `sourceDeviceName`
5528
+ # @return [String]
5529
+ attr_accessor :source_device_name
5530
+
5531
+ def initialize(**args)
5532
+ update!(**args)
5533
+ end
5534
+
5535
+ # Update properties of this object
5536
+ def update!(**args)
5537
+ @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
5538
+ @source_device_name = args[:source_device_name] if args.key?(:source_device_name)
5539
+ end
5540
+ end
5541
+
5432
5542
  # Message for rules config info.
5433
5543
  class RuleConfigInfo
5434
5544
  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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260715"
25
+ REVISION = "20260812"
26
26
  end
27
27
  end
28
28
  end
@@ -352,6 +352,12 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class DiskExclusionLabels
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
355
361
  class DiskRestoreProperties
356
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
363
 
@@ -544,6 +550,12 @@ module Google
544
550
  include Google::Apis::Core::JsonObjectSupport
545
551
  end
546
552
 
553
+ class LabelKeyValPair
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
547
559
  class ListBackupPlanAssociationsResponse
548
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
561
 
@@ -718,6 +730,12 @@ module Google
718
730
  include Google::Apis::Core::JsonObjectSupport
719
731
  end
720
732
 
733
+ class RestoreDiskFromInstanceOptions
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
721
739
  class RuleConfigInfo
722
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
741
 
@@ -1315,6 +1333,9 @@ module Google
1315
1333
  class ComputeInstanceBackupPlanProperties
1316
1334
  # @private
1317
1335
  class Representation < Google::Apis::Core::JsonRepresentation
1336
+ property :boot_disk_only, as: 'bootDiskOnly'
1337
+ property :disk_exclusion_labels, as: 'diskExclusionLabels', class: Google::Apis::BackupdrV1::DiskExclusionLabels, decorator: Google::Apis::BackupdrV1::DiskExclusionLabels::Representation
1338
+
1318
1339
  property :guest_flush, as: 'guestFlush'
1319
1340
  end
1320
1341
  end
@@ -1326,9 +1347,11 @@ module Google
1326
1347
  property :description, as: 'description'
1327
1348
  collection :disk, as: 'disk', class: Google::Apis::BackupdrV1::AttachedDisk, decorator: Google::Apis::BackupdrV1::AttachedDisk::Representation
1328
1349
 
1350
+ collection :excluded_disks, as: 'excludedDisks'
1329
1351
  collection :guest_accelerator, as: 'guestAccelerator', class: Google::Apis::BackupdrV1::AcceleratorConfig, decorator: Google::Apis::BackupdrV1::AcceleratorConfig::Representation
1330
1352
 
1331
1353
  property :guest_flush, as: 'guestFlush'
1354
+ collection :included_disks, as: 'includedDisks'
1332
1355
  property :key_revocation_action_type, as: 'keyRevocationActionType'
1333
1356
  hash :labels, as: 'labels'
1334
1357
  property :machine_type, as: 'machineType'
@@ -1564,6 +1587,14 @@ module Google
1564
1587
  end
1565
1588
  end
1566
1589
 
1590
+ class DiskExclusionLabels
1591
+ # @private
1592
+ class Representation < Google::Apis::Core::JsonRepresentation
1593
+ collection :labels, as: 'labels', class: Google::Apis::BackupdrV1::LabelKeyValPair, decorator: Google::Apis::BackupdrV1::LabelKeyValPair::Representation
1594
+
1595
+ end
1596
+ end
1597
+
1567
1598
  class DiskRestoreProperties
1568
1599
  # @private
1569
1600
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1575,6 +1606,8 @@ module Google
1575
1606
  property :enable_confidential_compute, as: 'enableConfidentialCompute'
1576
1607
  collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
1577
1608
 
1609
+ property :instance_backup_source, as: 'instanceBackupSource', class: Google::Apis::BackupdrV1::RestoreDiskFromInstanceOptions, decorator: Google::Apis::BackupdrV1::RestoreDiskFromInstanceOptions::Representation
1610
+
1578
1611
  hash :labels, as: 'labels'
1579
1612
  collection :licenses, as: 'licenses'
1580
1613
  property :name, as: 'name'
@@ -1859,6 +1892,14 @@ module Google
1859
1892
  end
1860
1893
  end
1861
1894
 
1895
+ class LabelKeyValPair
1896
+ # @private
1897
+ class Representation < Google::Apis::Core::JsonRepresentation
1898
+ property :key, as: 'key'
1899
+ property :value, as: 'value'
1900
+ end
1901
+ end
1902
+
1862
1903
  class ListBackupPlanAssociationsResponse
1863
1904
  # @private
1864
1905
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2178,6 +2219,14 @@ module Google
2178
2219
  end
2179
2220
  end
2180
2221
 
2222
+ class RestoreDiskFromInstanceOptions
2223
+ # @private
2224
+ class Representation < Google::Apis::Core::JsonRepresentation
2225
+ property :boot_disk, as: 'bootDisk'
2226
+ property :source_device_name, as: 'sourceDeviceName'
2227
+ end
2228
+ end
2229
+
2181
2230
  class RuleConfigInfo
2182
2231
  # @private
2183
2232
  class Representation < Google::Apis::Core::JsonRepresentation
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.61.0
4
+ version: 0.63.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.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.63.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: