Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 691039e

Browse files
committedJul 5, 2023
feat(vmmigration): update the api
#### vmmigration:v1 The following keys were added: - schemas.ReplicationCycle.properties.progressPercent.deprecated (Total Keys: 1) #### vmmigration:v1alpha1 The following keys were added: - schemas.CloneJob.properties.computeEngineVmDetails.deprecated (Total Keys: 1) - schemas.CloneJob.properties.targetDetails.deprecated (Total Keys: 1) - schemas.ComputeScheduling.properties.automaticRestart.deprecated (Total Keys: 1) - schemas.CutoverJob.properties.computeEngineVmDetails.deprecated (Total Keys: 1) - schemas.CutoverJob.properties.progress.deprecated (Total Keys: 1) - schemas.CutoverJob.properties.targetDetails.deprecated (Total Keys: 1) - schemas.MigratingVm.properties.computeEngineVmDefaults.deprecated (Total Keys: 1) - schemas.MigratingVm.properties.targetDefaults.deprecated (Total Keys: 1) - schemas.ReplicationCycle.properties.progress.deprecated (Total Keys: 1) - schemas.ReplicationCycle.properties.progressPercent.deprecated (Total Keys: 1) - schemas.Source.properties.error.deprecated (Total Keys: 1) - schemas.TargetVMDetails.deprecated (Total Keys: 1) - schemas.TargetVMDetails.properties.project.deprecated (Total Keys: 1) - schemas.UtilizationReport.properties.vmsCount.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.cpuAverage.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.cpuMax.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.diskIoRateAverage.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.diskIoRateMax.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.memoryAverage.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.memoryMax.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.networkThroughputAverage.deprecated (Total Keys: 1) - schemas.VmUtilizationMetrics.properties.networkThroughputMax.deprecated (Total Keys: 1) - schemas.VmwareVmDetails.properties.committedStorage.deprecated (Total Keys: 1)
1 parent d2b0c16 commit 691039e

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed
 

‎googleapiclient/discovery_cache/documents/vmmigration.v1.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@
19721972
}
19731973
}
19741974
},
1975-
"revision": "20230615",
1975+
"revision": "20230622",
19761976
"rootUrl": "https://vmmigration.googleapis.com/",
19771977
"schemas": {
19781978
"AccessKeyCredentials": {
@@ -3890,6 +3890,7 @@
38903890
"type": "string"
38913891
},
38923892
"progressPercent": {
3893+
"deprecated": true,
38933894
"description": "The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.",
38943895
"format": "int32",
38953896
"type": "integer"

‎googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json

+24-1
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@
19721972
}
19731973
}
19741974
},
1975-
"revision": "20230615",
1975+
"revision": "20230622",
19761976
"rootUrl": "https://vmmigration.googleapis.com/",
19771977
"schemas": {
19781978
"AccessKeyCredentials": {
@@ -2389,6 +2389,7 @@
23892389
},
23902390
"computeEngineVmDetails": {
23912391
"$ref": "TargetVMDetails",
2392+
"deprecated": true,
23922393
"description": "Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.",
23932394
"readOnly": true
23942395
},
@@ -2455,6 +2456,7 @@
24552456
},
24562457
"targetDetails": {
24572458
"$ref": "TargetVMDetails",
2459+
"deprecated": true,
24582460
"description": "Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead.",
24592461
"readOnly": true
24602462
}
@@ -2749,6 +2751,7 @@
27492751
"id": "ComputeScheduling",
27502752
"properties": {
27512753
"automaticRestart": {
2754+
"deprecated": true,
27522755
"type": "boolean"
27532756
},
27542757
"minNodeCpus": {
@@ -2818,6 +2821,7 @@
28182821
},
28192822
"computeEngineVmDetails": {
28202823
"$ref": "TargetVMDetails",
2824+
"deprecated": true,
28212825
"description": "Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.",
28222826
"readOnly": true
28232827
},
@@ -2844,6 +2848,7 @@
28442848
"type": "string"
28452849
},
28462850
"progress": {
2851+
"deprecated": true,
28472852
"description": "Output only. The current progress in percentage of the cutover job.",
28482853
"format": "int32",
28492854
"readOnly": true,
@@ -2901,6 +2906,7 @@
29012906
},
29022907
"targetDetails": {
29032908
"$ref": "TargetVMDetails",
2909+
"deprecated": true,
29042910
"description": "Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead.",
29052911
"readOnly": true
29062912
}
@@ -3513,6 +3519,7 @@
35133519
},
35143520
"computeEngineVmDefaults": {
35153521
"$ref": "TargetVMDetails",
3522+
"deprecated": true,
35163523
"description": "Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead."
35173524
},
35183525
"createTime": {
@@ -3636,6 +3643,7 @@
36363643
},
36373644
"targetDefaults": {
36383645
"$ref": "TargetVMDetails",
3646+
"deprecated": true,
36393647
"description": "The default configuration of the target VM that will be created in Google Cloud as a result of the migration. Deprecated: Use compute_engine_target_defaults instead."
36403648
},
36413649
"updateTime": {
@@ -3927,11 +3935,13 @@
39273935
"type": "string"
39283936
},
39293937
"progress": {
3938+
"deprecated": true,
39303939
"description": "The current progress in percentage of this cycle.",
39313940
"format": "int32",
39323941
"type": "integer"
39333942
},
39343943
"progressPercent": {
3944+
"deprecated": true,
39353945
"description": "The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.",
39363946
"format": "int32",
39373947
"type": "integer"
@@ -4074,6 +4084,7 @@
40744084
},
40754085
"error": {
40764086
"$ref": "Status",
4087+
"deprecated": true,
40774088
"description": "Output only. Provides details on the state of the Source in case of an error.",
40784089
"readOnly": true
40794090
},
@@ -4183,6 +4194,7 @@
41834194
"type": "object"
41844195
},
41854196
"TargetVMDetails": {
4197+
"deprecated": true,
41864198
"description": "TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project.",
41874199
"id": "TargetVMDetails",
41884200
"properties": {
@@ -4293,6 +4305,7 @@
42934305
"type": "array"
42944306
},
42954307
"project": {
4308+
"deprecated": true,
42964309
"description": "Output only. The project in which to create the VM.",
42974310
"readOnly": true,
42984311
"type": "string"
@@ -4454,6 +4467,7 @@
44544467
"type": "array"
44554468
},
44564469
"vmsCount": {
4470+
"deprecated": true,
44574471
"description": "Output only. Total number of VMs included in the report.",
44584472
"format": "int32",
44594473
"readOnly": true,
@@ -4486,6 +4500,7 @@
44864500
"id": "VmUtilizationMetrics",
44874501
"properties": {
44884502
"cpuAverage": {
4503+
"deprecated": true,
44894504
"description": "Average CPU usage, percent.",
44904505
"format": "int32",
44914506
"type": "integer"
@@ -4496,6 +4511,7 @@
44964511
"type": "integer"
44974512
},
44984513
"cpuMax": {
4514+
"deprecated": true,
44994515
"description": "Max CPU usage, percent.",
45004516
"format": "int32",
45014517
"type": "integer"
@@ -4506,6 +4522,7 @@
45064522
"type": "integer"
45074523
},
45084524
"diskIoRateAverage": {
4525+
"deprecated": true,
45094526
"description": "Average disk IO rate, in kilobytes per second.",
45104527
"format": "int64",
45114528
"type": "string"
@@ -4516,6 +4533,7 @@
45164533
"type": "string"
45174534
},
45184535
"diskIoRateMax": {
4536+
"deprecated": true,
45194537
"description": "Max disk IO rate, in kilobytes per second.",
45204538
"format": "int64",
45214539
"type": "string"
@@ -4526,6 +4544,7 @@
45264544
"type": "string"
45274545
},
45284546
"memoryAverage": {
4547+
"deprecated": true,
45294548
"description": "Average memory usage, percent.",
45304549
"format": "int32",
45314550
"type": "integer"
@@ -4536,6 +4555,7 @@
45364555
"type": "integer"
45374556
},
45384557
"memoryMax": {
4558+
"deprecated": true,
45394559
"description": "Max memory usage, percent.",
45404560
"format": "int32",
45414561
"type": "integer"
@@ -4546,6 +4566,7 @@
45464566
"type": "integer"
45474567
},
45484568
"networkThroughputAverage": {
4569+
"deprecated": true,
45494570
"description": "Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second.",
45504571
"format": "int64",
45514572
"type": "string"
@@ -4556,6 +4577,7 @@
45564577
"type": "string"
45574578
},
45584579
"networkThroughputMax": {
4580+
"deprecated": true,
45594581
"description": "Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second.",
45604582
"format": "int64",
45614583
"type": "string"
@@ -4615,6 +4637,7 @@
46154637
"type": "string"
46164638
},
46174639
"committedStorage": {
4640+
"deprecated": true,
46184641
"description": "The total size of the storage allocated to the VM in MB.",
46194642
"format": "int64",
46204643
"type": "string"

0 commit comments

Comments
 (0)
Please sign in to comment.