Skip to content

Commit dcc9f69

Browse files
feat(vmmigration): update the API
#### vmmigration:v1alpha1 The following keys were added: - schemas.DataDiskImageImport.properties.guestOsFeatures.description - schemas.DataDiskImageImport.properties.guestOsFeatures.items.type - schemas.DataDiskImageImport.properties.guestOsFeatures.type #### vmmigration:v1 The following keys were added: - schemas.DataDiskImageImport.properties.guestOsFeatures.description - schemas.DataDiskImageImport.properties.guestOsFeatures.items.type - schemas.DataDiskImageImport.properties.guestOsFeatures.type
1 parent 9db7ba9 commit dcc9f69

File tree

4 files changed

+32
-6
lines changed

4 files changed

+32
-6
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": "20251030",
2551+
"revision": "20251106",
25522552
"rootUrl": "https://vmmigration.googleapis.com/",
25532553
"schemas": {
25542554
"AccessKeyCredentials": {
@@ -4163,7 +4163,15 @@
41634163
"DataDiskImageImport": {
41644164
"description": "Used when the image import is not using OS adaptation process.",
41654165
"id": "DataDiskImageImport",
4166-
"properties": {},
4166+
"properties": {
4167+
"guestOsFeatures": {
4168+
"description": "Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.",
4169+
"items": {
4170+
"type": "string"
4171+
},
4172+
"type": "array"
4173+
}
4174+
},
41674175
"type": "object"
41684176
},
41694177
"DatacenterConnector": {

discovery/vmmigration-v1alpha1.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,7 @@
25482548
}
25492549
}
25502550
},
2551-
"revision": "20251030",
2551+
"revision": "20251106",
25522552
"rootUrl": "https://vmmigration.googleapis.com/",
25532553
"schemas": {
25542554
"AccessKeyCredentials": {
@@ -4198,7 +4198,15 @@
41984198
"DataDiskImageImport": {
41994199
"description": "Used when the image import is not using OS adaptation process.",
42004200
"id": "DataDiskImageImport",
4201-
"properties": {},
4201+
"properties": {
4202+
"guestOsFeatures": {
4203+
"description": "Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.",
4204+
"items": {
4205+
"type": "string"
4206+
},
4207+
"type": "array"
4208+
}
4209+
},
42024210
"type": "object"
42034211
},
42044212
"DatacenterConnector": {

src/apis/vmmigration/v1.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,12 @@ export namespace vmmigration_v1 {
11761176
/**
11771177
* Used when the image import is not using OS adaptation process.
11781178
*/
1179-
export interface Schema$DataDiskImageImport {}
1179+
export interface Schema$DataDiskImageImport {
1180+
/**
1181+
* Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
1182+
*/
1183+
guestOsFeatures?: string[] | null;
1184+
}
11801185
/**
11811186
* A message describing a data disk.
11821187
*/

src/apis/vmmigration/v1alpha1.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,12 @@ export namespace vmmigration_v1alpha1 {
11971197
/**
11981198
* Used when the image import is not using OS adaptation process.
11991199
*/
1200-
export interface Schema$DataDiskImageImport {}
1200+
export interface Schema$DataDiskImageImport {
1201+
/**
1202+
* Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
1203+
*/
1204+
guestOsFeatures?: string[] | null;
1205+
}
12011206
/**
12021207
* A message describing a data disk.
12031208
*/

0 commit comments

Comments
 (0)