Skip to content

Commit 637e7ec

Browse files
feat(vmmigration): update the API
#### vmmigration:v1alpha1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.description - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.enum - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.enumDescriptions - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.type #### vmmigration:v1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.description - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.enum - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.enumDescriptions - schemas.ImageImportOsAdaptationParameters.properties.bootConversion.type
1 parent fbd86e4 commit 637e7ec

File tree

4 files changed

+58
-2
lines changed

4 files changed

+58
-2
lines changed

discovery/vmmigration-v1.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -2220,7 +2226,7 @@
22202226
}
22212227
}
22222228
},
2223-
"revision": "20250213",
2229+
"revision": "20250321",
22242230
"rootUrl": "https://vmmigration.googleapis.com/",
22252231
"schemas": {
22262232
"AccessKeyCredentials": {
@@ -4199,6 +4205,20 @@
41994205
"description": "Parameters affecting the OS adaptation process.",
42004206
"id": "ImageImportOsAdaptationParameters",
42014207
"properties": {
4208+
"bootConversion": {
4209+
"description": "Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion",
4210+
"enum": [
4211+
"BOOT_CONVERSION_UNSPECIFIED",
4212+
"NONE",
4213+
"BIOS_TO_EFI"
4214+
],
4215+
"enumDescriptions": [
4216+
"Unspecified conversion type.",
4217+
"No conversion.",
4218+
"Convert from BIOS to EFI."
4219+
],
4220+
"type": "string"
4221+
},
42024222
"generalize": {
42034223
"description": "Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).",
42044224
"type": "boolean"

discovery/vmmigration-v1alpha1.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -2220,7 +2226,7 @@
22202226
}
22212227
}
22222228
},
2223-
"revision": "20250213",
2229+
"revision": "20250321",
22242230
"rootUrl": "https://vmmigration.googleapis.com/",
22252231
"schemas": {
22262232
"AccessKeyCredentials": {
@@ -4234,6 +4240,20 @@
42344240
"description": "Parameters affecting the OS adaptation process.",
42354241
"id": "ImageImportOsAdaptationParameters",
42364242
"properties": {
4243+
"bootConversion": {
4244+
"description": "Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion",
4245+
"enum": [
4246+
"BOOT_CONVERSION_UNSPECIFIED",
4247+
"NONE",
4248+
"BIOS_TO_EFI"
4249+
],
4250+
"enumDescriptions": [
4251+
"Unspecified conversion type.",
4252+
"No conversion.",
4253+
"Convert from BIOS to EFI."
4254+
],
4255+
"type": "string"
4256+
},
42374257
"generalize": {
42384258
"description": "Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).",
42394259
"type": "boolean"

src/apis/vmmigration/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,6 +1396,10 @@ export namespace vmmigration_v1 {
13961396
* Parameters affecting the OS adaptation process.
13971397
*/
13981398
export interface Schema$ImageImportOsAdaptationParameters {
1399+
/**
1400+
* Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion
1401+
*/
1402+
bootConversion?: string | null;
13991403
/**
14001404
* Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
14011405
*/
@@ -2870,6 +2874,10 @@ export namespace vmmigration_v1 {
28702874
}
28712875
export interface Params$Resource$Projects$Locations$List
28722876
extends StandardParameters {
2877+
/**
2878+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2879+
*/
2880+
extraLocationTypes?: string[];
28732881
/**
28742882
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
28752883
*/

src/apis/vmmigration/v1alpha1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,6 +1417,10 @@ export namespace vmmigration_v1alpha1 {
14171417
* Parameters affecting the OS adaptation process.
14181418
*/
14191419
export interface Schema$ImageImportOsAdaptationParameters {
1420+
/**
1421+
* Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion
1422+
*/
1423+
bootConversion?: string | null;
14201424
/**
14211425
* Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
14221426
*/
@@ -3036,6 +3040,10 @@ export namespace vmmigration_v1alpha1 {
30363040
}
30373041
export interface Params$Resource$Projects$Locations$List
30383042
extends StandardParameters {
3043+
/**
3044+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
3045+
*/
3046+
extraLocationTypes?: string[];
30393047
/**
30403048
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
30413049
*/

0 commit comments

Comments
 (0)