Skip to content

Commit 83bc695

Browse files
feat(backupdr): update the API
#### backupdr:v1 The following keys were added: - schemas.DiskBackupProperties.properties.accessMode.description - schemas.DiskBackupProperties.properties.accessMode.type - schemas.DiskBackupProperties.properties.enableConfidentialCompute.description - schemas.DiskBackupProperties.properties.enableConfidentialCompute.type - schemas.DiskBackupProperties.properties.labels.additionalProperties.type - schemas.DiskBackupProperties.properties.labels.description - schemas.DiskBackupProperties.properties.labels.type - schemas.DiskBackupProperties.properties.physicalBlockSizeBytes.description - schemas.DiskBackupProperties.properties.physicalBlockSizeBytes.format - schemas.DiskBackupProperties.properties.physicalBlockSizeBytes.type - schemas.DiskBackupProperties.properties.provisionedIops.description - schemas.DiskBackupProperties.properties.provisionedIops.format - schemas.DiskBackupProperties.properties.provisionedIops.type - schemas.DiskBackupProperties.properties.provisionedThroughput.description - schemas.DiskBackupProperties.properties.provisionedThroughput.format - schemas.DiskBackupProperties.properties.provisionedThroughput.type - schemas.DiskBackupProperties.properties.storagePool.description - schemas.DiskBackupProperties.properties.storagePool.type - schemas.LocationMetadata.id - schemas.LocationMetadata.properties.unsupportedFeatures.items.enum - schemas.LocationMetadata.properties.unsupportedFeatures.items.enumDescriptions - schemas.LocationMetadata.properties.unsupportedFeatures.items.type - schemas.LocationMetadata.properties.unsupportedFeatures.type - schemas.LocationMetadata.type
1 parent 6223b7f commit 83bc695

File tree

2 files changed

+88
-1
lines changed

2 files changed

+88
-1
lines changed

discovery/backupdr-v1.json

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@
20602060
}
20612061
}
20622062
},
2063-
"revision": "20250723",
2063+
"revision": "20250730",
20642064
"rootUrl": "https://backupdr.googleapis.com/",
20652065
"schemas": {
20662066
"AbandonBackupRequest": {
@@ -4029,6 +4029,10 @@
40294029
"description": "DiskBackupProperties represents the properties of a Disk backup.",
40304030
"id": "DiskBackupProperties",
40314031
"properties": {
4032+
"accessMode": {
4033+
"description": "The access mode of the source disk.",
4034+
"type": "string"
4035+
},
40324036
"architecture": {
40334037
"description": "The architecture of the source disk. Valid values are ARM64 or X86_64.",
40344038
"enum": [
@@ -4047,20 +4051,46 @@
40474051
"description": "A description of the source disk.",
40484052
"type": "string"
40494053
},
4054+
"enableConfidentialCompute": {
4055+
"description": "Indicates whether the source disk is using confidential compute mode.",
4056+
"type": "boolean"
4057+
},
40504058
"guestOsFeature": {
40514059
"description": "A list of guest OS features that are applicable to this backup.",
40524060
"items": {
40534061
"$ref": "GuestOsFeature"
40544062
},
40554063
"type": "array"
40564064
},
4065+
"labels": {
4066+
"additionalProperties": {
4067+
"type": "string"
4068+
},
4069+
"description": "The labels of the source disk.",
4070+
"type": "object"
4071+
},
40574072
"licenses": {
40584073
"description": "A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.",
40594074
"items": {
40604075
"type": "string"
40614076
},
40624077
"type": "array"
40634078
},
4079+
"physicalBlockSizeBytes": {
4080+
"description": "The physical block size of the source disk.",
4081+
"format": "int64",
4082+
"type": "string"
4083+
},
4084+
"provisionedIops": {
4085+
"description": "The number of IOPS provisioned for the source disk.",
4086+
"format": "int64",
4087+
"type": "string"
4088+
},
4089+
"provisionedThroughput": {
4090+
"description": "The number of throughput provisioned for the source disk.",
4091+
"format": "int64",
4092+
"type": "string"
4093+
},
40644094
"region": {
40654095
"description": "Region and zone are mutually exclusive fields. The URL of the region of the source disk.",
40664096
"type": "string"
@@ -4081,6 +4111,10 @@
40814111
"description": "The source disk used to create this backup.",
40824112
"type": "string"
40834113
},
4114+
"storagePool": {
4115+
"description": "The storage pool of the source disk.",
4116+
"type": "string"
4117+
},
40844118
"type": {
40854119
"description": "The URL of the type of the disk.",
40864120
"type": "string"
@@ -4931,6 +4965,28 @@
49314965
},
49324966
"type": "object"
49334967
},
4968+
"LocationMetadata": {
4969+
"id": "LocationMetadata",
4970+
"properties": {
4971+
"unsupportedFeatures": {
4972+
"items": {
4973+
"enum": [
4974+
"FEATURE_UNSPECIFIED",
4975+
"MANAGEMENT_SERVER",
4976+
"COMPUTE_INSTANCE"
4977+
],
4978+
"enumDescriptions": [
4979+
"",
4980+
"",
4981+
""
4982+
],
4983+
"type": "string"
4984+
},
4985+
"type": "array"
4986+
}
4987+
},
4988+
"type": "object"
4989+
},
49344990
"ManagementServer": {
49354991
"description": "ManagementServer describes a single BackupDR ManagementServer instance.",
49364992
"id": "ManagementServer",

src/apis/backupdr/v1.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,6 +1412,10 @@ export namespace backupdr_v1 {
14121412
* DiskBackupProperties represents the properties of a Disk backup.
14131413
*/
14141414
export interface Schema$DiskBackupProperties {
1415+
/**
1416+
* The access mode of the source disk.
1417+
*/
1418+
accessMode?: string | null;
14151419
/**
14161420
* The architecture of the source disk. Valid values are ARM64 or X86_64.
14171421
*/
@@ -1420,14 +1424,34 @@ export namespace backupdr_v1 {
14201424
* A description of the source disk.
14211425
*/
14221426
description?: string | null;
1427+
/**
1428+
* Indicates whether the source disk is using confidential compute mode.
1429+
*/
1430+
enableConfidentialCompute?: boolean | null;
14231431
/**
14241432
* A list of guest OS features that are applicable to this backup.
14251433
*/
14261434
guestOsFeature?: Schema$GuestOsFeature[];
1435+
/**
1436+
* The labels of the source disk.
1437+
*/
1438+
labels?: {[key: string]: string} | null;
14271439
/**
14281440
* A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
14291441
*/
14301442
licenses?: string[] | null;
1443+
/**
1444+
* The physical block size of the source disk.
1445+
*/
1446+
physicalBlockSizeBytes?: string | null;
1447+
/**
1448+
* The number of IOPS provisioned for the source disk.
1449+
*/
1450+
provisionedIops?: string | null;
1451+
/**
1452+
* The number of throughput provisioned for the source disk.
1453+
*/
1454+
provisionedThroughput?: string | null;
14311455
/**
14321456
* Region and zone are mutually exclusive fields. The URL of the region of the source disk.
14331457
*/
@@ -1444,6 +1468,10 @@ export namespace backupdr_v1 {
14441468
* The source disk used to create this backup.
14451469
*/
14461470
sourceDisk?: string | null;
1471+
/**
1472+
* The storage pool of the source disk.
1473+
*/
1474+
storagePool?: string | null;
14471475
/**
14481476
* The URL of the type of the disk.
14491477
*/
@@ -2059,6 +2087,9 @@ export namespace backupdr_v1 {
20592087
*/
20602088
name?: string | null;
20612089
}
2090+
export interface Schema$LocationMetadata {
2091+
unsupportedFeatures?: string[] | null;
2092+
}
20622093
/**
20632094
* ManagementServer describes a single BackupDR ManagementServer instance.
20642095
*/

0 commit comments

Comments
 (0)