Skip to content

Commit 689775f

Browse files
feat(vmmigration): update the api
#### vmmigration:v1 The following keys were deleted: - schemas.AddGroupMigrationResponse (Total Keys: 2) - schemas.CancelCloneJobResponse (Total Keys: 2) - schemas.CancelCutoverJobResponse (Total Keys: 2) - schemas.FinalizeMigrationResponse (Total Keys: 2) - schemas.PauseMigrationResponse (Total Keys: 2) - schemas.RemoveGroupMigrationResponse (Total Keys: 2) - schemas.ResumeMigrationResponse (Total Keys: 2) - schemas.StartMigrationResponse (Total Keys: 2) #### vmmigration:v1alpha1 The following keys were added: - schemas.CycleStep (Total Keys: 9) - schemas.InitializingReplicationStep (Total Keys: 2) - schemas.PostProcessingStep (Total Keys: 2) - schemas.ReplicatingStep (Total Keys: 10) - schemas.ReplicationCycle.properties.endTime (Total Keys: 2) - schemas.ReplicationCycle.properties.steps (Total Keys: 2) - schemas.ReplicationCycle.properties.totalPauseDuration (Total Keys: 2)
1 parent 584fae0 commit 689775f

File tree

3 files changed

+167
-54
lines changed

3 files changed

+167
-54
lines changed

docs/dyn/vmmigration_v1alpha1.projects.locations.sources.migratingVms.html

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,27 @@ <h3>Method Details</h3>
239239
},
240240
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
241241
&quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
242+
&quot;endTime&quot;: &quot;A String&quot;, # The time the replication cycle has ended.
242243
&quot;progress&quot;: 42, # The current progress in percentage of this cycle.
243244
&quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
244245
&quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
246+
&quot;steps&quot;: [ # The cycle&#x27;s steps list reflecting its progress.
247+
{ # CycleStep hold information about a step progress.
248+
&quot;endTime&quot;: &quot;A String&quot;, # The time the cycle step has ended.
249+
&quot;initializingReplication&quot;: { # InitializingReplicationStep contains specific step details. # Initializing replication step.
250+
},
251+
&quot;postProcessing&quot;: { # PostProcessingStep contains specific step details. # Post processing step.
252+
},
253+
&quot;replicating&quot;: { # ReplicatingStep contains specific step details. # Replicating step.
254+
&quot;lastThirtyMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 30 minutes in bytes per second.
255+
&quot;lastTwoMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 2 minutes in bytes per second.
256+
&quot;replicatedBytes&quot;: &quot;A String&quot;, # Replicated bytes in the step.
257+
&quot;totalBytes&quot;: &quot;A String&quot;, # Total bytes to be handled in the step.
258+
},
259+
&quot;startTime&quot;: &quot;A String&quot;, # The time the cycle step has started.
260+
},
261+
],
262+
&quot;totalPauseDuration&quot;: &quot;A String&quot;, # The accumulated duration the replication cycle was paused.
245263
},
246264
&quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
247265
&quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
@@ -909,9 +927,27 @@ <h3>Method Details</h3>
909927
},
910928
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
911929
&quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
930+
&quot;endTime&quot;: &quot;A String&quot;, # The time the replication cycle has ended.
912931
&quot;progress&quot;: 42, # The current progress in percentage of this cycle.
913932
&quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
914933
&quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
934+
&quot;steps&quot;: [ # The cycle&#x27;s steps list reflecting its progress.
935+
{ # CycleStep hold information about a step progress.
936+
&quot;endTime&quot;: &quot;A String&quot;, # The time the cycle step has ended.
937+
&quot;initializingReplication&quot;: { # InitializingReplicationStep contains specific step details. # Initializing replication step.
938+
},
939+
&quot;postProcessing&quot;: { # PostProcessingStep contains specific step details. # Post processing step.
940+
},
941+
&quot;replicating&quot;: { # ReplicatingStep contains specific step details. # Replicating step.
942+
&quot;lastThirtyMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 30 minutes in bytes per second.
943+
&quot;lastTwoMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 2 minutes in bytes per second.
944+
&quot;replicatedBytes&quot;: &quot;A String&quot;, # Replicated bytes in the step.
945+
&quot;totalBytes&quot;: &quot;A String&quot;, # Total bytes to be handled in the step.
946+
},
947+
&quot;startTime&quot;: &quot;A String&quot;, # The time the cycle step has started.
948+
},
949+
],
950+
&quot;totalPauseDuration&quot;: &quot;A String&quot;, # The accumulated duration the replication cycle was paused.
915951
},
916952
&quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
917953
&quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
@@ -1479,9 +1515,27 @@ <h3>Method Details</h3>
14791515
},
14801516
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
14811517
&quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
1518+
&quot;endTime&quot;: &quot;A String&quot;, # The time the replication cycle has ended.
14821519
&quot;progress&quot;: 42, # The current progress in percentage of this cycle.
14831520
&quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
14841521
&quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
1522+
&quot;steps&quot;: [ # The cycle&#x27;s steps list reflecting its progress.
1523+
{ # CycleStep hold information about a step progress.
1524+
&quot;endTime&quot;: &quot;A String&quot;, # The time the cycle step has ended.
1525+
&quot;initializingReplication&quot;: { # InitializingReplicationStep contains specific step details. # Initializing replication step.
1526+
},
1527+
&quot;postProcessing&quot;: { # PostProcessingStep contains specific step details. # Post processing step.
1528+
},
1529+
&quot;replicating&quot;: { # ReplicatingStep contains specific step details. # Replicating step.
1530+
&quot;lastThirtyMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 30 minutes in bytes per second.
1531+
&quot;lastTwoMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 2 minutes in bytes per second.
1532+
&quot;replicatedBytes&quot;: &quot;A String&quot;, # Replicated bytes in the step.
1533+
&quot;totalBytes&quot;: &quot;A String&quot;, # Total bytes to be handled in the step.
1534+
},
1535+
&quot;startTime&quot;: &quot;A String&quot;, # The time the cycle step has started.
1536+
},
1537+
],
1538+
&quot;totalPauseDuration&quot;: &quot;A String&quot;, # The accumulated duration the replication cycle was paused.
14851539
},
14861540
&quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
14871541
&quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
@@ -2053,9 +2107,27 @@ <h3>Method Details</h3>
20532107
},
20542108
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source).
20552109
&quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
2110+
&quot;endTime&quot;: &quot;A String&quot;, # The time the replication cycle has ended.
20562111
&quot;progress&quot;: 42, # The current progress in percentage of this cycle.
20572112
&quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
20582113
&quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
2114+
&quot;steps&quot;: [ # The cycle&#x27;s steps list reflecting its progress.
2115+
{ # CycleStep hold information about a step progress.
2116+
&quot;endTime&quot;: &quot;A String&quot;, # The time the cycle step has ended.
2117+
&quot;initializingReplication&quot;: { # InitializingReplicationStep contains specific step details. # Initializing replication step.
2118+
},
2119+
&quot;postProcessing&quot;: { # PostProcessingStep contains specific step details. # Post processing step.
2120+
},
2121+
&quot;replicating&quot;: { # ReplicatingStep contains specific step details. # Replicating step.
2122+
&quot;lastThirtyMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 30 minutes in bytes per second.
2123+
&quot;lastTwoMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 2 minutes in bytes per second.
2124+
&quot;replicatedBytes&quot;: &quot;A String&quot;, # Replicated bytes in the step.
2125+
&quot;totalBytes&quot;: &quot;A String&quot;, # Total bytes to be handled in the step.
2126+
},
2127+
&quot;startTime&quot;: &quot;A String&quot;, # The time the cycle step has started.
2128+
},
2129+
],
2130+
&quot;totalPauseDuration&quot;: &quot;A String&quot;, # The accumulated duration the replication cycle was paused.
20592131
},
20602132
&quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
20612133
&quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.

googleapiclient/discovery_cache/documents/vmmigration.v1.json

Lines changed: 5 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@
18581858
}
18591859
}
18601860
},
1861-
"revision": "20211229",
1861+
"revision": "20220120",
18621862
"rootUrl": "https://vmmigration.googleapis.com/",
18631863
"schemas": {
18641864
"AddGroupMigrationRequest": {
@@ -1872,12 +1872,6 @@
18721872
},
18731873
"type": "object"
18741874
},
1875-
"AddGroupMigrationResponse": {
1876-
"description": "Response message for 'AddGroupMigration' request.",
1877-
"id": "AddGroupMigrationResponse",
1878-
"properties": {},
1879-
"type": "object"
1880-
},
18811875
"AppliedLicense": {
18821876
"description": "AppliedLicense holds the license data returned by adaptation module report.",
18831877
"id": "AppliedLicense",
@@ -1911,24 +1905,12 @@
19111905
"properties": {},
19121906
"type": "object"
19131907
},
1914-
"CancelCloneJobResponse": {
1915-
"description": "Response message for 'CancelCloneJob' request.",
1916-
"id": "CancelCloneJobResponse",
1917-
"properties": {},
1918-
"type": "object"
1919-
},
19201908
"CancelCutoverJobRequest": {
19211909
"description": "Request message for 'CancelCutoverJob' request.",
19221910
"id": "CancelCutoverJobRequest",
19231911
"properties": {},
19241912
"type": "object"
19251913
},
1926-
"CancelCutoverJobResponse": {
1927-
"description": "Response message for 'CancelCutoverJob' request.",
1928-
"id": "CancelCutoverJobResponse",
1929-
"properties": {},
1930-
"type": "object"
1931-
},
19321914
"CancelOperationRequest": {
19331915
"description": "The request message for Operations.CancelOperation.",
19341916
"id": "CancelOperationRequest",
@@ -2457,12 +2439,6 @@
24572439
"properties": {},
24582440
"type": "object"
24592441
},
2460-
"FinalizeMigrationResponse": {
2461-
"description": "Response message for 'FinalizeMigration' request.",
2462-
"id": "FinalizeMigrationResponse",
2463-
"properties": {},
2464-
"type": "object"
2465-
},
24662442
"Group": {
24672443
"description": "Describes message for 'Group' resource. The Group is a collections of several MigratingVms.",
24682444
"id": "Group",
@@ -2964,7 +2940,8 @@
29642940
"OS_ADAPTATION_ERROR",
29652941
"CLONE_ERROR",
29662942
"CUTOVER_ERROR",
2967-
"UTILIZATION_REPORT_ERROR"
2943+
"UTILIZATION_REPORT_ERROR",
2944+
"APPLIANCE_UPGRADE_ERROR"
29682945
],
29692946
"enumDescriptions": [
29702947
"Default value. This value is not used.",
@@ -2975,7 +2952,8 @@
29752952
"Migrate for Compute encountered an error during OS adaptation.",
29762953
"Migrate for Compute encountered an error in clone operation.",
29772954
"Migrate for Compute encountered an error in cutover operation.",
2978-
"Migrate for Compute encountered an error during utilization report creation."
2955+
"Migrate for Compute encountered an error during utilization report creation.",
2956+
"Migrate for Compute encountered an error during appliance upgrade."
29792957
],
29802958
"readOnly": true,
29812959
"type": "string"
@@ -3110,12 +3088,6 @@
31103088
"properties": {},
31113089
"type": "object"
31123090
},
3113-
"PauseMigrationResponse": {
3114-
"description": "Response message for 'PauseMigration' request.",
3115-
"id": "PauseMigrationResponse",
3116-
"properties": {},
3117-
"type": "object"
3118-
},
31193091
"RemoveGroupMigrationRequest": {
31203092
"description": "Request message for 'RemoveMigration' request.",
31213093
"id": "RemoveGroupMigrationRequest",
@@ -3127,12 +3099,6 @@
31273099
},
31283100
"type": "object"
31293101
},
3130-
"RemoveGroupMigrationResponse": {
3131-
"description": "Response message for 'RemoveMigration' request.",
3132-
"id": "RemoveGroupMigrationResponse",
3133-
"properties": {},
3134-
"type": "object"
3135-
},
31363102
"ReplicationCycle": {
31373103
"description": "ReplicationCycle contains information about the current replication cycle status.",
31383104
"id": "ReplicationCycle",
@@ -3168,12 +3134,6 @@
31683134
"properties": {},
31693135
"type": "object"
31703136
},
3171-
"ResumeMigrationResponse": {
3172-
"description": "Response message for 'ResumeMigration' request.",
3173-
"id": "ResumeMigrationResponse",
3174-
"properties": {},
3175-
"type": "object"
3176-
},
31773137
"SchedulePolicy": {
31783138
"description": "A policy for scheduling replications.",
31793139
"id": "SchedulePolicy",
@@ -3267,12 +3227,6 @@
32673227
"properties": {},
32683228
"type": "object"
32693229
},
3270-
"StartMigrationResponse": {
3271-
"description": "Response message for 'StartMigration' request.",
3272-
"id": "StartMigrationResponse",
3273-
"properties": {},
3274-
"type": "object"
3275-
},
32763230
"Status": {
32773231
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
32783232
"id": "Status",

googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json

Lines changed: 90 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@
18581858
}
18591859
}
18601860
},
1861-
"revision": "20211229",
1861+
"revision": "20220120",
18621862
"rootUrl": "https://vmmigration.googleapis.com/",
18631863
"schemas": {
18641864
"AddGroupMigrationRequest": {
@@ -2367,6 +2367,35 @@
23672367
},
23682368
"type": "object"
23692369
},
2370+
"CycleStep": {
2371+
"description": "CycleStep hold information about a step progress.",
2372+
"id": "CycleStep",
2373+
"properties": {
2374+
"endTime": {
2375+
"description": "The time the cycle step has ended.",
2376+
"format": "google-datetime",
2377+
"type": "string"
2378+
},
2379+
"initializingReplication": {
2380+
"$ref": "InitializingReplicationStep",
2381+
"description": "Initializing replication step."
2382+
},
2383+
"postProcessing": {
2384+
"$ref": "PostProcessingStep",
2385+
"description": "Post processing step."
2386+
},
2387+
"replicating": {
2388+
"$ref": "ReplicatingStep",
2389+
"description": "Replicating step."
2390+
},
2391+
"startTime": {
2392+
"description": "The time the cycle step has started.",
2393+
"format": "google-datetime",
2394+
"type": "string"
2395+
}
2396+
},
2397+
"type": "object"
2398+
},
23702399
"DatacenterConnector": {
23712400
"description": "DatacenterConnector message describes a connector between the Source and GCP, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to GCP and support vm migration data transfer.",
23722401
"id": "DatacenterConnector",
@@ -2499,6 +2528,12 @@
24992528
},
25002529
"type": "object"
25012530
},
2531+
"InitializingReplicationStep": {
2532+
"description": "InitializingReplicationStep contains specific step details.",
2533+
"id": "InitializingReplicationStep",
2534+
"properties": {},
2535+
"type": "object"
2536+
},
25022537
"Link": {
25032538
"description": "Describes a URL link.",
25042539
"id": "Link",
@@ -2977,7 +3012,8 @@
29773012
"OS_ADAPTATION_ERROR",
29783013
"CLONE_ERROR",
29793014
"CUTOVER_ERROR",
2980-
"UTILIZATION_REPORT_ERROR"
3015+
"UTILIZATION_REPORT_ERROR",
3016+
"APPLIANCE_UPGRADE_ERROR"
29813017
],
29823018
"enumDescriptions": [
29833019
"Default value. This value is not used.",
@@ -2988,7 +3024,8 @@
29883024
"Migrate for Compute encountered an error during OS adaptation.",
29893025
"Migrate for Compute encountered an error in clone operation.",
29903026
"Migrate for Compute encountered an error in cutover operation.",
2991-
"Migrate for Compute encountered an error during utilization report creation."
3027+
"Migrate for Compute encountered an error during utilization report creation.",
3028+
"Migrate for Compute encountered an error during appliance upgrade."
29923029
],
29933030
"readOnly": true,
29943031
"type": "string"
@@ -3123,6 +3160,12 @@
31233160
"properties": {},
31243161
"type": "object"
31253162
},
3163+
"PostProcessingStep": {
3164+
"description": "PostProcessingStep contains specific step details.",
3165+
"id": "PostProcessingStep",
3166+
"properties": {},
3167+
"type": "object"
3168+
},
31263169
"RemoveGroupMigrationRequest": {
31273170
"description": "Request message for 'RemoveMigration' request.",
31283171
"id": "RemoveGroupMigrationRequest",
@@ -3134,10 +3177,42 @@
31343177
},
31353178
"type": "object"
31363179
},
3180+
"ReplicatingStep": {
3181+
"description": "ReplicatingStep contains specific step details.",
3182+
"id": "ReplicatingStep",
3183+
"properties": {
3184+
"lastThirtyMinutesAverageBytesPerSecond": {
3185+
"description": "The source disks replication rate for the last 30 minutes in bytes per second.",
3186+
"format": "int64",
3187+
"type": "string"
3188+
},
3189+
"lastTwoMinutesAverageBytesPerSecond": {
3190+
"description": "The source disks replication rate for the last 2 minutes in bytes per second.",
3191+
"format": "int64",
3192+
"type": "string"
3193+
},
3194+
"replicatedBytes": {
3195+
"description": "Replicated bytes in the step.",
3196+
"format": "int64",
3197+
"type": "string"
3198+
},
3199+
"totalBytes": {
3200+
"description": "Total bytes to be handled in the step.",
3201+
"format": "int64",
3202+
"type": "string"
3203+
}
3204+
},
3205+
"type": "object"
3206+
},
31373207
"ReplicationCycle": {
31383208
"description": "ReplicationCycle contains information about the current replication cycle status.",
31393209
"id": "ReplicationCycle",
31403210
"properties": {
3211+
"endTime": {
3212+
"description": "The time the replication cycle has ended.",
3213+
"format": "google-datetime",
3214+
"type": "string"
3215+
},
31413216
"progress": {
31423217
"description": "The current progress in percentage of this cycle.",
31433218
"format": "int32",
@@ -3152,6 +3227,18 @@
31523227
"description": "The time the replication cycle has started.",
31533228
"format": "google-datetime",
31543229
"type": "string"
3230+
},
3231+
"steps": {
3232+
"description": "The cycle's steps list reflecting its progress.",
3233+
"items": {
3234+
"$ref": "CycleStep"
3235+
},
3236+
"type": "array"
3237+
},
3238+
"totalPauseDuration": {
3239+
"description": "The accumulated duration the replication cycle was paused.",
3240+
"format": "google-duration",
3241+
"type": "string"
31553242
}
31563243
},
31573244
"type": "object"

0 commit comments

Comments
 (0)