Skip to content

Commit f1cf1d7

Browse files
feat: Automated regeneration of backupdr v1 client (googleapis#23906)
Auto-created at 2025-08-10 10:21:57 +0000 using the toys pull request generator.
1 parent 3520c1a commit f1cf1d7

File tree

5 files changed

+99
-2
lines changed

5 files changed

+99
-2
lines changed

api_names_out.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47701,17 +47701,25 @@
4770147701
"/backupdr:v1/DirectLocationAssignment/location": location
4770247702
"/backupdr:v1/DirectLocationAssignment/location/location": location
4770347703
"/backupdr:v1/DiskBackupProperties": disk_backup_properties
47704+
"/backupdr:v1/DiskBackupProperties/accessMode": access_mode
4770447705
"/backupdr:v1/DiskBackupProperties/architecture": architecture
4770547706
"/backupdr:v1/DiskBackupProperties/description": description
47707+
"/backupdr:v1/DiskBackupProperties/enableConfidentialCompute": enable_confidential_compute
4770647708
"/backupdr:v1/DiskBackupProperties/guestOsFeature": guest_os_feature
4770747709
"/backupdr:v1/DiskBackupProperties/guestOsFeature/guest_os_feature": guest_os_feature
47710+
"/backupdr:v1/DiskBackupProperties/labels": labels
47711+
"/backupdr:v1/DiskBackupProperties/labels/label": label
4770847712
"/backupdr:v1/DiskBackupProperties/licenses": licenses
4770947713
"/backupdr:v1/DiskBackupProperties/licenses/license": license
47714+
"/backupdr:v1/DiskBackupProperties/physicalBlockSizeBytes": physical_block_size_bytes
47715+
"/backupdr:v1/DiskBackupProperties/provisionedIops": provisioned_iops
47716+
"/backupdr:v1/DiskBackupProperties/provisionedThroughput": provisioned_throughput
4771047717
"/backupdr:v1/DiskBackupProperties/region": region
4771147718
"/backupdr:v1/DiskBackupProperties/replicaZones": replica_zones
4771247719
"/backupdr:v1/DiskBackupProperties/replicaZones/replica_zone": replica_zone
4771347720
"/backupdr:v1/DiskBackupProperties/sizeGb": size_gb
4771447721
"/backupdr:v1/DiskBackupProperties/sourceDisk": source_disk
47722+
"/backupdr:v1/DiskBackupProperties/storagePool": storage_pool
4771547723
"/backupdr:v1/DiskBackupProperties/type": type
4771647724
"/backupdr:v1/DiskBackupProperties/zone": zone
4771747725
"/backupdr:v1/DiskDataSourceProperties": disk_data_source_properties
@@ -47909,6 +47917,9 @@
4790947917
"/backupdr:v1/LocationData/gcpProjectProxy": gcp_project_proxy
4791047918
"/backupdr:v1/LocationData/placerLocation": placer_location
4791147919
"/backupdr:v1/LocationData/spannerLocation": spanner_location
47920+
"/backupdr:v1/LocationMetadata": location_metadata
47921+
"/backupdr:v1/LocationMetadata/unsupportedFeatures": unsupported_features
47922+
"/backupdr:v1/LocationMetadata/unsupportedFeatures/unsupported_feature": unsupported_feature
4791247923
"/backupdr:v1/ManagementServer": management_server
4791347924
"/backupdr:v1/ManagementServer/baProxyUri": ba_proxy_uri
4791447925
"/backupdr:v1/ManagementServer/baProxyUri/ba_proxy_uri": ba_proxy_uri

generated/google-apis-backupdr_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-backupdr_v1
22

3+
### v0.37.0 (2025-08-10)
4+
5+
* Regenerated from discovery document revision 20250730
6+
37
### v0.36.0 (2025-08-03)
48

59
* Regenerated from discovery document revision 20250723

generated/google-apis-backupdr_v1/lib/google/apis/backupdr_v1/classes.rb

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,6 +2526,11 @@ def update!(**args)
25262526
class DiskBackupProperties
25272527
include Google::Apis::Core::Hashable
25282528

2529+
# The access mode of the source disk.
2530+
# Corresponds to the JSON property `accessMode`
2531+
# @return [String]
2532+
attr_accessor :access_mode
2533+
25292534
# The architecture of the source disk. Valid values are ARM64 or X86_64.
25302535
# Corresponds to the JSON property `architecture`
25312536
# @return [String]
@@ -2536,17 +2541,43 @@ class DiskBackupProperties
25362541
# @return [String]
25372542
attr_accessor :description
25382543

2544+
# Indicates whether the source disk is using confidential compute mode.
2545+
# Corresponds to the JSON property `enableConfidentialCompute`
2546+
# @return [Boolean]
2547+
attr_accessor :enable_confidential_compute
2548+
alias_method :enable_confidential_compute?, :enable_confidential_compute
2549+
25392550
# A list of guest OS features that are applicable to this backup.
25402551
# Corresponds to the JSON property `guestOsFeature`
25412552
# @return [Array<Google::Apis::BackupdrV1::GuestOsFeature>]
25422553
attr_accessor :guest_os_feature
25432554

2555+
# The labels of the source disk.
2556+
# Corresponds to the JSON property `labels`
2557+
# @return [Hash<String,String>]
2558+
attr_accessor :labels
2559+
25442560
# A list of publicly available licenses that are applicable to this backup. This
25452561
# is applicable if the original image had licenses attached, e.g. Windows image.
25462562
# Corresponds to the JSON property `licenses`
25472563
# @return [Array<String>]
25482564
attr_accessor :licenses
25492565

2566+
# The physical block size of the source disk.
2567+
# Corresponds to the JSON property `physicalBlockSizeBytes`
2568+
# @return [Fixnum]
2569+
attr_accessor :physical_block_size_bytes
2570+
2571+
# The number of IOPS provisioned for the source disk.
2572+
# Corresponds to the JSON property `provisionedIops`
2573+
# @return [Fixnum]
2574+
attr_accessor :provisioned_iops
2575+
2576+
# The number of throughput provisioned for the source disk.
2577+
# Corresponds to the JSON property `provisionedThroughput`
2578+
# @return [Fixnum]
2579+
attr_accessor :provisioned_throughput
2580+
25502581
# Region and zone are mutually exclusive fields. The URL of the region of the
25512582
# source disk.
25522583
# Corresponds to the JSON property `region`
@@ -2568,6 +2599,11 @@ class DiskBackupProperties
25682599
# @return [String]
25692600
attr_accessor :source_disk
25702601

2602+
# The storage pool of the source disk.
2603+
# Corresponds to the JSON property `storagePool`
2604+
# @return [String]
2605+
attr_accessor :storage_pool
2606+
25712607
# The URL of the type of the disk.
25722608
# Corresponds to the JSON property `type`
25732609
# @return [String]
@@ -2584,14 +2620,21 @@ def initialize(**args)
25842620

25852621
# Update properties of this object
25862622
def update!(**args)
2623+
@access_mode = args[:access_mode] if args.key?(:access_mode)
25872624
@architecture = args[:architecture] if args.key?(:architecture)
25882625
@description = args[:description] if args.key?(:description)
2626+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
25892627
@guest_os_feature = args[:guest_os_feature] if args.key?(:guest_os_feature)
2628+
@labels = args[:labels] if args.key?(:labels)
25902629
@licenses = args[:licenses] if args.key?(:licenses)
2630+
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
2631+
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
2632+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
25912633
@region = args[:region] if args.key?(:region)
25922634
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
25932635
@size_gb = args[:size_gb] if args.key?(:size_gb)
25942636
@source_disk = args[:source_disk] if args.key?(:source_disk)
2637+
@storage_pool = args[:storage_pool] if args.key?(:storage_pool)
25952638
@type = args[:type] if args.key?(:type)
25962639
@zone = args[:zone] if args.key?(:zone)
25972640
end
@@ -3832,6 +3875,25 @@ def update!(**args)
38323875
end
38333876
end
38343877

3878+
#
3879+
class LocationMetadata
3880+
include Google::Apis::Core::Hashable
3881+
3882+
#
3883+
# Corresponds to the JSON property `unsupportedFeatures`
3884+
# @return [Array<String>]
3885+
attr_accessor :unsupported_features
3886+
3887+
def initialize(**args)
3888+
update!(**args)
3889+
end
3890+
3891+
# Update properties of this object
3892+
def update!(**args)
3893+
@unsupported_features = args[:unsupported_features] if args.key?(:unsupported_features)
3894+
end
3895+
end
3896+
38353897
# ManagementServer describes a single BackupDR ManagementServer instance.
38363898
class ManagementServer
38373899
include Google::Apis::Core::Hashable

generated/google-apis-backupdr_v1/lib/google/apis/backupdr_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BackupdrV1
1818
# Version of the google-apis-backupdr_v1 gem
19-
GEM_VERSION = "0.36.0"
19+
GEM_VERSION = "0.37.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250723"
25+
REVISION = "20250730"
2626
end
2727
end
2828
end

generated/google-apis-backupdr_v1/lib/google/apis/backupdr_v1/representations.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
508508
include Google::Apis::Core::JsonObjectSupport
509509
end
510510

511+
class LocationMetadata
512+
class Representation < Google::Apis::Core::JsonRepresentation; end
513+
514+
include Google::Apis::Core::JsonObjectSupport
515+
end
516+
511517
class ManagementServer
512518
class Representation < Google::Apis::Core::JsonRepresentation; end
513519

@@ -1307,15 +1313,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
13071313
class DiskBackupProperties
13081314
# @private
13091315
class Representation < Google::Apis::Core::JsonRepresentation
1316+
property :access_mode, as: 'accessMode'
13101317
property :architecture, as: 'architecture'
13111318
property :description, as: 'description'
1319+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
13121320
collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
13131321

1322+
hash :labels, as: 'labels'
13141323
collection :licenses, as: 'licenses'
1324+
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
1325+
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
1326+
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
13151327
property :region, as: 'region'
13161328
collection :replica_zones, as: 'replicaZones'
13171329
property :size_gb, :numeric_string => true, as: 'sizeGb'
13181330
property :source_disk, as: 'sourceDisk'
1331+
property :storage_pool, as: 'storagePool'
13191332
property :type, as: 'type'
13201333
property :zone, as: 'zone'
13211334
end
@@ -1655,6 +1668,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
16551668
end
16561669
end
16571670

1671+
class LocationMetadata
1672+
# @private
1673+
class Representation < Google::Apis::Core::JsonRepresentation
1674+
collection :unsupported_features, as: 'unsupportedFeatures'
1675+
end
1676+
end
1677+
16581678
class ManagementServer
16591679
# @private
16601680
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)