Skip to content

Commit 18c4f98

Browse files
yoshi-automationsofisl
authored andcommitted
feat(vmmigration): update the API
#### vmmigration:v1alpha1 The following keys were added: - schemas.AwsSourceVmDetails.properties.architecture.description - schemas.AwsSourceVmDetails.properties.architecture.enum - schemas.AwsSourceVmDetails.properties.architecture.enumDescriptions - schemas.AwsSourceVmDetails.properties.architecture.readOnly - schemas.AwsSourceVmDetails.properties.architecture.type - schemas.AzureSourceVmDetails.properties.architecture.description - schemas.AzureSourceVmDetails.properties.architecture.enum - schemas.AzureSourceVmDetails.properties.architecture.enumDescriptions - schemas.AzureSourceVmDetails.properties.architecture.readOnly - schemas.AzureSourceVmDetails.properties.architecture.type - schemas.AzureVmDetails.properties.architecture.description - schemas.AzureVmDetails.properties.architecture.enum - schemas.AzureVmDetails.properties.architecture.enumDescriptions - schemas.AzureVmDetails.properties.architecture.type - schemas.VmwareSourceVmDetails.properties.architecture.description - schemas.VmwareSourceVmDetails.properties.architecture.enum - schemas.VmwareSourceVmDetails.properties.architecture.enumDescriptions - schemas.VmwareSourceVmDetails.properties.architecture.readOnly - schemas.VmwareSourceVmDetails.properties.architecture.type - schemas.VmwareVmDetails.properties.architecture.description - schemas.VmwareVmDetails.properties.architecture.enum - schemas.VmwareVmDetails.properties.architecture.enumDescriptions - schemas.VmwareVmDetails.properties.architecture.readOnly - schemas.VmwareVmDetails.properties.architecture.type The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.VmCapabilities.properties.osCapabilities.items.enum - schemas.VmCapabilities.properties.osCapabilities.items.enumDescriptions #### vmmigration:v1 The following keys were added: - schemas.AwsSourceVmDetails.properties.architecture.description - schemas.AwsSourceVmDetails.properties.architecture.enum - schemas.AwsSourceVmDetails.properties.architecture.enumDescriptions - schemas.AwsSourceVmDetails.properties.architecture.readOnly - schemas.AwsSourceVmDetails.properties.architecture.type - schemas.AzureSourceVmDetails.properties.architecture.description - schemas.AzureSourceVmDetails.properties.architecture.enum - schemas.AzureSourceVmDetails.properties.architecture.enumDescriptions - schemas.AzureSourceVmDetails.properties.architecture.readOnly - schemas.AzureSourceVmDetails.properties.architecture.type - schemas.AzureVmDetails.properties.architecture.description - schemas.AzureVmDetails.properties.architecture.enum - schemas.AzureVmDetails.properties.architecture.enumDescriptions - schemas.AzureVmDetails.properties.architecture.type - schemas.VmwareSourceVmDetails.properties.architecture.description - schemas.VmwareSourceVmDetails.properties.architecture.enum - schemas.VmwareSourceVmDetails.properties.architecture.enumDescriptions - schemas.VmwareSourceVmDetails.properties.architecture.readOnly - schemas.VmwareSourceVmDetails.properties.architecture.type - schemas.VmwareVmDetails.properties.architecture.description - schemas.VmwareVmDetails.properties.architecture.enum - schemas.VmwareVmDetails.properties.architecture.enumDescriptions - schemas.VmwareVmDetails.properties.architecture.readOnly - schemas.VmwareVmDetails.properties.architecture.type The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.VmCapabilities.properties.osCapabilities.items.enum - schemas.VmCapabilities.properties.osCapabilities.items.enumDescriptions
1 parent 939d2da commit 18c4f98

File tree

4 files changed

+202
-10
lines changed

4 files changed

+202
-10
lines changed

‎discovery/vmmigration-v1.json

Lines changed: 80 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@
666666
"operations": {
667667
"methods": {
668668
"cancel": {
669-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
669+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
670670
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
671671
"httpMethod": "POST",
672672
"id": "vmmigration.projects.locations.operations.cancel",
@@ -2220,7 +2220,7 @@
22202220
}
22212221
}
22222222
},
2223-
"revision": "20240912",
2223+
"revision": "20250116",
22242224
"rootUrl": "https://vmmigration.googleapis.com/",
22252225
"schemas": {
22262226
"AccessKeyCredentials": {
@@ -2430,6 +2430,21 @@
24302430
"description": "Represent the source AWS VM details.",
24312431
"id": "AwsSourceVmDetails",
24322432
"properties": {
2433+
"architecture": {
2434+
"description": "Output only. The VM architecture.",
2435+
"enum": [
2436+
"VM_ARCHITECTURE_UNSPECIFIED",
2437+
"VM_ARCHITECTURE_X86_FAMILY",
2438+
"VM_ARCHITECTURE_ARM64"
2439+
],
2440+
"enumDescriptions": [
2441+
"The architecture is unknown.",
2442+
"The architecture is one of the x86 architectures.",
2443+
"The architecture is ARM64."
2444+
],
2445+
"readOnly": true,
2446+
"type": "string"
2447+
},
24332448
"committedStorageBytes": {
24342449
"description": "Output only. The total size of the disks being migrated in bytes.",
24352450
"format": "int64",
@@ -2700,6 +2715,21 @@
27002715
"description": "Represent the source Azure VM details.",
27012716
"id": "AzureSourceVmDetails",
27022717
"properties": {
2718+
"architecture": {
2719+
"description": "Output only. The VM architecture.",
2720+
"enum": [
2721+
"VM_ARCHITECTURE_UNSPECIFIED",
2722+
"VM_ARCHITECTURE_X86_FAMILY",
2723+
"VM_ARCHITECTURE_ARM64"
2724+
],
2725+
"enumDescriptions": [
2726+
"The architecture is unknown.",
2727+
"The architecture is one of the x86 architectures.",
2728+
"The architecture is ARM64."
2729+
],
2730+
"readOnly": true,
2731+
"type": "string"
2732+
},
27032733
"committedStorageBytes": {
27042734
"description": "Output only. The total size of the disks being migrated in bytes.",
27052735
"format": "int64",
@@ -2741,6 +2771,20 @@
27412771
"description": "AzureVmDetails describes a VM in Azure.",
27422772
"id": "AzureVmDetails",
27432773
"properties": {
2774+
"architecture": {
2775+
"description": "The CPU architecture.",
2776+
"enum": [
2777+
"VM_ARCHITECTURE_UNSPECIFIED",
2778+
"VM_ARCHITECTURE_X86_FAMILY",
2779+
"VM_ARCHITECTURE_ARM64"
2780+
],
2781+
"enumDescriptions": [
2782+
"The architecture is unknown.",
2783+
"The architecture is one of the x86 architectures.",
2784+
"The architecture is ARM64."
2785+
],
2786+
"type": "string"
2787+
},
27442788
"bootOption": {
27452789
"description": "The VM Boot Option.",
27462790
"enum": [
@@ -5763,12 +5807,14 @@
57635807
"enum": [
57645808
"OS_CAPABILITY_UNSPECIFIED",
57655809
"OS_CAPABILITY_NVME_STORAGE_ACCESS",
5766-
"OS_CAPABILITY_GVNIC_NETWORK_INTERFACE"
5810+
"OS_CAPABILITY_GVNIC_NETWORK_INTERFACE",
5811+
"OS_CAPABILITY_IDPF_NETWORK_INTERFACE"
57675812
],
57685813
"enumDescriptions": [
57695814
"This is for API compatibility only and is not in use.",
57705815
"NVMe driver installed and the VM can use NVMe PD or local SSD.",
5771-
"gVNIC virtual NIC driver supported."
5816+
"gVNIC virtual NIC driver supported.",
5817+
"IDPF virtual NIC driver supported."
57725818
],
57735819
"type": "string"
57745820
},
@@ -5899,6 +5945,21 @@
58995945
"description": "Represent the source Vmware VM details.",
59005946
"id": "VmwareSourceVmDetails",
59015947
"properties": {
5948+
"architecture": {
5949+
"description": "Output only. The VM architecture.",
5950+
"enum": [
5951+
"VM_ARCHITECTURE_UNSPECIFIED",
5952+
"VM_ARCHITECTURE_X86_FAMILY",
5953+
"VM_ARCHITECTURE_ARM64"
5954+
],
5955+
"enumDescriptions": [
5956+
"The architecture is unknown.",
5957+
"The architecture is one of the x86 architectures.",
5958+
"The architecture is ARM64."
5959+
],
5960+
"readOnly": true,
5961+
"type": "string"
5962+
},
59025963
"committedStorageBytes": {
59035964
"description": "Output only. The total size of the disks being migrated in bytes.",
59045965
"format": "int64",
@@ -5940,6 +6001,21 @@
59406001
"description": "VmwareVmDetails describes a VM in vCenter.",
59416002
"id": "VmwareVmDetails",
59426003
"properties": {
6004+
"architecture": {
6005+
"description": "Output only. The CPU architecture.",
6006+
"enum": [
6007+
"VM_ARCHITECTURE_UNSPECIFIED",
6008+
"VM_ARCHITECTURE_X86_FAMILY",
6009+
"VM_ARCHITECTURE_ARM64"
6010+
],
6011+
"enumDescriptions": [
6012+
"The architecture is unknown.",
6013+
"The architecture is one of the x86 architectures.",
6014+
"The architecture is ARM64."
6015+
],
6016+
"readOnly": true,
6017+
"type": "string"
6018+
},
59436019
"bootOption": {
59446020
"description": "Output only. The VM Boot Option.",
59456021
"enum": [

‎discovery/vmmigration-v1alpha1.json

Lines changed: 80 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@
666666
"operations": {
667667
"methods": {
668668
"cancel": {
669-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
669+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
670670
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
671671
"httpMethod": "POST",
672672
"id": "vmmigration.projects.locations.operations.cancel",
@@ -2220,7 +2220,7 @@
22202220
}
22212221
}
22222222
},
2223-
"revision": "20240912",
2223+
"revision": "20250116",
22242224
"rootUrl": "https://vmmigration.googleapis.com/",
22252225
"schemas": {
22262226
"AccessKeyCredentials": {
@@ -2430,6 +2430,21 @@
24302430
"description": "Represent the source AWS VM details.",
24312431
"id": "AwsSourceVmDetails",
24322432
"properties": {
2433+
"architecture": {
2434+
"description": "Output only. The VM architecture.",
2435+
"enum": [
2436+
"VM_ARCHITECTURE_UNSPECIFIED",
2437+
"VM_ARCHITECTURE_X86_FAMILY",
2438+
"VM_ARCHITECTURE_ARM64"
2439+
],
2440+
"enumDescriptions": [
2441+
"The architecture is unknown.",
2442+
"The architecture is one of the x86 architectures.",
2443+
"The architecture is ARM64."
2444+
],
2445+
"readOnly": true,
2446+
"type": "string"
2447+
},
24332448
"committedStorageBytes": {
24342449
"description": "Output only. The total size of the disks being migrated in bytes.",
24352450
"format": "int64",
@@ -2700,6 +2715,21 @@
27002715
"description": "Represent the source Azure VM details.",
27012716
"id": "AzureSourceVmDetails",
27022717
"properties": {
2718+
"architecture": {
2719+
"description": "Output only. The VM architecture.",
2720+
"enum": [
2721+
"VM_ARCHITECTURE_UNSPECIFIED",
2722+
"VM_ARCHITECTURE_X86_FAMILY",
2723+
"VM_ARCHITECTURE_ARM64"
2724+
],
2725+
"enumDescriptions": [
2726+
"The architecture is unknown.",
2727+
"The architecture is one of the x86 architectures.",
2728+
"The architecture is ARM64."
2729+
],
2730+
"readOnly": true,
2731+
"type": "string"
2732+
},
27032733
"committedStorageBytes": {
27042734
"description": "Output only. The total size of the disks being migrated in bytes.",
27052735
"format": "int64",
@@ -2741,6 +2771,20 @@
27412771
"description": "AzureVmDetails describes a VM in Azure.",
27422772
"id": "AzureVmDetails",
27432773
"properties": {
2774+
"architecture": {
2775+
"description": "The CPU architecture.",
2776+
"enum": [
2777+
"VM_ARCHITECTURE_UNSPECIFIED",
2778+
"VM_ARCHITECTURE_X86_FAMILY",
2779+
"VM_ARCHITECTURE_ARM64"
2780+
],
2781+
"enumDescriptions": [
2782+
"The architecture is unknown.",
2783+
"The architecture is one of the x86 architectures.",
2784+
"The architecture is ARM64."
2785+
],
2786+
"type": "string"
2787+
},
27442788
"bootOption": {
27452789
"description": "The VM Boot Option.",
27462790
"enum": [
@@ -5969,12 +6013,14 @@
59696013
"enum": [
59706014
"OS_CAPABILITY_UNSPECIFIED",
59716015
"OS_CAPABILITY_NVME_STORAGE_ACCESS",
5972-
"OS_CAPABILITY_GVNIC_NETWORK_INTERFACE"
6016+
"OS_CAPABILITY_GVNIC_NETWORK_INTERFACE",
6017+
"OS_CAPABILITY_IDPF_NETWORK_INTERFACE"
59736018
],
59746019
"enumDescriptions": [
59756020
"This is for API compatibility only and is not in use.",
59766021
"NVMe driver installed and the VM can use NVMe PD or local SSD.",
5977-
"gVNIC virtual NIC driver supported."
6022+
"gVNIC virtual NIC driver supported.",
6023+
"IDPF virtual NIC driver supported."
59786024
],
59796025
"type": "string"
59806026
},
@@ -6153,6 +6199,21 @@
61536199
"description": "Represent the source Vmware VM details.",
61546200
"id": "VmwareSourceVmDetails",
61556201
"properties": {
6202+
"architecture": {
6203+
"description": "Output only. The VM architecture.",
6204+
"enum": [
6205+
"VM_ARCHITECTURE_UNSPECIFIED",
6206+
"VM_ARCHITECTURE_X86_FAMILY",
6207+
"VM_ARCHITECTURE_ARM64"
6208+
],
6209+
"enumDescriptions": [
6210+
"The architecture is unknown.",
6211+
"The architecture is one of the x86 architectures.",
6212+
"The architecture is ARM64."
6213+
],
6214+
"readOnly": true,
6215+
"type": "string"
6216+
},
61566217
"committedStorageBytes": {
61576218
"description": "Output only. The total size of the disks being migrated in bytes.",
61586219
"format": "int64",
@@ -6194,6 +6255,21 @@
61946255
"description": "VmwareVmDetails describes a VM in vCenter.",
61956256
"id": "VmwareVmDetails",
61966257
"properties": {
6258+
"architecture": {
6259+
"description": "Output only. The CPU architecture.",
6260+
"enum": [
6261+
"VM_ARCHITECTURE_UNSPECIFIED",
6262+
"VM_ARCHITECTURE_X86_FAMILY",
6263+
"VM_ARCHITECTURE_ARM64"
6264+
],
6265+
"enumDescriptions": [
6266+
"The architecture is unknown.",
6267+
"The architecture is one of the x86 architectures.",
6268+
"The architecture is ARM64."
6269+
],
6270+
"readOnly": true,
6271+
"type": "string"
6272+
},
61976273
"bootOption": {
61986274
"description": "Output only. The VM Boot Option.",
61996275
"enum": [

‎src/apis/vmmigration/v1.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ export namespace vmmigration_v1 {
272272
* Represent the source AWS VM details.
273273
*/
274274
export interface Schema$AwsSourceVmDetails {
275+
/**
276+
* Output only. The VM architecture.
277+
*/
278+
architecture?: string | null;
275279
/**
276280
* Output only. The total size of the disks being migrated in bytes.
277281
*/
@@ -429,6 +433,10 @@ export namespace vmmigration_v1 {
429433
* Represent the source Azure VM details.
430434
*/
431435
export interface Schema$AzureSourceVmDetails {
436+
/**
437+
* Output only. The VM architecture.
438+
*/
439+
architecture?: string | null;
432440
/**
433441
* Output only. The total size of the disks being migrated in bytes.
434442
*/
@@ -450,6 +458,10 @@ export namespace vmmigration_v1 {
450458
* AzureVmDetails describes a VM in Azure.
451459
*/
452460
export interface Schema$AzureVmDetails {
461+
/**
462+
* The CPU architecture.
463+
*/
464+
architecture?: string | null;
453465
/**
454466
* The VM Boot Option.
455467
*/
@@ -2551,6 +2563,10 @@ export namespace vmmigration_v1 {
25512563
* Represent the source Vmware VM details.
25522564
*/
25532565
export interface Schema$VmwareSourceVmDetails {
2566+
/**
2567+
* Output only. The VM architecture.
2568+
*/
2569+
architecture?: string | null;
25542570
/**
25552571
* Output only. The total size of the disks being migrated in bytes.
25562572
*/
@@ -2572,6 +2588,10 @@ export namespace vmmigration_v1 {
25722588
* VmwareVmDetails describes a VM in vCenter.
25732589
*/
25742590
export interface Schema$VmwareVmDetails {
2591+
/**
2592+
* Output only. The CPU architecture.
2593+
*/
2594+
architecture?: string | null;
25752595
/**
25762596
* Output only. The VM Boot Option.
25772597
*/
@@ -4345,7 +4365,7 @@ export namespace vmmigration_v1 {
43454365
}
43464366

43474367
/**
4348-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
4368+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
43494369
*
43504370
* @param params - Parameters for request
43514371
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)