google-apis-backupdr_v1 0.28.0 → 0.29.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: de1755142f7003b89c247c8a4cc148996f5c16c070a620a297dd14f722c86c13
4
- data.tar.gz: 3fe86ce2ad1d2bd182d354c0626ba3b2a560c837b96683ea7808d05c2afd9a10
3
+ metadata.gz: 1862226dcbbbfe44e6ab05f78bc16cf91d895e6ca4bb39262d9d7b64d4e940e3
4
+ data.tar.gz: 8391e4deeace37942c6218e9b5cb67c32f7b92b86fa56756257eaa569a307f4e
5
5
  SHA512:
6
- metadata.gz: 2df40f109103ced71d0e83cff8b3b913fb8e8a1deb783fae5616907fbeb04595cd453ad230884a53de68fa747440786337efb728899db9b7b5f4a563d683ff9a
7
- data.tar.gz: '09ed87a75326dab0ea08771ce32d597b75b63536e16183e2ce396ee39522848734af37ec1a747e9c4f5301f47a548667817d2192a958dde3792819e9c43efc69'
6
+ metadata.gz: 7763be9276265479044db8200ed1bddf075d80ad560b722e4072a8b0e1378d01ba5bc90507099c078e06b14fecc24d0ee9e36c20a514214bf0380eb033b2fbd6
7
+ data.tar.gz: b17ff7b715c6ab3430fa2ba0536ed1b76e339da65d9d25381dd2013f2da264b8c42064c0be65b7489796f66a6325a2e218645d18585b949e554b920493cfec23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.29.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250509
6
+
3
7
  ### v0.28.0 (2025-05-04)
4
8
 
5
9
  * Regenerated using generator version 0.17.0
@@ -483,6 +483,11 @@ module Google
483
483
  # @return [String]
484
484
  attr_accessor :description
485
485
 
486
+ # DiskBackupProperties represents the properties of a Disk backup.
487
+ # Corresponds to the JSON property `diskBackupProperties`
488
+ # @return [Google::Apis::BackupdrV1::DiskBackupProperties]
489
+ attr_accessor :disk_backup_properties
490
+
486
491
  # Optional. The backup can not be deleted before this time.
487
492
  # Corresponds to the JSON property `enforcedRetentionEndTime`
488
493
  # @return [String]
@@ -564,6 +569,7 @@ module Google
564
569
  @consistency_time = args[:consistency_time] if args.key?(:consistency_time)
565
570
  @create_time = args[:create_time] if args.key?(:create_time)
566
571
  @description = args[:description] if args.key?(:description)
572
+ @disk_backup_properties = args[:disk_backup_properties] if args.key?(:disk_backup_properties)
567
573
  @enforced_retention_end_time = args[:enforced_retention_end_time] if args.key?(:enforced_retention_end_time)
568
574
  @etag = args[:etag] if args.key?(:etag)
569
575
  @expire_time = args[:expire_time] if args.key?(:expire_time)
@@ -1082,6 +1088,11 @@ module Google
1082
1088
  # @return [String]
1083
1089
  attr_accessor :state
1084
1090
 
1091
+ # Output only. All resource types to which backupPlan can be applied.
1092
+ # Corresponds to the JSON property `supportedResourceTypes`
1093
+ # @return [Array<String>]
1094
+ attr_accessor :supported_resource_types
1095
+
1085
1096
  # Output only. When the `BackupPlan` was last updated.
1086
1097
  # Corresponds to the JSON property `updateTime`
1087
1098
  # @return [String]
@@ -1103,6 +1114,7 @@ module Google
1103
1114
  @name = args[:name] if args.key?(:name)
1104
1115
  @resource_type = args[:resource_type] if args.key?(:resource_type)
1105
1116
  @state = args[:state] if args.key?(:state)
1117
+ @supported_resource_types = args[:supported_resource_types] if args.key?(:supported_resource_types)
1106
1118
  @update_time = args[:update_time] if args.key?(:update_time)
1107
1119
  end
1108
1120
  end
@@ -1919,6 +1931,13 @@ module Google
1919
1931
  class DataSource
1920
1932
  include Google::Apis::Core::Hashable
1921
1933
 
1934
+ # Output only. This field is set to true if the backup is blocked by vault
1935
+ # access restriction.
1936
+ # Corresponds to the JSON property `backupBlockedByVaultAccessRestriction`
1937
+ # @return [Boolean]
1938
+ attr_accessor :backup_blocked_by_vault_access_restriction
1939
+ alias_method :backup_blocked_by_vault_access_restriction?, :backup_blocked_by_vault_access_restriction
1940
+
1922
1941
  # BackupConfigInfo has information about how the resource is configured for
1923
1942
  # Backup and about the most recent backup to this vault.
1924
1943
  # Corresponds to the JSON property `backupConfigInfo`
@@ -1995,6 +2014,7 @@ module Google
1995
2014
 
1996
2015
  # Update properties of this object
1997
2016
  def update!(**args)
2017
+ @backup_blocked_by_vault_access_restriction = args[:backup_blocked_by_vault_access_restriction] if args.key?(:backup_blocked_by_vault_access_restriction)
1998
2018
  @backup_config_info = args[:backup_config_info] if args.key?(:backup_config_info)
1999
2019
  @backup_count = args[:backup_count] if args.key?(:backup_count)
2000
2020
  @config_state = args[:config_state] if args.key?(:config_state)
@@ -2078,6 +2098,12 @@ module Google
2078
2098
  # @return [Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties]
2079
2099
  attr_accessor :compute_instance_datasource_properties
2080
2100
 
2101
+ # DiskDataSourceProperties represents the properties of a Disk resource that are
2102
+ # stored in the DataSource. .
2103
+ # Corresponds to the JSON property `diskDatasourceProperties`
2104
+ # @return [Google::Apis::BackupdrV1::DiskDataSourceProperties]
2105
+ attr_accessor :disk_datasource_properties
2106
+
2081
2107
  # Output only. Full resource pathname URL of the source Google Cloud resource.
2082
2108
  # Corresponds to the JSON property `gcpResourcename`
2083
2109
  # @return [String]
@@ -2101,12 +2127,279 @@ module Google
2101
2127
  # Update properties of this object
2102
2128
  def update!(**args)
2103
2129
  @compute_instance_datasource_properties = args[:compute_instance_datasource_properties] if args.key?(:compute_instance_datasource_properties)
2130
+ @disk_datasource_properties = args[:disk_datasource_properties] if args.key?(:disk_datasource_properties)
2104
2131
  @gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename)
2105
2132
  @location = args[:location] if args.key?(:location)
2106
2133
  @type = args[:type] if args.key?(:type)
2107
2134
  end
2108
2135
  end
2109
2136
 
2137
+ # DiskBackupProperties represents the properties of a Disk backup.
2138
+ class DiskBackupProperties
2139
+ include Google::Apis::Core::Hashable
2140
+
2141
+ # The architecture of the source disk. Valid values are ARM64 or X86_64.
2142
+ # Corresponds to the JSON property `architecture`
2143
+ # @return [String]
2144
+ attr_accessor :architecture
2145
+
2146
+ # A description of the source disk.
2147
+ # Corresponds to the JSON property `description`
2148
+ # @return [String]
2149
+ attr_accessor :description
2150
+
2151
+ # A list of guest OS features that are applicable to this backup.
2152
+ # Corresponds to the JSON property `guestOsFeature`
2153
+ # @return [Array<Google::Apis::BackupdrV1::GuestOsFeature>]
2154
+ attr_accessor :guest_os_feature
2155
+
2156
+ # A list of publicly available licenses that are applicable to this backup. This
2157
+ # is applicable if the original image had licenses attached, e.g. Windows image.
2158
+ # Corresponds to the JSON property `licenses`
2159
+ # @return [Array<String>]
2160
+ attr_accessor :licenses
2161
+
2162
+ # Region and zone are mutually exclusive fields. The URL of the region of the
2163
+ # source disk.
2164
+ # Corresponds to the JSON property `region`
2165
+ # @return [String]
2166
+ attr_accessor :region
2167
+
2168
+ # The URL of the Zones where the source disk should be replicated.
2169
+ # Corresponds to the JSON property `replicaZones`
2170
+ # @return [Array<String>]
2171
+ attr_accessor :replica_zones
2172
+
2173
+ # Size(in GB) of the source disk.
2174
+ # Corresponds to the JSON property `sizeGb`
2175
+ # @return [Fixnum]
2176
+ attr_accessor :size_gb
2177
+
2178
+ # The source disk used to create this backup.
2179
+ # Corresponds to the JSON property `sourceDisk`
2180
+ # @return [String]
2181
+ attr_accessor :source_disk
2182
+
2183
+ # The URL of the type of the disk.
2184
+ # Corresponds to the JSON property `type`
2185
+ # @return [String]
2186
+ attr_accessor :type
2187
+
2188
+ # The URL of the Zone where the source disk.
2189
+ # Corresponds to the JSON property `zone`
2190
+ # @return [String]
2191
+ attr_accessor :zone
2192
+
2193
+ def initialize(**args)
2194
+ update!(**args)
2195
+ end
2196
+
2197
+ # Update properties of this object
2198
+ def update!(**args)
2199
+ @architecture = args[:architecture] if args.key?(:architecture)
2200
+ @description = args[:description] if args.key?(:description)
2201
+ @guest_os_feature = args[:guest_os_feature] if args.key?(:guest_os_feature)
2202
+ @licenses = args[:licenses] if args.key?(:licenses)
2203
+ @region = args[:region] if args.key?(:region)
2204
+ @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
2205
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2206
+ @source_disk = args[:source_disk] if args.key?(:source_disk)
2207
+ @type = args[:type] if args.key?(:type)
2208
+ @zone = args[:zone] if args.key?(:zone)
2209
+ end
2210
+ end
2211
+
2212
+ # DiskDataSourceProperties represents the properties of a Disk resource that are
2213
+ # stored in the DataSource. .
2214
+ class DiskDataSourceProperties
2215
+ include Google::Apis::Core::Hashable
2216
+
2217
+ # The description of the disk.
2218
+ # Corresponds to the JSON property `description`
2219
+ # @return [String]
2220
+ attr_accessor :description
2221
+
2222
+ # Name of the disk backed up by the datasource.
2223
+ # Corresponds to the JSON property `name`
2224
+ # @return [String]
2225
+ attr_accessor :name
2226
+
2227
+ # The size of the disk in GB.
2228
+ # Corresponds to the JSON property `sizeGb`
2229
+ # @return [Fixnum]
2230
+ attr_accessor :size_gb
2231
+
2232
+ # The type of the disk.
2233
+ # Corresponds to the JSON property `type`
2234
+ # @return [String]
2235
+ attr_accessor :type
2236
+
2237
+ def initialize(**args)
2238
+ update!(**args)
2239
+ end
2240
+
2241
+ # Update properties of this object
2242
+ def update!(**args)
2243
+ @description = args[:description] if args.key?(:description)
2244
+ @name = args[:name] if args.key?(:name)
2245
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2246
+ @type = args[:type] if args.key?(:type)
2247
+ end
2248
+ end
2249
+
2250
+ # DiskRestoreProperties represents the properties of a Disk restore.
2251
+ class DiskRestoreProperties
2252
+ include Google::Apis::Core::Hashable
2253
+
2254
+ # Optional. The access mode of the disk.
2255
+ # Corresponds to the JSON property `accessMode`
2256
+ # @return [String]
2257
+ attr_accessor :access_mode
2258
+
2259
+ # Optional. The architecture of the source disk. Valid values are ARM64 or
2260
+ # X86_64.
2261
+ # Corresponds to the JSON property `architecture`
2262
+ # @return [String]
2263
+ attr_accessor :architecture
2264
+
2265
+ # Optional. An optional description of this resource. Provide this property when
2266
+ # you create the resource.
2267
+ # Corresponds to the JSON property `description`
2268
+ # @return [String]
2269
+ attr_accessor :description
2270
+
2271
+ # A customer-supplied encryption key.
2272
+ # Corresponds to the JSON property `diskEncryptionKey`
2273
+ # @return [Google::Apis::BackupdrV1::CustomerEncryptionKey]
2274
+ attr_accessor :disk_encryption_key
2275
+
2276
+ # Optional. Indicates whether this disk is using confidential compute mode.
2277
+ # Encryption with a Cloud KMS key is required to enable this option.
2278
+ # Corresponds to the JSON property `enableConfidentialCompute`
2279
+ # @return [Boolean]
2280
+ attr_accessor :enable_confidential_compute
2281
+ alias_method :enable_confidential_compute?, :enable_confidential_compute
2282
+
2283
+ # Optional. A list of features to enable in the guest operating system. This is
2284
+ # applicable only for bootable images.
2285
+ # Corresponds to the JSON property `guestOsFeature`
2286
+ # @return [Array<Google::Apis::BackupdrV1::GuestOsFeature>]
2287
+ attr_accessor :guest_os_feature
2288
+
2289
+ # Optional. Labels to apply to this disk. These can be modified later using
2290
+ # setLabels method. Label values can be empty.
2291
+ # Corresponds to the JSON property `labels`
2292
+ # @return [Hash<String,String>]
2293
+ attr_accessor :labels
2294
+
2295
+ # Optional. A list of publicly available licenses that are applicable to this
2296
+ # backup. This is applicable if the original image had licenses attached, e.g.
2297
+ # Windows image
2298
+ # Corresponds to the JSON property `licenses`
2299
+ # @return [Array<String>]
2300
+ attr_accessor :licenses
2301
+
2302
+ # Required. Name of the disk..
2303
+ # Corresponds to the JSON property `name`
2304
+ # @return [String]
2305
+ attr_accessor :name
2306
+
2307
+ # Optional. Physical block size of the persistent disk, in bytes. If not present
2308
+ # in a request, a default value is used. Currently, the supported size is 4096.
2309
+ # Corresponds to the JSON property `physicalBlockSizeBytes`
2310
+ # @return [Fixnum]
2311
+ attr_accessor :physical_block_size_bytes
2312
+
2313
+ # Optional. Indicates how many IOPS to provision for the disk. This sets the
2314
+ # number of I/O operations per second that the disk can handle.
2315
+ # Corresponds to the JSON property `provisionedIops`
2316
+ # @return [Fixnum]
2317
+ attr_accessor :provisioned_iops
2318
+
2319
+ # Optional. Indicates how much throughput to provision for the disk. This sets
2320
+ # the number of throughput MB per second that the disk can handle.
2321
+ # Corresponds to the JSON property `provisionedThroughput`
2322
+ # @return [Fixnum]
2323
+ attr_accessor :provisioned_throughput
2324
+
2325
+ # Optional. Resource manager tags to be bound to the disk.
2326
+ # Corresponds to the JSON property `resourceManagerTags`
2327
+ # @return [Hash<String,String>]
2328
+ attr_accessor :resource_manager_tags
2329
+
2330
+ # Optional. Resource policies applied to this disk.
2331
+ # Corresponds to the JSON property `resourcePolicy`
2332
+ # @return [Array<String>]
2333
+ attr_accessor :resource_policy
2334
+
2335
+ # Required. The size of the disk in GB.
2336
+ # Corresponds to the JSON property `sizeGb`
2337
+ # @return [Fixnum]
2338
+ attr_accessor :size_gb
2339
+
2340
+ # Optional. The storage pool in which the new disk is created. You can provide
2341
+ # this as a partial or full URL to the resource.
2342
+ # Corresponds to the JSON property `storagePool`
2343
+ # @return [String]
2344
+ attr_accessor :storage_pool
2345
+
2346
+ # Required. URL of the disk type resource describing which disk type to use to
2347
+ # create the disk.
2348
+ # Corresponds to the JSON property `type`
2349
+ # @return [String]
2350
+ attr_accessor :type
2351
+
2352
+ def initialize(**args)
2353
+ update!(**args)
2354
+ end
2355
+
2356
+ # Update properties of this object
2357
+ def update!(**args)
2358
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
2359
+ @architecture = args[:architecture] if args.key?(:architecture)
2360
+ @description = args[:description] if args.key?(:description)
2361
+ @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
2362
+ @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
2363
+ @guest_os_feature = args[:guest_os_feature] if args.key?(:guest_os_feature)
2364
+ @labels = args[:labels] if args.key?(:labels)
2365
+ @licenses = args[:licenses] if args.key?(:licenses)
2366
+ @name = args[:name] if args.key?(:name)
2367
+ @physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
2368
+ @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
2369
+ @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
2370
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
2371
+ @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
2372
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2373
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
2374
+ @type = args[:type] if args.key?(:type)
2375
+ end
2376
+ end
2377
+
2378
+ # DiskTargetEnvironment represents the target environment for the disk.
2379
+ class DiskTargetEnvironment
2380
+ include Google::Apis::Core::Hashable
2381
+
2382
+ # Required. Target project for the disk.
2383
+ # Corresponds to the JSON property `project`
2384
+ # @return [String]
2385
+ attr_accessor :project
2386
+
2387
+ # Required. Target zone for the disk.
2388
+ # Corresponds to the JSON property `zone`
2389
+ # @return [String]
2390
+ attr_accessor :zone
2391
+
2392
+ def initialize(**args)
2393
+ update!(**args)
2394
+ end
2395
+
2396
+ # Update properties of this object
2397
+ def update!(**args)
2398
+ @project = args[:project] if args.key?(:project)
2399
+ @zone = args[:zone] if args.key?(:zone)
2400
+ end
2401
+ end
2402
+
2110
2403
  # A set of Display Device options
2111
2404
  class DisplayDevice
2112
2405
  include Google::Apis::Core::Hashable
@@ -3590,6 +3883,37 @@ module Google
3590
3883
  end
3591
3884
  end
3592
3885
 
3886
+ # RegionDiskTargetEnvironment represents the target environment for the disk.
3887
+ class RegionDiskTargetEnvironment
3888
+ include Google::Apis::Core::Hashable
3889
+
3890
+ # Required. Target project for the disk.
3891
+ # Corresponds to the JSON property `project`
3892
+ # @return [String]
3893
+ attr_accessor :project
3894
+
3895
+ # Required. Target region for the disk.
3896
+ # Corresponds to the JSON property `region`
3897
+ # @return [String]
3898
+ attr_accessor :region
3899
+
3900
+ # Required. Target URLs of the replica zones for the disk.
3901
+ # Corresponds to the JSON property `replicaZones`
3902
+ # @return [Array<String>]
3903
+ attr_accessor :replica_zones
3904
+
3905
+ def initialize(**args)
3906
+ update!(**args)
3907
+ end
3908
+
3909
+ # Update properties of this object
3910
+ def update!(**args)
3911
+ @project = args[:project] if args.key?(:project)
3912
+ @region = args[:region] if args.key?(:region)
3913
+ @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
3914
+ end
3915
+ end
3916
+
3593
3917
  # Message for deleting a DataSource.
3594
3918
  class RemoveDataSourceRequest
3595
3919
  include Google::Apis::Core::Hashable
@@ -3714,6 +4038,21 @@ module Google
3714
4038
  # @return [Google::Apis::BackupdrV1::ComputeInstanceTargetEnvironment]
3715
4039
  attr_accessor :compute_instance_target_environment
3716
4040
 
4041
+ # DiskRestoreProperties represents the properties of a Disk restore.
4042
+ # Corresponds to the JSON property `diskRestoreProperties`
4043
+ # @return [Google::Apis::BackupdrV1::DiskRestoreProperties]
4044
+ attr_accessor :disk_restore_properties
4045
+
4046
+ # DiskTargetEnvironment represents the target environment for the disk.
4047
+ # Corresponds to the JSON property `diskTargetEnvironment`
4048
+ # @return [Google::Apis::BackupdrV1::DiskTargetEnvironment]
4049
+ attr_accessor :disk_target_environment
4050
+
4051
+ # RegionDiskTargetEnvironment represents the target environment for the disk.
4052
+ # Corresponds to the JSON property `regionDiskTargetEnvironment`
4053
+ # @return [Google::Apis::BackupdrV1::RegionDiskTargetEnvironment]
4054
+ attr_accessor :region_disk_target_environment
4055
+
3717
4056
  # Optional. An optional request ID to identify requests. Specify a unique
3718
4057
  # request ID so that if you must retry your request, the server will know to
3719
4058
  # ignore the request if it has already been completed. The server will guarantee
@@ -3736,6 +4075,9 @@ module Google
3736
4075
  def update!(**args)
3737
4076
  @compute_instance_restore_properties = args[:compute_instance_restore_properties] if args.key?(:compute_instance_restore_properties)
3738
4077
  @compute_instance_target_environment = args[:compute_instance_target_environment] if args.key?(:compute_instance_target_environment)
4078
+ @disk_restore_properties = args[:disk_restore_properties] if args.key?(:disk_restore_properties)
4079
+ @disk_target_environment = args[:disk_target_environment] if args.key?(:disk_target_environment)
4080
+ @region_disk_target_environment = args[:region_disk_target_environment] if args.key?(:region_disk_target_environment)
3739
4081
  @request_id = args[:request_id] if args.key?(:request_id)
3740
4082
  end
3741
4083
  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.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250411"
25
+ REVISION = "20250509"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,30 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class DiskBackupProperties
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class DiskDataSourceProperties
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class DiskRestoreProperties
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class DiskTargetEnvironment
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class DisplayDevice
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -466,6 +490,12 @@ module Google
466
490
  include Google::Apis::Core::JsonObjectSupport
467
491
  end
468
492
 
493
+ class RegionDiskTargetEnvironment
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
469
499
  class RemoveDataSourceRequest
470
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
501
 
@@ -710,6 +740,8 @@ module Google
710
740
  property :consistency_time, as: 'consistencyTime'
711
741
  property :create_time, as: 'createTime'
712
742
  property :description, as: 'description'
743
+ property :disk_backup_properties, as: 'diskBackupProperties', class: Google::Apis::BackupdrV1::DiskBackupProperties, decorator: Google::Apis::BackupdrV1::DiskBackupProperties::Representation
744
+
713
745
  property :enforced_retention_end_time, as: 'enforcedRetentionEndTime'
714
746
  property :etag, as: 'etag'
715
747
  property :expire_time, as: 'expireTime'
@@ -855,6 +887,7 @@ module Google
855
887
  property :name, as: 'name'
856
888
  property :resource_type, as: 'resourceType'
857
889
  property :state, as: 'state'
890
+ collection :supported_resource_types, as: 'supportedResourceTypes'
858
891
  property :update_time, as: 'updateTime'
859
892
  end
860
893
  end
@@ -1042,6 +1075,7 @@ module Google
1042
1075
  class DataSource
1043
1076
  # @private
1044
1077
  class Representation < Google::Apis::Core::JsonRepresentation
1078
+ property :backup_blocked_by_vault_access_restriction, as: 'backupBlockedByVaultAccessRestriction'
1045
1079
  property :backup_config_info, as: 'backupConfigInfo', class: Google::Apis::BackupdrV1::BackupConfigInfo, decorator: Google::Apis::BackupdrV1::BackupConfigInfo::Representation
1046
1080
 
1047
1081
  property :backup_count, :numeric_string => true, as: 'backupCount'
@@ -1078,12 +1112,74 @@ module Google
1078
1112
  class Representation < Google::Apis::Core::JsonRepresentation
1079
1113
  property :compute_instance_datasource_properties, as: 'computeInstanceDatasourceProperties', class: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties::Representation
1080
1114
 
1115
+ property :disk_datasource_properties, as: 'diskDatasourceProperties', class: Google::Apis::BackupdrV1::DiskDataSourceProperties, decorator: Google::Apis::BackupdrV1::DiskDataSourceProperties::Representation
1116
+
1081
1117
  property :gcp_resourcename, as: 'gcpResourcename'
1082
1118
  property :location, as: 'location'
1083
1119
  property :type, as: 'type'
1084
1120
  end
1085
1121
  end
1086
1122
 
1123
+ class DiskBackupProperties
1124
+ # @private
1125
+ class Representation < Google::Apis::Core::JsonRepresentation
1126
+ property :architecture, as: 'architecture'
1127
+ property :description, as: 'description'
1128
+ collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
1129
+
1130
+ collection :licenses, as: 'licenses'
1131
+ property :region, as: 'region'
1132
+ collection :replica_zones, as: 'replicaZones'
1133
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
1134
+ property :source_disk, as: 'sourceDisk'
1135
+ property :type, as: 'type'
1136
+ property :zone, as: 'zone'
1137
+ end
1138
+ end
1139
+
1140
+ class DiskDataSourceProperties
1141
+ # @private
1142
+ class Representation < Google::Apis::Core::JsonRepresentation
1143
+ property :description, as: 'description'
1144
+ property :name, as: 'name'
1145
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
1146
+ property :type, as: 'type'
1147
+ end
1148
+ end
1149
+
1150
+ class DiskRestoreProperties
1151
+ # @private
1152
+ class Representation < Google::Apis::Core::JsonRepresentation
1153
+ property :access_mode, as: 'accessMode'
1154
+ property :architecture, as: 'architecture'
1155
+ property :description, as: 'description'
1156
+ property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::BackupdrV1::CustomerEncryptionKey, decorator: Google::Apis::BackupdrV1::CustomerEncryptionKey::Representation
1157
+
1158
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
1159
+ collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
1160
+
1161
+ hash :labels, as: 'labels'
1162
+ collection :licenses, as: 'licenses'
1163
+ property :name, as: 'name'
1164
+ property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
1165
+ property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
1166
+ property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
1167
+ hash :resource_manager_tags, as: 'resourceManagerTags'
1168
+ collection :resource_policy, as: 'resourcePolicy'
1169
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
1170
+ property :storage_pool, as: 'storagePool'
1171
+ property :type, as: 'type'
1172
+ end
1173
+ end
1174
+
1175
+ class DiskTargetEnvironment
1176
+ # @private
1177
+ class Representation < Google::Apis::Core::JsonRepresentation
1178
+ property :project, as: 'project'
1179
+ property :zone, as: 'zone'
1180
+ end
1181
+ end
1182
+
1087
1183
  class DisplayDevice
1088
1184
  # @private
1089
1185
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1461,6 +1557,15 @@ module Google
1461
1557
  end
1462
1558
  end
1463
1559
 
1560
+ class RegionDiskTargetEnvironment
1561
+ # @private
1562
+ class Representation < Google::Apis::Core::JsonRepresentation
1563
+ property :project, as: 'project'
1564
+ property :region, as: 'region'
1565
+ collection :replica_zones, as: 'replicaZones'
1566
+ end
1567
+ end
1568
+
1464
1569
  class RemoveDataSourceRequest
1465
1570
  # @private
1466
1571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1491,6 +1596,12 @@ module Google
1491
1596
 
1492
1597
  property :compute_instance_target_environment, as: 'computeInstanceTargetEnvironment', class: Google::Apis::BackupdrV1::ComputeInstanceTargetEnvironment, decorator: Google::Apis::BackupdrV1::ComputeInstanceTargetEnvironment::Representation
1493
1598
 
1599
+ property :disk_restore_properties, as: 'diskRestoreProperties', class: Google::Apis::BackupdrV1::DiskRestoreProperties, decorator: Google::Apis::BackupdrV1::DiskRestoreProperties::Representation
1600
+
1601
+ property :disk_target_environment, as: 'diskTargetEnvironment', class: Google::Apis::BackupdrV1::DiskTargetEnvironment, decorator: Google::Apis::BackupdrV1::DiskTargetEnvironment::Representation
1602
+
1603
+ property :region_disk_target_environment, as: 'regionDiskTargetEnvironment', class: Google::Apis::BackupdrV1::RegionDiskTargetEnvironment, decorator: Google::Apis::BackupdrV1::RegionDiskTargetEnvironment::Representation
1604
+
1494
1605
  property :request_id, as: 'requestId'
1495
1606
  end
1496
1607
  end
@@ -299,6 +299,61 @@ module Google
299
299
  execute_or_queue_command(command, &block)
300
300
  end
301
301
 
302
+ # Update a BackupPlanAssociation
303
+ # @param [String] name
304
+ # Output only. Identifier. The resource name of BackupPlanAssociation in below
305
+ # format Format : projects/`project`/locations/`location`/backupPlanAssociations/
306
+ # `backupPlanAssociationId`
307
+ # @param [Google::Apis::BackupdrV1::BackupPlanAssociation] backup_plan_association_object
308
+ # @param [String] request_id
309
+ # Optional. An optional request ID to identify requests. Specify a unique
310
+ # request ID so that if you must retry your request, the server will know to
311
+ # ignore the request if it has already been completed. The server will guarantee
312
+ # that for at least 60 minutes since the first request. For example, consider a
313
+ # situation where you make an initial request and t he request times out. If you
314
+ # make the request again with the same request ID, the server can check if
315
+ # original operation with the same request ID was received, and if so, will
316
+ # ignore the second request. This prevents clients from accidentally creating
317
+ # duplicate commitments. The request ID must be a valid UUID with the exception
318
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
319
+ # @param [String] update_mask
320
+ # Required. The list of fields to update. Field mask is used to specify the
321
+ # fields to be overwritten in the BackupPlanAssociation resource by the update.
322
+ # The fields specified in the update_mask are relative to the resource, not the
323
+ # full request. A field will be overwritten if it is in the mask. If the user
324
+ # does not provide a mask then the request will fail. Currently
325
+ # backup_plan_association.backup_plan is the only supported field.
326
+ # @param [String] fields
327
+ # Selector specifying which fields to include in a partial response.
328
+ # @param [String] quota_user
329
+ # Available to use for quota purposes for server-side applications. Can be any
330
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
331
+ # @param [Google::Apis::RequestOptions] options
332
+ # Request-specific options
333
+ #
334
+ # @yield [result, err] Result & error if block supplied
335
+ # @yieldparam result [Google::Apis::BackupdrV1::Operation] parsed result object
336
+ # @yieldparam err [StandardError] error object if request failed
337
+ #
338
+ # @return [Google::Apis::BackupdrV1::Operation]
339
+ #
340
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
341
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
342
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
343
+ def patch_project_location_backup_plan_association(name, backup_plan_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
344
+ command = make_simple_command(:patch, 'v1/{+name}', options)
345
+ command.request_representation = Google::Apis::BackupdrV1::BackupPlanAssociation::Representation
346
+ command.request_object = backup_plan_association_object
347
+ command.response_representation = Google::Apis::BackupdrV1::Operation::Representation
348
+ command.response_class = Google::Apis::BackupdrV1::Operation
349
+ command.params['name'] = name unless name.nil?
350
+ command.query['requestId'] = request_id unless request_id.nil?
351
+ command.query['updateMask'] = update_mask unless update_mask.nil?
352
+ command.query['fields'] = fields unless fields.nil?
353
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
354
+ execute_or_queue_command(command, &block)
355
+ end
356
+
302
357
  # Triggers a new Backup.
303
358
  # @param [String] name
304
359
  # Required. Name of the backup plan association resource, in the format `
@@ -773,6 +828,9 @@ module Google
773
828
  # @param [Boolean] force
774
829
  # Optional. If set to true, will not check plan duration against backup vault
775
830
  # enforcement duration.
831
+ # @param [Boolean] force_update_access_restriction
832
+ # Optional. If set to true, we will force update access restriction even if some
833
+ # non compliant data sources are present. The default is 'false'.
776
834
  # @param [String] request_id
777
835
  # Optional. An optional request ID to identify requests. Specify a unique
778
836
  # request ID so that if you must retry your request, the server will know to
@@ -810,7 +868,7 @@ module Google
810
868
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
811
869
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
812
870
  # @raise [Google::Apis::AuthorizationError] Authorization is required
813
- def patch_project_location_backup_vault(name, backup_vault_object = nil, force: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
871
+ def patch_project_location_backup_vault(name, backup_vault_object = nil, force: nil, force_update_access_restriction: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
814
872
  command = make_simple_command(:patch, 'v1/{+name}', options)
815
873
  command.request_representation = Google::Apis::BackupdrV1::BackupVault::Representation
816
874
  command.request_object = backup_vault_object
@@ -818,6 +876,7 @@ module Google
818
876
  command.response_class = Google::Apis::BackupdrV1::Operation
819
877
  command.params['name'] = name unless name.nil?
820
878
  command.query['force'] = force unless force.nil?
879
+ command.query['forceUpdateAccessRestriction'] = force_update_access_restriction unless force_update_access_restriction.nil?
821
880
  command.query['requestId'] = request_id unless request_id.nil?
822
881
  command.query['updateMask'] = update_mask unless update_mask.nil?
823
882
  command.query['validateOnly'] = validate_only unless validate_only.nil?
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.28.0
4
+ version: 0.29.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.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.29.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: