blob: 9d7b5d5aec0f720f0610e0f9607a45f47203b828 [file] [log] [blame]
yoshi-code-botf4773f62021-10-19 00:22:31 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="vmmigration_v1.html">VM Migration API</a> . <a href="vmmigration_v1.projects.html">projects</a> . <a href="vmmigration_v1.projects.locations.html">locations</a> . <a href="vmmigration_v1.projects.locations.sources.html">sources</a> . <a href="vmmigration_v1.projects.locations.sources.migratingVms.html">migratingVms</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="vmmigration_v1.projects.locations.sources.migratingVms.cloneJobs.html">cloneJobs()</a></code>
79</p>
80<p class="firstline">Returns the cloneJobs Resource.</p>
81
82<p class="toc_element">
83 <code><a href="vmmigration_v1.projects.locations.sources.migratingVms.cutoverJobs.html">cutoverJobs()</a></code>
84</p>
85<p class="firstline">Returns the cutoverJobs Resource.</p>
86
87<p class="toc_element">
88 <code><a href="#close">close()</a></code></p>
89<p class="firstline">Close httplib2 connections.</p>
90<p class="toc_element">
91 <code><a href="#create">create(parent, body=None, migratingVmId=None, requestId=None, x__xgafv=None)</a></code></p>
92<p class="firstline">Creates a new MigratingVm in a given Source.</p>
93<p class="toc_element">
94 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
95<p class="firstline">Deletes a single MigratingVm.</p>
96<p class="toc_element">
97 <code><a href="#finalizeMigration">finalizeMigration(migratingVm, body=None, x__xgafv=None)</a></code></p>
98<p class="firstline">Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.</p>
99<p class="toc_element">
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800100 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
yoshi-code-botf4773f62021-10-19 00:22:31 -0700101<p class="firstline">Gets details of a single MigratingVm.</p>
102<p class="toc_element">
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800103 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
yoshi-code-botf4773f62021-10-19 00:22:31 -0700104<p class="firstline">Lists MigratingVms in a given Source.</p>
105<p class="toc_element">
106 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
107<p class="firstline">Retrieves the next page of results.</p>
108<p class="toc_element">
109 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
110<p class="firstline">Updates the parameters of a single MigratingVm.</p>
111<p class="toc_element">
112 <code><a href="#pauseMigration">pauseMigration(migratingVm, body=None, x__xgafv=None)</a></code></p>
113<p class="firstline">Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused.</p>
114<p class="toc_element">
115 <code><a href="#resumeMigration">resumeMigration(migratingVm, body=None, x__xgafv=None)</a></code></p>
116<p class="firstline">Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.</p>
117<p class="toc_element">
118 <code><a href="#startMigration">startMigration(migratingVm, body=None, x__xgafv=None)</a></code></p>
119<p class="firstline">Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.</p>
120<h3>Method Details</h3>
121<div class="method">
122 <code class="details" id="close">close()</code>
123 <pre>Close httplib2 connections.</pre>
124</div>
125
126<div class="method">
127 <code class="details" id="create">create(parent, body=None, migratingVmId=None, requestId=None, x__xgafv=None)</code>
128 <pre>Creates a new MigratingVm in a given Source.
129
130Args:
131 parent: string, Required. The MigratingVm&#x27;s parent. (required)
132 body: object, The request body.
133 The object takes the form of:
134
135{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
136 &quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
137 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
138 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
139 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
140 },
141 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
142 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
143 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
144 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
145 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
146 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
147 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
148 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
149 &quot;A String&quot;,
150 ],
151 },
152 ],
153 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
154 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
155 },
156 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
157 &quot;labels&quot;: { # A map of labels to associate with the VM.
158 &quot;a_key&quot;: &quot;A String&quot;,
159 },
160 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
161 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
162 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
163 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
164 &quot;a_key&quot;: &quot;A String&quot;,
165 },
166 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
167 { # NetworkInterface represents a NIC of a VM.
168 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
169 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
170 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
171 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
172 },
173 ],
174 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
175 &quot;A String&quot;,
176 ],
177 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
178 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
179 &quot;targetProject&quot;: &quot;A String&quot;, # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
180 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
181 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
182 },
183 &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).
184 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
185 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
186 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
187 },
188 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
189 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
190 &quot;error&quot;: { # 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). # Output only. Provides details on the state of the Migrating VM in case of an error in replication.
191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
193 {
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 ],
197 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
198 },
199 &quot;group&quot;: &quot;A String&quot;, # Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
200 &quot;labels&quot;: { # The labels of the migrating VM.
201 &quot;a_key&quot;: &quot;A String&quot;,
202 },
203 &quot;lastSync&quot;: { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication.
204 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
205 },
206 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
207 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
208 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
209 &quot;skipOsAdaptation&quot;: True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM&#x27;s operating system undergoes changes and adaptations to fully function on Compute Engine.
210 },
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800211 &quot;recentCloneJobs&quot;: [ # Output only. The recent clone jobs performed on the migrating VM. This field holds the vm&#x27;s last completed clone job and the vm&#x27;s running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
212 { # CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.
213 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
214 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
215 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
216 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
217 },
218 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
219 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
220 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
221 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
222 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
223 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
224 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
225 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
226 &quot;A String&quot;,
227 ],
228 },
229 ],
230 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
231 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
232 },
233 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
234 &quot;labels&quot;: { # A map of labels to associate with the VM.
235 &quot;a_key&quot;: &quot;A String&quot;,
236 },
237 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
238 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
239 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
240 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
241 &quot;a_key&quot;: &quot;A String&quot;,
242 },
243 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
244 { # NetworkInterface represents a NIC of a VM.
245 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
246 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
247 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
248 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
249 },
250 ],
251 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
252 &quot;A String&quot;,
253 ],
254 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
255 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
256 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
257 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
258 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
259 },
260 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the clone job was created (as an API call, not when it was actually created in the target).
261 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Clone Job&#x27;s state.
262 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
263 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
264 {
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 ],
268 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
269 },
270 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
271 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
272 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
273 },
274 ],
275 &quot;recentCutoverJobs&quot;: [ # Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm&#x27;s last completed cutover job and the vm&#x27;s running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
276 { # CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.
277 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
278 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
279 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
280 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
281 },
282 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
283 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
284 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
285 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
286 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
287 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
288 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
289 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
290 &quot;A String&quot;,
291 ],
292 },
293 ],
294 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
295 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
296 },
297 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
298 &quot;labels&quot;: { # A map of labels to associate with the VM.
299 &quot;a_key&quot;: &quot;A String&quot;,
300 },
301 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
302 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
303 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
304 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
305 &quot;a_key&quot;: &quot;A String&quot;,
306 },
307 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
308 { # NetworkInterface represents a NIC of a VM.
309 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
310 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
311 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
312 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
313 },
314 ],
315 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
316 &quot;A String&quot;,
317 ],
318 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
319 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
320 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
321 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
322 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
323 },
324 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
325 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Cutover Job&#x27;s state.
326 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
327 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
328 {
329 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
330 },
331 ],
332 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
333 },
334 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
335 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
336 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
337 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
338 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
339 },
340 ],
yoshi-code-botf4773f62021-10-19 00:22:31 -0700341 &quot;sourceVmId&quot;: &quot;A String&quot;, # The unique ID of the VM in the source. The VM&#x27;s name in vSphere can be changed, so this is not the VM&#x27;s name but rather its moRef id. This id is of the form vm-.
342 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
343 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
344 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
345}
346
347 migratingVmId: string, Required. The migratingVm identifier.
348 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
349 x__xgafv: string, V1 error format.
350 Allowed values
351 1 - v1 error format
352 2 - v2 error format
353
354Returns:
355 An object of the form:
356
357 { # This resource represents a long-running operation that is the result of a network API call.
358 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
359 &quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
360 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
361 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
362 {
363 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
364 },
365 ],
366 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
367 },
368 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
369 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
370 },
371 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
372 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
373 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
374 },
375}</pre>
376</div>
377
378<div class="method">
379 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
380 <pre>Deletes a single MigratingVm.
381
382Args:
383 name: string, Required. The name of the MigratingVm. (required)
384 x__xgafv: string, V1 error format.
385 Allowed values
386 1 - v1 error format
387 2 - v2 error format
388
389Returns:
390 An object of the form:
391
392 { # This resource represents a long-running operation that is the result of a network API call.
393 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
394 &quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
395 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
396 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
397 {
398 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
399 },
400 ],
401 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
402 },
403 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
404 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
405 },
406 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
407 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
408 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
409 },
410}</pre>
411</div>
412
413<div class="method">
414 <code class="details" id="finalizeMigration">finalizeMigration(migratingVm, body=None, x__xgafv=None)</code>
415 <pre>Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
416
417Args:
418 migratingVm: string, Required. The name of the MigratingVm. (required)
419 body: object, The request body.
420 The object takes the form of:
421
422{ # Request message for &#x27;FinalizeMigration&#x27; request.
423}
424
425 x__xgafv: string, V1 error format.
426 Allowed values
427 1 - v1 error format
428 2 - v2 error format
429
430Returns:
431 An object of the form:
432
433 { # This resource represents a long-running operation that is the result of a network API call.
434 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
435 &quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
436 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
437 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
438 {
439 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
440 },
441 ],
442 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
443 },
444 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
445 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
446 },
447 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
448 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
449 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
450 },
451}</pre>
452</div>
453
454<div class="method">
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800455 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
yoshi-code-botf4773f62021-10-19 00:22:31 -0700456 <pre>Gets details of a single MigratingVm.
457
458Args:
459 name: string, Required. The name of the MigratingVm. (required)
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800460 view: string, Optional. The level of details of the migrating VM.
461 Allowed values
462 MIGRATING_VM_VIEW_UNSPECIFIED - View is unspecified. The API will fallback to the default value.
463 MIGRATING_VM_VIEW_BASIC - Get the migrating VM basic details. The basic details do not include the recent clone jobs and recent cutover jobs lists.
464 MIGRATING_VM_VIEW_FULL - Include everything.
yoshi-code-botf4773f62021-10-19 00:22:31 -0700465 x__xgafv: string, V1 error format.
466 Allowed values
467 1 - v1 error format
468 2 - v2 error format
469
470Returns:
471 An object of the form:
472
473 { # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
474 &quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
475 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
476 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
477 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
478 },
479 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
480 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
481 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
482 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
483 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
484 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
485 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
486 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
487 &quot;A String&quot;,
488 ],
489 },
490 ],
491 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
492 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
493 },
494 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
495 &quot;labels&quot;: { # A map of labels to associate with the VM.
496 &quot;a_key&quot;: &quot;A String&quot;,
497 },
498 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
499 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
500 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
501 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
502 &quot;a_key&quot;: &quot;A String&quot;,
503 },
504 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
505 { # NetworkInterface represents a NIC of a VM.
506 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
507 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
508 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
509 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
510 },
511 ],
512 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
513 &quot;A String&quot;,
514 ],
515 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
516 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
517 &quot;targetProject&quot;: &quot;A String&quot;, # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
518 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
519 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
520 },
521 &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).
522 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
523 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
524 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
525 },
526 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
527 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
528 &quot;error&quot;: { # 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). # Output only. Provides details on the state of the Migrating VM in case of an error in replication.
529 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
530 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
531 {
532 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
533 },
534 ],
535 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
536 },
537 &quot;group&quot;: &quot;A String&quot;, # Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
538 &quot;labels&quot;: { # The labels of the migrating VM.
539 &quot;a_key&quot;: &quot;A String&quot;,
540 },
541 &quot;lastSync&quot;: { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication.
542 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
543 },
544 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
545 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
546 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
547 &quot;skipOsAdaptation&quot;: True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM&#x27;s operating system undergoes changes and adaptations to fully function on Compute Engine.
548 },
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800549 &quot;recentCloneJobs&quot;: [ # Output only. The recent clone jobs performed on the migrating VM. This field holds the vm&#x27;s last completed clone job and the vm&#x27;s running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
550 { # CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.
551 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
552 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
553 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
554 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
555 },
556 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
557 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
558 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
559 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
560 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
561 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
562 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
563 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
564 &quot;A String&quot;,
565 ],
566 },
567 ],
568 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
569 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
570 },
571 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
572 &quot;labels&quot;: { # A map of labels to associate with the VM.
573 &quot;a_key&quot;: &quot;A String&quot;,
574 },
575 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
576 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
577 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
578 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
579 &quot;a_key&quot;: &quot;A String&quot;,
580 },
581 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
582 { # NetworkInterface represents a NIC of a VM.
583 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
584 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
585 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
586 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
587 },
588 ],
589 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
590 &quot;A String&quot;,
591 ],
592 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
593 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
594 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
595 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
596 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
597 },
598 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the clone job was created (as an API call, not when it was actually created in the target).
599 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Clone Job&#x27;s state.
600 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
601 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
602 {
603 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
604 },
605 ],
606 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
607 },
608 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
609 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
610 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
611 },
612 ],
613 &quot;recentCutoverJobs&quot;: [ # Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm&#x27;s last completed cutover job and the vm&#x27;s running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
614 { # CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.
615 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
616 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
617 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
618 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
619 },
620 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
621 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
622 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
623 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
624 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
625 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
626 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
627 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
628 &quot;A String&quot;,
629 ],
630 },
631 ],
632 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
633 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
634 },
635 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
636 &quot;labels&quot;: { # A map of labels to associate with the VM.
637 &quot;a_key&quot;: &quot;A String&quot;,
638 },
639 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
640 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
641 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
642 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
643 &quot;a_key&quot;: &quot;A String&quot;,
644 },
645 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
646 { # NetworkInterface represents a NIC of a VM.
647 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
648 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
649 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
650 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
651 },
652 ],
653 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
654 &quot;A String&quot;,
655 ],
656 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
657 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
658 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
659 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
660 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
661 },
662 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
663 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Cutover Job&#x27;s state.
664 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
665 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
666 {
667 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
668 },
669 ],
670 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
671 },
672 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
673 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
674 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
675 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
676 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
677 },
678 ],
yoshi-code-botf4773f62021-10-19 00:22:31 -0700679 &quot;sourceVmId&quot;: &quot;A String&quot;, # The unique ID of the VM in the source. The VM&#x27;s name in vSphere can be changed, so this is not the VM&#x27;s name but rather its moRef id. This id is of the form vm-.
680 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
681 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
682 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
683}</pre>
684</div>
685
686<div class="method">
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800687 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
yoshi-code-botf4773f62021-10-19 00:22:31 -0700688 <pre>Lists MigratingVms in a given Source.
689
690Args:
691 parent: string, Required. The parent, which owns this collection of MigratingVms. (required)
692 filter: string, Optional. The filter request.
693 orderBy: string, Optional. the order by fields for the result.
694 pageSize: integer, Optional. The maximum number of migrating VMs to return. The service may return fewer than this value. If unspecified, at most 500 migrating VMs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
695 pageToken: string, Required. A page token, received from a previous `ListMigratingVms` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigratingVms` must match the call that provided the page token.
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800696 view: string, Optional. The level of details of each migrating VM.
697 Allowed values
698 MIGRATING_VM_VIEW_UNSPECIFIED - View is unspecified. The API will fallback to the default value.
699 MIGRATING_VM_VIEW_BASIC - Get the migrating VM basic details. The basic details do not include the recent clone jobs and recent cutover jobs lists.
700 MIGRATING_VM_VIEW_FULL - Include everything.
yoshi-code-botf4773f62021-10-19 00:22:31 -0700701 x__xgafv: string, V1 error format.
702 Allowed values
703 1 - v1 error format
704 2 - v2 error format
705
706Returns:
707 An object of the form:
708
709 { # Response message for &#x27;ListMigratingVms&#x27; request.
710 &quot;migratingVms&quot;: [ # Output only. The list of Migrating VMs response.
711 { # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
712 &quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
713 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
714 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
715 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
716 },
717 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
718 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
719 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
720 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
721 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
722 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
723 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
724 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
725 &quot;A String&quot;,
726 ],
727 },
728 ],
729 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
730 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
731 },
732 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
733 &quot;labels&quot;: { # A map of labels to associate with the VM.
734 &quot;a_key&quot;: &quot;A String&quot;,
735 },
736 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
737 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
738 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
739 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
740 &quot;a_key&quot;: &quot;A String&quot;,
741 },
742 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
743 { # NetworkInterface represents a NIC of a VM.
744 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
745 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
746 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
747 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
748 },
749 ],
750 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
751 &quot;A String&quot;,
752 ],
753 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
754 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
755 &quot;targetProject&quot;: &quot;A String&quot;, # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
756 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
757 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
758 },
759 &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).
760 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
761 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
762 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
763 },
764 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
765 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
766 &quot;error&quot;: { # 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). # Output only. Provides details on the state of the Migrating VM in case of an error in replication.
767 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
768 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
769 {
770 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
771 },
772 ],
773 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
774 },
775 &quot;group&quot;: &quot;A String&quot;, # Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
776 &quot;labels&quot;: { # The labels of the migrating VM.
777 &quot;a_key&quot;: &quot;A String&quot;,
778 },
779 &quot;lastSync&quot;: { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication.
780 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
781 },
782 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
783 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
784 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
785 &quot;skipOsAdaptation&quot;: True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM&#x27;s operating system undergoes changes and adaptations to fully function on Compute Engine.
786 },
yoshi-code-bot815c1ac2021-11-15 23:24:17 -0800787 &quot;recentCloneJobs&quot;: [ # Output only. The recent clone jobs performed on the migrating VM. This field holds the vm&#x27;s last completed clone job and the vm&#x27;s running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
788 { # CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.
789 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
790 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
791 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
792 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
793 },
794 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
795 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
796 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
797 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
798 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
799 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
800 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
801 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
802 &quot;A String&quot;,
803 ],
804 },
805 ],
806 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
807 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
808 },
809 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
810 &quot;labels&quot;: { # A map of labels to associate with the VM.
811 &quot;a_key&quot;: &quot;A String&quot;,
812 },
813 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
814 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
815 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
816 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
817 &quot;a_key&quot;: &quot;A String&quot;,
818 },
819 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
820 { # NetworkInterface represents a NIC of a VM.
821 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
822 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
823 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
824 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
825 },
826 ],
827 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
828 &quot;A String&quot;,
829 ],
830 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
831 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
832 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
833 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
834 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
835 },
836 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the clone job was created (as an API call, not when it was actually created in the target).
837 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Clone Job&#x27;s state.
838 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
839 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
840 {
841 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
842 },
843 ],
844 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
845 },
846 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
847 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
848 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
849 },
850 ],
851 &quot;recentCutoverJobs&quot;: [ # Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm&#x27;s last completed cutover job and the vm&#x27;s running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
852 { # CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.
853 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
854 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
855 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
856 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
857 },
858 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
859 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
860 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
861 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
862 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
863 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
864 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
865 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
866 &quot;A String&quot;,
867 ],
868 },
869 ],
870 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
871 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
872 },
873 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
874 &quot;labels&quot;: { # A map of labels to associate with the VM.
875 &quot;a_key&quot;: &quot;A String&quot;,
876 },
877 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
878 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
879 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
880 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
881 &quot;a_key&quot;: &quot;A String&quot;,
882 },
883 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
884 { # NetworkInterface represents a NIC of a VM.
885 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
886 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
887 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
888 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
889 },
890 ],
891 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
892 &quot;A String&quot;,
893 ],
894 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
895 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
896 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
897 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
898 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
899 },
900 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
901 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Cutover Job&#x27;s state.
902 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
903 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
904 {
905 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
906 },
907 ],
908 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
909 },
910 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
911 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
912 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
913 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
914 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
915 },
916 ],
yoshi-code-botf4773f62021-10-19 00:22:31 -0700917 &quot;sourceVmId&quot;: &quot;A String&quot;, # The unique ID of the VM in the source. The VM&#x27;s name in vSphere can be changed, so this is not the VM&#x27;s name but rather its moRef id. This id is of the form vm-.
918 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
919 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
920 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
921 },
922 ],
923 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
924 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
925 &quot;A String&quot;,
926 ],
927}</pre>
928</div>
929
930<div class="method">
931 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
932 <pre>Retrieves the next page of results.
933
934Args:
935 previous_request: The request for the previous page. (required)
936 previous_response: The response from the request for the previous page. (required)
937
938Returns:
939 A request object that you can call &#x27;execute()&#x27; on to request the next
940 page. Returns None if there are no more items in the collection.
941 </pre>
942</div>
943
944<div class="method">
945 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
946 <pre>Updates the parameters of a single MigratingVm.
947
948Args:
949 name: string, Output only. The identifier of the MigratingVm. (required)
950 body: object, The request body.
951 The object takes the form of:
952
953{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
954 &quot;computeEngineTargetDefaults&quot;: { # ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. # Details of the target VM in Compute Engine.
955 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
956 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
957 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
958 },
959 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
960 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
961 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
962 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
963 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
964 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
965 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
966 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
967 &quot;A String&quot;,
968 ],
969 },
970 ],
971 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
972 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
973 },
974 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
975 &quot;labels&quot;: { # A map of labels to associate with the VM.
976 &quot;a_key&quot;: &quot;A String&quot;,
977 },
978 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
979 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
980 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
981 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
982 &quot;a_key&quot;: &quot;A String&quot;,
983 },
984 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
985 { # NetworkInterface represents a NIC of a VM.
986 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
987 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
988 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
989 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
990 },
991 ],
992 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
993 &quot;A String&quot;,
994 ],
995 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
996 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
997 &quot;targetProject&quot;: &quot;A String&quot;, # The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
998 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
999 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1000 },
1001 &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).
1002 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
1003 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
1004 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
1005 },
1006 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
1007 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
1008 &quot;error&quot;: { # 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). # Output only. Provides details on the state of the Migrating VM in case of an error in replication.
1009 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1010 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1011 {
1012 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1013 },
1014 ],
1015 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1016 },
1017 &quot;group&quot;: &quot;A String&quot;, # Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource.
1018 &quot;labels&quot;: { # The labels of the migrating VM.
1019 &quot;a_key&quot;: &quot;A String&quot;,
1020 },
1021 &quot;lastSync&quot;: { # ReplicationSync contain information about the last replica sync to the cloud. # Output only. The most updated snapshot created time in the source that finished replication.
1022 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
1023 },
1024 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
1025 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
1026 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
1027 &quot;skipOsAdaptation&quot;: True or False, # A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM&#x27;s operating system undergoes changes and adaptations to fully function on Compute Engine.
1028 },
yoshi-code-bot815c1ac2021-11-15 23:24:17 -08001029 &quot;recentCloneJobs&quot;: [ # Output only. The recent clone jobs performed on the migrating VM. This field holds the vm&#x27;s last completed clone job and the vm&#x27;s running clone job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
1030 { # CloneJob describes the process of creating a clone of a MigratingVM to the requested target based on the latest successful uploaded snapshots. While the migration cycles of a MigratingVm take place, it is possible to verify the uploaded VM can be started in the cloud, by creating a clone. The clone can be created without any downtime, and it is created using the latest snapshots which are already in the cloud. The cloneJob is only responsible for its work, not its products, which means once it is finished, it will never touch the instance it created. It will only delete it in case of the CloneJob being cancelled or upon failure to clone.
1031 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
1032 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
1033 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1034 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1035 },
1036 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
1037 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
1038 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
1039 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1040 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
1041 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1042 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1043 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1044 &quot;A String&quot;,
1045 ],
1046 },
1047 ],
1048 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1049 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
1050 },
1051 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1052 &quot;labels&quot;: { # A map of labels to associate with the VM.
1053 &quot;a_key&quot;: &quot;A String&quot;,
1054 },
1055 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1056 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1057 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1058 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1059 &quot;a_key&quot;: &quot;A String&quot;,
1060 },
1061 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1062 { # NetworkInterface represents a NIC of a VM.
1063 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1064 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1065 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1066 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1067 },
1068 ],
1069 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1070 &quot;A String&quot;,
1071 ],
1072 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
1073 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
1074 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1075 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
1076 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1077 },
1078 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the clone job was created (as an API call, not when it was actually created in the target).
1079 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Clone Job&#x27;s state.
1080 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1081 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1082 {
1083 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1084 },
1085 ],
1086 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1087 },
1088 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
1089 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
1090 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
1091 },
1092 ],
1093 &quot;recentCutoverJobs&quot;: [ # Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm&#x27;s last completed cutover job and the vm&#x27;s running cutover job, if one exists. Note: To have this field populated you need to explicitly request it via the &quot;view&quot; parameter of the Get/List request.
1094 { # CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.
1095 &quot;computeEngineTargetDetails&quot;: { # ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the target VM in Compute Engine.
1096 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
1097 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1098 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1099 },
1100 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
1101 &quot;computeScheduling&quot;: { # Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. # Compute instance scheduling information (if empty default is used).
1102 &quot;minNodeCpus&quot;: 42, # The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
1103 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1104 { # Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
1105 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1106 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1107 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1108 &quot;A String&quot;,
1109 ],
1110 },
1111 ],
1112 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1113 &quot;restartType&quot;: &quot;A String&quot;, # Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
1114 },
1115 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1116 &quot;labels&quot;: { # A map of labels to associate with the VM.
1117 &quot;a_key&quot;: &quot;A String&quot;,
1118 },
1119 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1120 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1121 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1122 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1123 &quot;a_key&quot;: &quot;A String&quot;,
1124 },
1125 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1126 { # NetworkInterface represents a NIC of a VM.
1127 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1128 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1129 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1130 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1131 },
1132 ],
1133 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1134 &quot;A String&quot;,
1135 ],
1136 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
1137 &quot;secureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
1138 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1139 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
1140 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1141 },
1142 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
1143 &quot;error&quot;: { # 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). # Output only. Provides details for the errors that led to the Cutover Job&#x27;s state.
1144 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1145 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1146 {
1147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1148 },
1149 ],
1150 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1151 },
1152 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
1153 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
1154 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
1155 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
1156 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
1157 },
1158 ],
yoshi-code-botf4773f62021-10-19 00:22:31 -07001159 &quot;sourceVmId&quot;: &quot;A String&quot;, # The unique ID of the VM in the source. The VM&#x27;s name in vSphere can be changed, so this is not the VM&#x27;s name but rather its moRef id. This id is of the form vm-.
1160 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
1161 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
1162 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
1163}
1164
1165 requestId: string, A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1166 updateMask: string, Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
1167 x__xgafv: string, V1 error format.
1168 Allowed values
1169 1 - v1 error format
1170 2 - v2 error format
1171
1172Returns:
1173 An object of the form:
1174
1175 { # This resource represents a long-running operation that is the result of a network API call.
1176 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1177 &quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
1178 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1179 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1180 {
1181 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1182 },
1183 ],
1184 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1185 },
1186 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1187 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1188 },
1189 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1190 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1192 },
1193}</pre>
1194</div>
1195
1196<div class="method">
1197 <code class="details" id="pauseMigration">pauseMigration(migratingVm, body=None, x__xgafv=None)</code>
1198 <pre>Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused.
1199
1200Args:
1201 migratingVm: string, Required. The name of the MigratingVm. (required)
1202 body: object, The request body.
1203 The object takes the form of:
1204
1205{ # Request message for &#x27;PauseMigration&#x27; request.
1206}
1207
1208 x__xgafv: string, V1 error format.
1209 Allowed values
1210 1 - v1 error format
1211 2 - v2 error format
1212
1213Returns:
1214 An object of the form:
1215
1216 { # This resource represents a long-running operation that is the result of a network API call.
1217 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1218 &quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
1219 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1220 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1221 {
1222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1223 },
1224 ],
1225 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1226 },
1227 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1229 },
1230 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1231 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1232 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1233 },
1234}</pre>
1235</div>
1236
1237<div class="method">
1238 <code class="details" id="resumeMigration">resumeMigration(migratingVm, body=None, x__xgafv=None)</code>
1239 <pre>Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will update the migration to active state and start the process of uploading data and creating snapshots.
1240
1241Args:
1242 migratingVm: string, Required. The name of the MigratingVm. (required)
1243 body: object, The request body.
1244 The object takes the form of:
1245
1246{ # Request message for &#x27;ResumeMigration&#x27; request.
1247}
1248
1249 x__xgafv: string, V1 error format.
1250 Allowed values
1251 1 - v1 error format
1252 2 - v2 error format
1253
1254Returns:
1255 An object of the form:
1256
1257 { # This resource represents a long-running operation that is the result of a network API call.
1258 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1259 &quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
1260 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1261 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1262 {
1263 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1264 },
1265 ],
1266 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1267 },
1268 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1269 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1270 },
1271 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1272 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1273 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1274 },
1275}</pre>
1276</div>
1277
1278<div class="method">
1279 <code class="details" id="startMigration">startMigration(migratingVm, body=None, x__xgafv=None)</code>
1280 <pre>Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
1281
1282Args:
1283 migratingVm: string, Required. The name of the MigratingVm. (required)
1284 body: object, The request body.
1285 The object takes the form of:
1286
1287{ # Request message for &#x27;StartMigrationRequest&#x27; request.
1288}
1289
1290 x__xgafv: string, V1 error format.
1291 Allowed values
1292 1 - v1 error format
1293 2 - v2 error format
1294
1295Returns:
1296 An object of the form:
1297
1298 { # This resource represents a long-running operation that is the result of a network API call.
1299 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1300 &quot;error&quot;: { # 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). # The error result of the operation in case of failure or cancellation.
1301 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1302 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1303 {
1304 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1305 },
1306 ],
1307 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1308 },
1309 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1310 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1311 },
1312 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1313 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1314 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1315 },
1316}</pre>
1317</div>
1318
1319</body></html>