Skip to content

Commit 14fa2ba

Browse files
yoshi-automationfeywind
authored andcommitted
feat(vmmigration): update the API
#### vmmigration:v1 The following keys were added: - schemas.ComputeEngineTargetDefaults.properties.storagePool.description - schemas.ComputeEngineTargetDefaults.properties.storagePool.type - schemas.ComputeEngineTargetDetails.properties.storagePool.description - schemas.ComputeEngineTargetDetails.properties.storagePool.type The following keys were changed: - schemas.DataDiskImageImport.description
1 parent a576a67 commit 14fa2ba

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

discovery/vmmigration-v1.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,7 @@
25482548
}
25492549
}
25502550
},
2551-
"revision": "20251023",
2551+
"revision": "20251030",
25522552
"rootUrl": "https://vmmigration.googleapis.com/",
25532553
"schemas": {
25542554
"AccessKeyCredentials": {
@@ -3736,6 +3736,10 @@
37363736
"description": "Optional. The service account to associate the VM with.",
37373737
"type": "string"
37383738
},
3739+
"storagePool": {
3740+
"description": "Optional. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: \"projects/my-project/zones/us-central1-a/storagePools/my-storage-pool\". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.",
3741+
"type": "string"
3742+
},
37393743
"targetProject": {
37403744
"description": "The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.",
37413745
"type": "string"
@@ -3908,6 +3912,10 @@
39083912
"description": "The service account to associate the VM with.",
39093913
"type": "string"
39103914
},
3915+
"storagePool": {
3916+
"description": "Optional. The storage pool used for the VM disks. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: \"projects/my-project/zones/us-central1-a/storagePools/my-storage-pool\". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.",
3917+
"type": "string"
3918+
},
39113919
"vmName": {
39123920
"description": "The name of the VM to create.",
39133921
"type": "string"
@@ -4153,7 +4161,7 @@
41534161
"type": "object"
41544162
},
41554163
"DataDiskImageImport": {
4156-
"description": "Mentions that the image import is not using OS adaptation process.",
4164+
"description": "Used when the image import is not using OS adaptation process.",
41574165
"id": "DataDiskImageImport",
41584166
"properties": {},
41594167
"type": "object"

src/apis/vmmigration/v1.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,10 @@ export namespace vmmigration_v1 {
841841
* Optional. The service account to associate the VM with.
842842
*/
843843
serviceAccount?: string | null;
844+
/**
845+
* Optional. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.
846+
*/
847+
storagePool?: string | null;
844848
/**
845849
* The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
846850
*/
@@ -946,6 +950,10 @@ export namespace vmmigration_v1 {
946950
* The service account to associate the VM with.
947951
*/
948952
serviceAccount?: string | null;
953+
/**
954+
* Optional. The storage pool used for the VM disks. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type.
955+
*/
956+
storagePool?: string | null;
949957
/**
950958
* The name of the VM to create.
951959
*/
@@ -1166,7 +1174,7 @@ export namespace vmmigration_v1 {
11661174
version?: string | null;
11671175
}
11681176
/**
1169-
* Mentions that the image import is not using OS adaptation process.
1177+
* Used when the image import is not using OS adaptation process.
11701178
*/
11711179
export interface Schema$DataDiskImageImport {}
11721180
/**

0 commit comments

Comments
 (0)