blob: ddb68298f586dedd961638216cba12d81fc6bfc1 [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_v1alpha1.html">VM Migration API</a> . <a href="vmmigration_v1alpha1.projects.html">projects</a> . <a href="vmmigration_v1alpha1.projects.locations.html">locations</a> . <a href="vmmigration_v1alpha1.projects.locations.sources.html">sources</a> . <a href="vmmigration_v1alpha1.projects.locations.sources.migratingVms.html">migratingVms</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="vmmigration_v1alpha1.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_v1alpha1.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-bota41c7b92021-11-02 00:26:17 -0700100 <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-bota41c7b92021-11-02 00:26:17 -0700103 <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;automaticRestart&quot;: True or False,
144 &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.
145 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
146 { # 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
147 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
148 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
149 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
150 &quot;A String&quot;,
151 ],
152 },
153 ],
154 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
155 &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.
156 },
157 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
158 &quot;labels&quot;: { # A map of labels to associate with the VM.
159 &quot;a_key&quot;: &quot;A String&quot;,
160 },
161 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
162 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
163 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
164 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
165 &quot;a_key&quot;: &quot;A String&quot;,
166 },
167 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
168 { # NetworkInterface represents a NIC of a VM.
169 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
170 &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.
171 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
172 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
173 },
174 ],
175 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
176 &quot;A String&quot;,
177 ],
178 &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.
179 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
180 &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.
181 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
182 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
183 },
184 &quot;computeEngineVmDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead.
185 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
186 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
187 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
188 },
189 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
190 &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).
191 &quot;automaticRestart&quot;: True or False,
192 &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.
193 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
194 { # 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
195 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
196 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
197 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
198 &quot;A String&quot;,
199 ],
200 },
201 ],
202 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
203 &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.
204 },
205 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
206 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
207 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
208 &quot;labels&quot;: { # A map of labels to associate with the VM.
209 &quot;a_key&quot;: &quot;A String&quot;,
210 },
211 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
212 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
213 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
214 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
215 &quot;a_key&quot;: &quot;A String&quot;,
216 },
217 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
218 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
219 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
220 { # NetworkInterface represents a NIC of a VM.
221 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
222 &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.
223 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
224 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
225 },
226 ],
227 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
228 &quot;A String&quot;,
229 ],
230 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
231 &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.
232 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
233 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
234 &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.
235 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
236 },
237 &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).
238 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
239 &quot;progress&quot;: 42, # The current progress in percentage of this cycle.
240 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
241 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
242 },
243 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
244 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
245 &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.
246 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
247 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
248 {
249 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
250 },
251 ],
252 &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.
253 },
254 &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.
255 &quot;labels&quot;: { # The labels of the migrating VM.
256 &quot;a_key&quot;: &quot;A String&quot;,
257 },
258 &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.
259 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
260 },
261 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
262 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
263 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
264 &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.
265 },
yoshi-code-bota41c7b92021-11-02 00:26:17 -0700266 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -0700267 { # 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.
268 &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.
269 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
270 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
271 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
272 },
273 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
274 &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).
275 &quot;automaticRestart&quot;: True or False,
276 &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.
277 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
278 { # 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
279 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
280 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
281 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
282 &quot;A String&quot;,
283 ],
284 },
285 ],
286 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
287 &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.
288 },
289 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
290 &quot;labels&quot;: { # A map of labels to associate with the VM.
291 &quot;a_key&quot;: &quot;A String&quot;,
292 },
293 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
294 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
295 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
296 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
297 &quot;a_key&quot;: &quot;A String&quot;,
298 },
299 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
300 { # NetworkInterface represents a NIC of a VM.
301 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
302 &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.
303 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
304 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
305 },
306 ],
307 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
308 &quot;A String&quot;,
309 ],
310 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
311 &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.
312 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
313 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
314 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
315 },
316 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
317 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
318 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
319 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
320 },
321 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
322 &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).
323 &quot;automaticRestart&quot;: True or False,
324 &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.
325 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
326 { # 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
327 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
328 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
329 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
330 &quot;A String&quot;,
331 ],
332 },
333 ],
334 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
335 &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.
336 },
337 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
338 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
339 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
340 &quot;labels&quot;: { # A map of labels to associate with the VM.
341 &quot;a_key&quot;: &quot;A String&quot;,
342 },
343 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
344 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
345 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
346 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
347 &quot;a_key&quot;: &quot;A String&quot;,
348 },
349 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
350 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
351 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
352 { # NetworkInterface represents a NIC of a VM.
353 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
354 &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.
355 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
356 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
357 },
358 ],
359 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
360 &quot;A String&quot;,
361 ],
362 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
363 &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.
364 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
365 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
366 &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.
367 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
368 },
369 &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).
370 &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.
371 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
372 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
373 {
374 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
375 },
376 ],
377 &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.
378 },
379 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
380 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
381 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
382 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead.
383 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
384 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
385 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
386 },
387 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
388 &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).
389 &quot;automaticRestart&quot;: True or False,
390 &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.
391 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
392 { # 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
393 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
394 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
395 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
396 &quot;A String&quot;,
397 ],
398 },
399 ],
400 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
401 &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.
402 },
403 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
404 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
405 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
406 &quot;labels&quot;: { # A map of labels to associate with the VM.
407 &quot;a_key&quot;: &quot;A String&quot;,
408 },
409 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
410 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
411 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
412 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
413 &quot;a_key&quot;: &quot;A String&quot;,
414 },
415 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
416 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
417 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
418 { # NetworkInterface represents a NIC of a VM.
419 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
420 &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.
421 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
422 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
423 },
424 ],
425 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
426 &quot;A String&quot;,
427 ],
428 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
429 &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.
430 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
431 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
432 &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.
433 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
434 },
435 },
436 ],
yoshi-code-bota41c7b92021-11-02 00:26:17 -0700437 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -0700438 { # 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.
439 &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.
440 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
441 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
442 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
443 },
444 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
445 &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).
446 &quot;automaticRestart&quot;: True or False,
447 &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.
448 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
449 { # 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
450 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
451 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
452 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
453 &quot;A String&quot;,
454 ],
455 },
456 ],
457 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
458 &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.
459 },
460 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
461 &quot;labels&quot;: { # A map of labels to associate with the VM.
462 &quot;a_key&quot;: &quot;A String&quot;,
463 },
464 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
465 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
466 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
467 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
468 &quot;a_key&quot;: &quot;A String&quot;,
469 },
470 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
471 { # NetworkInterface represents a NIC of a VM.
472 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
473 &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.
474 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
475 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
476 },
477 ],
478 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
479 &quot;A String&quot;,
480 ],
481 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
482 &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.
483 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
484 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
485 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
486 },
487 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
488 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
489 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
490 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
491 },
492 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
493 &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).
494 &quot;automaticRestart&quot;: True or False,
495 &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.
496 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
497 { # 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
498 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
499 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
500 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
501 &quot;A String&quot;,
502 ],
503 },
504 ],
505 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
506 &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.
507 },
508 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
509 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
510 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
511 &quot;labels&quot;: { # A map of labels to associate with the VM.
512 &quot;a_key&quot;: &quot;A String&quot;,
513 },
514 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
515 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
516 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
517 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
518 &quot;a_key&quot;: &quot;A String&quot;,
519 },
520 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
521 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
522 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
523 { # NetworkInterface represents a NIC of a VM.
524 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
525 &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.
526 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
527 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
528 },
529 ],
530 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
531 &quot;A String&quot;,
532 ],
533 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
534 &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.
535 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
536 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
537 &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.
538 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
539 },
540 &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).
541 &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.
542 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
543 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
544 {
545 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
546 },
547 ],
548 &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.
549 },
550 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
551 &quot;progress&quot;: 42, # Output only. The current progress in percentage of the cutover job.
552 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
553 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
554 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
555 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
556 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead.
557 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
558 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
559 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
560 },
561 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
562 &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).
563 &quot;automaticRestart&quot;: True or False,
564 &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.
565 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
566 { # 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
567 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
568 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
569 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
570 &quot;A String&quot;,
571 ],
572 },
573 ],
574 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
575 &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.
576 },
577 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
578 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
579 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
580 &quot;labels&quot;: { # A map of labels to associate with the VM.
581 &quot;a_key&quot;: &quot;A String&quot;,
582 },
583 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
584 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
585 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
586 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
587 &quot;a_key&quot;: &quot;A String&quot;,
588 },
589 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
590 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
591 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
592 { # NetworkInterface represents a NIC of a VM.
593 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
594 &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.
595 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
596 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
597 },
598 ],
599 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
600 &quot;A String&quot;,
601 ],
602 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
603 &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.
604 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
605 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
606 &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.
607 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
608 },
609 },
610 ],
611 &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-.
612 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
613 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
614 &quot;targetDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead.
615 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
616 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
617 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
618 },
619 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
620 &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).
621 &quot;automaticRestart&quot;: True or False,
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;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
637 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
638 &quot;labels&quot;: { # A map of labels to associate with the VM.
639 &quot;a_key&quot;: &quot;A String&quot;,
640 },
641 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
642 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
643 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
644 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
645 &quot;a_key&quot;: &quot;A String&quot;,
646 },
647 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
648 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
649 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
650 { # NetworkInterface represents a NIC of a VM.
651 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
652 &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.
653 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
654 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
655 },
656 ],
657 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
658 &quot;A String&quot;,
659 ],
660 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
661 &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.
662 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
663 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
664 &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.
665 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
666 },
667 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
668}
669
670 migratingVmId: string, Required. The migratingVm identifier.
671 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).
672 x__xgafv: string, V1 error format.
673 Allowed values
674 1 - v1 error format
675 2 - v2 error format
676
677Returns:
678 An object of the form:
679
680 { # This resource represents a long-running operation that is the result of a network API call.
681 &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.
682 &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.
683 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
684 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
685 {
686 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
687 },
688 ],
689 &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.
690 },
691 &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.
692 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
693 },
694 &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}`.
695 &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`.
696 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
697 },
698}</pre>
699</div>
700
701<div class="method">
702 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
703 <pre>Deletes a single MigratingVm.
704
705Args:
706 name: string, Required. The name of the MigratingVm. (required)
707 x__xgafv: string, V1 error format.
708 Allowed values
709 1 - v1 error format
710 2 - v2 error format
711
712Returns:
713 An object of the form:
714
715 { # This resource represents a long-running operation that is the result of a network API call.
716 &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.
717 &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.
718 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
719 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
720 {
721 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
722 },
723 ],
724 &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.
725 },
726 &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.
727 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
728 },
729 &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}`.
730 &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`.
731 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
732 },
733}</pre>
734</div>
735
736<div class="method">
737 <code class="details" id="finalizeMigration">finalizeMigration(migratingVm, body=None, x__xgafv=None)</code>
738 <pre>Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done.
739
740Args:
741 migratingVm: string, Required. The name of the MigratingVm. (required)
742 body: object, The request body.
743 The object takes the form of:
744
745{ # Request message for &#x27;FinalizeMigration&#x27; request.
746}
747
748 x__xgafv: string, V1 error format.
749 Allowed values
750 1 - v1 error format
751 2 - v2 error format
752
753Returns:
754 An object of the form:
755
756 { # This resource represents a long-running operation that is the result of a network API call.
757 &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.
758 &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.
759 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
760 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
761 {
762 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
763 },
764 ],
765 &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.
766 },
767 &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.
768 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
769 },
770 &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}`.
771 &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`.
772 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
773 },
774}</pre>
775</div>
776
777<div class="method">
yoshi-code-bota41c7b92021-11-02 00:26:17 -0700778 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
yoshi-code-botf4773f62021-10-19 00:22:31 -0700779 <pre>Gets details of a single MigratingVm.
780
781Args:
782 name: string, Required. The name of the MigratingVm. (required)
yoshi-code-bota41c7b92021-11-02 00:26:17 -0700783 view: string, Optional. The level of details of the migrating VM.
784 Allowed values
785 MIGRATING_VM_VIEW_UNSPECIFIED - The default / unset value. Will fallback to FULL.
786 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.
787 MIGRATING_VM_VIEW_FULL - Include everything.
yoshi-code-botf4773f62021-10-19 00:22:31 -0700788 x__xgafv: string, V1 error format.
789 Allowed values
790 1 - v1 error format
791 2 - v2 error format
792
793Returns:
794 An object of the form:
795
796 { # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
797 &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.
798 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
799 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
800 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
801 },
802 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
803 &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).
804 &quot;automaticRestart&quot;: True or False,
805 &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.
806 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
807 { # 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
808 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
809 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
810 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
811 &quot;A String&quot;,
812 ],
813 },
814 ],
815 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
816 &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.
817 },
818 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
819 &quot;labels&quot;: { # A map of labels to associate with the VM.
820 &quot;a_key&quot;: &quot;A String&quot;,
821 },
822 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
823 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
824 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
825 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
826 &quot;a_key&quot;: &quot;A String&quot;,
827 },
828 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
829 { # NetworkInterface represents a NIC of a VM.
830 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
831 &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.
832 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
833 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
834 },
835 ],
836 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
837 &quot;A String&quot;,
838 ],
839 &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.
840 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
841 &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.
842 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
843 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
844 },
845 &quot;computeEngineVmDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead.
846 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
847 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
848 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
849 },
850 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
851 &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).
852 &quot;automaticRestart&quot;: True or False,
853 &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.
854 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
855 { # 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
856 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
857 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
858 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
859 &quot;A String&quot;,
860 ],
861 },
862 ],
863 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
864 &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.
865 },
866 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
867 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
868 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
869 &quot;labels&quot;: { # A map of labels to associate with the VM.
870 &quot;a_key&quot;: &quot;A String&quot;,
871 },
872 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
873 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
874 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
875 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
876 &quot;a_key&quot;: &quot;A String&quot;,
877 },
878 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
879 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
880 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
881 { # NetworkInterface represents a NIC of a VM.
882 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
883 &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.
884 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
885 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
886 },
887 ],
888 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
889 &quot;A String&quot;,
890 ],
891 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
892 &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.
893 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
894 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
895 &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.
896 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
897 },
898 &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).
899 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
900 &quot;progress&quot;: 42, # The current progress in percentage of this cycle.
901 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
902 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
903 },
904 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
905 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
906 &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.
907 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
908 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
909 {
910 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
911 },
912 ],
913 &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.
914 },
915 &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.
916 &quot;labels&quot;: { # The labels of the migrating VM.
917 &quot;a_key&quot;: &quot;A String&quot;,
918 },
919 &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.
920 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
921 },
922 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
923 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
924 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
925 &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.
926 },
yoshi-code-bota41c7b92021-11-02 00:26:17 -0700927 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -0700928 { # 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.
929 &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.
930 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
931 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
932 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
933 },
934 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
935 &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).
936 &quot;automaticRestart&quot;: True or False,
937 &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.
938 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
939 { # 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
940 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
941 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
942 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
943 &quot;A String&quot;,
944 ],
945 },
946 ],
947 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
948 &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.
949 },
950 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
951 &quot;labels&quot;: { # A map of labels to associate with the VM.
952 &quot;a_key&quot;: &quot;A String&quot;,
953 },
954 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
955 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
956 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
957 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
958 &quot;a_key&quot;: &quot;A String&quot;,
959 },
960 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
961 { # NetworkInterface represents a NIC of a VM.
962 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
963 &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.
964 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
965 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
966 },
967 ],
968 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
969 &quot;A String&quot;,
970 ],
971 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
972 &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.
973 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
974 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
975 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
976 },
977 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
978 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
979 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
980 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
981 },
982 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
983 &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).
984 &quot;automaticRestart&quot;: True or False,
985 &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.
986 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
987 { # 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
988 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
989 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
990 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
991 &quot;A String&quot;,
992 ],
993 },
994 ],
995 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
996 &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.
997 },
998 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
999 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1000 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1001 &quot;labels&quot;: { # A map of labels to associate with the VM.
1002 &quot;a_key&quot;: &quot;A String&quot;,
1003 },
1004 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1005 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1006 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1007 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1008 &quot;a_key&quot;: &quot;A String&quot;,
1009 },
1010 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1011 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1012 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1013 { # NetworkInterface represents a NIC of a VM.
1014 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1015 &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.
1016 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1017 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1018 },
1019 ],
1020 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1021 &quot;A String&quot;,
1022 ],
1023 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1024 &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.
1025 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1026 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1027 &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.
1028 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1029 },
1030 &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).
1031 &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.
1032 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1033 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1034 {
1035 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1036 },
1037 ],
1038 &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.
1039 },
1040 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
1041 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
1042 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
1043 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead.
1044 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1045 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1046 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1047 },
1048 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1049 &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).
1050 &quot;automaticRestart&quot;: True or False,
1051 &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.
1052 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1053 { # 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
1054 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1055 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1056 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1057 &quot;A String&quot;,
1058 ],
1059 },
1060 ],
1061 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1062 &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.
1063 },
1064 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1065 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1066 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1067 &quot;labels&quot;: { # A map of labels to associate with the VM.
1068 &quot;a_key&quot;: &quot;A String&quot;,
1069 },
1070 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1071 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1072 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1073 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1074 &quot;a_key&quot;: &quot;A String&quot;,
1075 },
1076 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1077 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1078 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1079 { # NetworkInterface represents a NIC of a VM.
1080 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1081 &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.
1082 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1083 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1084 },
1085 ],
1086 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1087 &quot;A String&quot;,
1088 ],
1089 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1090 &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.
1091 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1092 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1093 &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.
1094 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1095 },
1096 },
1097 ],
yoshi-code-bota41c7b92021-11-02 00:26:17 -07001098 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -07001099 { # 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.
1100 &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.
1101 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
1102 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1103 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1104 },
1105 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
1106 &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).
1107 &quot;automaticRestart&quot;: True or False,
1108 &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.
1109 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1110 { # 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
1111 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1112 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1113 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1114 &quot;A String&quot;,
1115 ],
1116 },
1117 ],
1118 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1119 &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.
1120 },
1121 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1122 &quot;labels&quot;: { # A map of labels to associate with the VM.
1123 &quot;a_key&quot;: &quot;A String&quot;,
1124 },
1125 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1126 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1127 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1128 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1129 &quot;a_key&quot;: &quot;A String&quot;,
1130 },
1131 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1132 { # NetworkInterface represents a NIC of a VM.
1133 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1134 &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.
1135 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1136 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1137 },
1138 ],
1139 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1140 &quot;A String&quot;,
1141 ],
1142 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
1143 &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.
1144 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1145 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
1146 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1147 },
1148 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
1149 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1150 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1151 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1152 },
1153 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1154 &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).
1155 &quot;automaticRestart&quot;: True or False,
1156 &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.
1157 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1158 { # 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
1159 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1160 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1161 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1162 &quot;A String&quot;,
1163 ],
1164 },
1165 ],
1166 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1167 &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.
1168 },
1169 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1170 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1171 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1172 &quot;labels&quot;: { # A map of labels to associate with the VM.
1173 &quot;a_key&quot;: &quot;A String&quot;,
1174 },
1175 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1176 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1177 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1178 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1179 &quot;a_key&quot;: &quot;A String&quot;,
1180 },
1181 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1182 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1183 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1184 { # NetworkInterface represents a NIC of a VM.
1185 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1186 &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.
1187 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1188 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1189 },
1190 ],
1191 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1192 &quot;A String&quot;,
1193 ],
1194 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1195 &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.
1196 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1197 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1198 &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.
1199 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1200 },
1201 &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).
1202 &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.
1203 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1204 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1205 {
1206 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1207 },
1208 ],
1209 &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.
1210 },
1211 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
1212 &quot;progress&quot;: 42, # Output only. The current progress in percentage of the cutover job.
1213 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
1214 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
1215 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
1216 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
1217 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead.
1218 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1219 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1220 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1221 },
1222 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1223 &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).
1224 &quot;automaticRestart&quot;: True or False,
1225 &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.
1226 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1227 { # 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
1228 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1229 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1230 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1231 &quot;A String&quot;,
1232 ],
1233 },
1234 ],
1235 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1236 &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.
1237 },
1238 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1239 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1240 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1241 &quot;labels&quot;: { # A map of labels to associate with the VM.
1242 &quot;a_key&quot;: &quot;A String&quot;,
1243 },
1244 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1245 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1246 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1247 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1248 &quot;a_key&quot;: &quot;A String&quot;,
1249 },
1250 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1251 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1252 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1253 { # NetworkInterface represents a NIC of a VM.
1254 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1255 &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.
1256 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1257 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1258 },
1259 ],
1260 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1261 &quot;A String&quot;,
1262 ],
1263 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1264 &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.
1265 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1266 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1267 &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.
1268 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1269 },
1270 },
1271 ],
1272 &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-.
1273 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
1274 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
1275 &quot;targetDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead.
1276 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1277 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1278 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1279 },
1280 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1281 &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).
1282 &quot;automaticRestart&quot;: True or False,
1283 &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.
1284 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1285 { # 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
1286 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1287 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1288 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1289 &quot;A String&quot;,
1290 ],
1291 },
1292 ],
1293 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1294 &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.
1295 },
1296 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1297 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1298 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1299 &quot;labels&quot;: { # A map of labels to associate with the VM.
1300 &quot;a_key&quot;: &quot;A String&quot;,
1301 },
1302 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1303 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1304 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1305 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1306 &quot;a_key&quot;: &quot;A String&quot;,
1307 },
1308 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1309 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1310 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1311 { # NetworkInterface represents a NIC of a VM.
1312 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1313 &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.
1314 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1315 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1316 },
1317 ],
1318 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1319 &quot;A String&quot;,
1320 ],
1321 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1322 &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.
1323 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1324 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1325 &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.
1326 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1327 },
1328 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
1329}</pre>
1330</div>
1331
1332<div class="method">
yoshi-code-bota41c7b92021-11-02 00:26:17 -07001333 <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 -07001334 <pre>Lists MigratingVms in a given Source.
1335
1336Args:
1337 parent: string, Required. The parent, which owns this collection of MigratingVms. (required)
1338 filter: string, Optional. The filter request.
1339 orderBy: string, Optional. the order by fields for the result.
1340 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.
1341 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-bota41c7b92021-11-02 00:26:17 -07001342 view: string, Optional. The level of details of each migrating VM.
1343 Allowed values
1344 MIGRATING_VM_VIEW_UNSPECIFIED - The default / unset value. Will fallback to FULL.
1345 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.
1346 MIGRATING_VM_VIEW_FULL - Include everything.
yoshi-code-botf4773f62021-10-19 00:22:31 -07001347 x__xgafv: string, V1 error format.
1348 Allowed values
1349 1 - v1 error format
1350 2 - v2 error format
1351
1352Returns:
1353 An object of the form:
1354
1355 { # Response message for &#x27;ListMigratingVms&#x27; request.
1356 &quot;migratingVms&quot;: [ # Output only. The list of Migrating VMs response.
1357 { # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
1358 &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.
1359 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1360 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1361 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1362 },
1363 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1364 &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).
1365 &quot;automaticRestart&quot;: True or False,
1366 &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.
1367 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1368 { # 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
1369 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1370 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1371 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1372 &quot;A String&quot;,
1373 ],
1374 },
1375 ],
1376 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1377 &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.
1378 },
1379 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1380 &quot;labels&quot;: { # A map of labels to associate with the VM.
1381 &quot;a_key&quot;: &quot;A String&quot;,
1382 },
1383 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1384 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1385 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1386 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1387 &quot;a_key&quot;: &quot;A String&quot;,
1388 },
1389 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1390 { # NetworkInterface represents a NIC of a VM.
1391 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1392 &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.
1393 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1394 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1395 },
1396 ],
1397 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1398 &quot;A String&quot;,
1399 ],
1400 &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.
1401 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1402 &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.
1403 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
1404 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1405 },
1406 &quot;computeEngineVmDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead.
1407 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1408 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1409 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1410 },
1411 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1412 &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).
1413 &quot;automaticRestart&quot;: True or False,
1414 &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.
1415 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1416 { # 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
1417 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1418 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1419 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1420 &quot;A String&quot;,
1421 ],
1422 },
1423 ],
1424 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1425 &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.
1426 },
1427 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1428 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1429 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1430 &quot;labels&quot;: { # A map of labels to associate with the VM.
1431 &quot;a_key&quot;: &quot;A String&quot;,
1432 },
1433 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1434 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1435 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1436 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1437 &quot;a_key&quot;: &quot;A String&quot;,
1438 },
1439 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1440 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1441 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1442 { # NetworkInterface represents a NIC of a VM.
1443 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1444 &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.
1445 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1446 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1447 },
1448 ],
1449 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1450 &quot;A String&quot;,
1451 ],
1452 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1453 &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.
1454 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1455 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1456 &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.
1457 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1458 },
1459 &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).
1460 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
1461 &quot;progress&quot;: 42, # The current progress in percentage of this cycle.
1462 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
1463 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
1464 },
1465 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
1466 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
1467 &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.
1468 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1469 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1470 {
1471 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1472 },
1473 ],
1474 &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.
1475 },
1476 &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.
1477 &quot;labels&quot;: { # The labels of the migrating VM.
1478 &quot;a_key&quot;: &quot;A String&quot;,
1479 },
1480 &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.
1481 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
1482 },
1483 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
1484 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
1485 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
1486 &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.
1487 },
yoshi-code-bota41c7b92021-11-02 00:26:17 -07001488 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -07001489 { # 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.
1490 &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.
1491 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
1492 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1493 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1494 },
1495 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
1496 &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).
1497 &quot;automaticRestart&quot;: True or False,
1498 &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.
1499 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1500 { # 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
1501 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1502 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1503 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1504 &quot;A String&quot;,
1505 ],
1506 },
1507 ],
1508 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1509 &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.
1510 },
1511 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1512 &quot;labels&quot;: { # A map of labels to associate with the VM.
1513 &quot;a_key&quot;: &quot;A String&quot;,
1514 },
1515 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1516 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1517 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1518 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1519 &quot;a_key&quot;: &quot;A String&quot;,
1520 },
1521 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1522 { # NetworkInterface represents a NIC of a VM.
1523 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1524 &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.
1525 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1526 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1527 },
1528 ],
1529 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1530 &quot;A String&quot;,
1531 ],
1532 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
1533 &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.
1534 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1535 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
1536 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1537 },
1538 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
1539 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1540 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1541 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1542 },
1543 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1544 &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).
1545 &quot;automaticRestart&quot;: True or False,
1546 &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.
1547 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1548 { # 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
1549 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1550 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1551 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1552 &quot;A String&quot;,
1553 ],
1554 },
1555 ],
1556 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1557 &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.
1558 },
1559 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1560 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1561 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1562 &quot;labels&quot;: { # A map of labels to associate with the VM.
1563 &quot;a_key&quot;: &quot;A String&quot;,
1564 },
1565 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1566 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1567 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1568 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1569 &quot;a_key&quot;: &quot;A String&quot;,
1570 },
1571 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1572 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1573 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1574 { # NetworkInterface represents a NIC of a VM.
1575 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1576 &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.
1577 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1578 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1579 },
1580 ],
1581 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1582 &quot;A String&quot;,
1583 ],
1584 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1585 &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.
1586 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1587 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1588 &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.
1589 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1590 },
1591 &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).
1592 &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.
1593 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1594 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1595 {
1596 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1597 },
1598 ],
1599 &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.
1600 },
1601 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
1602 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
1603 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
1604 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead.
1605 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1606 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1607 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1608 },
1609 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1610 &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).
1611 &quot;automaticRestart&quot;: True or False,
1612 &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.
1613 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1614 { # 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
1615 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1616 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1617 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1618 &quot;A String&quot;,
1619 ],
1620 },
1621 ],
1622 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1623 &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.
1624 },
1625 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1626 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1627 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1628 &quot;labels&quot;: { # A map of labels to associate with the VM.
1629 &quot;a_key&quot;: &quot;A String&quot;,
1630 },
1631 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1632 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1633 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1634 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1635 &quot;a_key&quot;: &quot;A String&quot;,
1636 },
1637 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1638 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1639 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1640 { # NetworkInterface represents a NIC of a VM.
1641 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1642 &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.
1643 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1644 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1645 },
1646 ],
1647 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1648 &quot;A String&quot;,
1649 ],
1650 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1651 &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.
1652 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1653 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1654 &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.
1655 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1656 },
1657 },
1658 ],
yoshi-code-bota41c7b92021-11-02 00:26:17 -07001659 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -07001660 { # 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.
1661 &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.
1662 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
1663 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1664 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1665 },
1666 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
1667 &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).
1668 &quot;automaticRestart&quot;: True or False,
1669 &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.
1670 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1671 { # 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
1672 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1673 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1674 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1675 &quot;A String&quot;,
1676 ],
1677 },
1678 ],
1679 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1680 &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.
1681 },
1682 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1683 &quot;labels&quot;: { # A map of labels to associate with the VM.
1684 &quot;a_key&quot;: &quot;A String&quot;,
1685 },
1686 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1687 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1688 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1689 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1690 &quot;a_key&quot;: &quot;A String&quot;,
1691 },
1692 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1693 { # NetworkInterface represents a NIC of a VM.
1694 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1695 &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.
1696 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1697 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1698 },
1699 ],
1700 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1701 &quot;A String&quot;,
1702 ],
1703 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
1704 &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.
1705 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1706 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
1707 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1708 },
1709 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
1710 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1711 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1712 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1713 },
1714 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1715 &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).
1716 &quot;automaticRestart&quot;: True or False,
1717 &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.
1718 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1719 { # 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
1720 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1721 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1722 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1723 &quot;A String&quot;,
1724 ],
1725 },
1726 ],
1727 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1728 &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.
1729 },
1730 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1731 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1732 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1733 &quot;labels&quot;: { # A map of labels to associate with the VM.
1734 &quot;a_key&quot;: &quot;A String&quot;,
1735 },
1736 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1737 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1738 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1739 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1740 &quot;a_key&quot;: &quot;A String&quot;,
1741 },
1742 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1743 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1744 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1745 { # NetworkInterface represents a NIC of a VM.
1746 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1747 &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.
1748 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1749 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1750 },
1751 ],
1752 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1753 &quot;A String&quot;,
1754 ],
1755 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1756 &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.
1757 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1758 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1759 &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.
1760 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1761 },
1762 &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).
1763 &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.
1764 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1765 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1766 {
1767 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1768 },
1769 ],
1770 &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.
1771 },
1772 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
1773 &quot;progress&quot;: 42, # Output only. The current progress in percentage of the cutover job.
1774 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
1775 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
1776 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
1777 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
1778 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead.
1779 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1780 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1781 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1782 },
1783 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1784 &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).
1785 &quot;automaticRestart&quot;: True or False,
1786 &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.
1787 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1788 { # 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
1789 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1790 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1791 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1792 &quot;A String&quot;,
1793 ],
1794 },
1795 ],
1796 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1797 &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.
1798 },
1799 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1800 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1801 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1802 &quot;labels&quot;: { # A map of labels to associate with the VM.
1803 &quot;a_key&quot;: &quot;A String&quot;,
1804 },
1805 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1806 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1807 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1808 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1809 &quot;a_key&quot;: &quot;A String&quot;,
1810 },
1811 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1812 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1813 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1814 { # NetworkInterface represents a NIC of a VM.
1815 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1816 &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.
1817 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1818 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1819 },
1820 ],
1821 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1822 &quot;A String&quot;,
1823 ],
1824 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1825 &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.
1826 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1827 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1828 &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.
1829 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1830 },
1831 },
1832 ],
1833 &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-.
1834 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
1835 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
1836 &quot;targetDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead.
1837 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1838 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1839 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1840 },
1841 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1842 &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).
1843 &quot;automaticRestart&quot;: True or False,
1844 &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.
1845 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1846 { # 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
1847 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1848 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1849 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1850 &quot;A String&quot;,
1851 ],
1852 },
1853 ],
1854 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1855 &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.
1856 },
1857 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1858 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1859 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1860 &quot;labels&quot;: { # A map of labels to associate with the VM.
1861 &quot;a_key&quot;: &quot;A String&quot;,
1862 },
1863 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1864 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1865 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1866 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1867 &quot;a_key&quot;: &quot;A String&quot;,
1868 },
1869 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
1870 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
1871 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1872 { # NetworkInterface represents a NIC of a VM.
1873 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1874 &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.
1875 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1876 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1877 },
1878 ],
1879 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1880 &quot;A String&quot;,
1881 ],
1882 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
1883 &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.
1884 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1885 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
1886 &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.
1887 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1888 },
1889 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
1890 },
1891 ],
1892 &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.
1893 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
1894 &quot;A String&quot;,
1895 ],
1896}</pre>
1897</div>
1898
1899<div class="method">
1900 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1901 <pre>Retrieves the next page of results.
1902
1903Args:
1904 previous_request: The request for the previous page. (required)
1905 previous_response: The response from the request for the previous page. (required)
1906
1907Returns:
1908 A request object that you can call &#x27;execute()&#x27; on to request the next
1909 page. Returns None if there are no more items in the collection.
1910 </pre>
1911</div>
1912
1913<div class="method">
1914 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
1915 <pre>Updates the parameters of a single MigratingVm.
1916
1917Args:
1918 name: string, Output only. The identifier of the MigratingVm. (required)
1919 body: object, The request body.
1920 The object takes the form of:
1921
1922{ # MigratingVm describes the VM that will be migrated from a Source environment and its replication state.
1923 &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.
1924 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1925 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1926 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1927 },
1928 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1929 &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).
1930 &quot;automaticRestart&quot;: True or False,
1931 &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.
1932 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1933 { # 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
1934 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1935 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1936 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1937 &quot;A String&quot;,
1938 ],
1939 },
1940 ],
1941 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1942 &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.
1943 },
1944 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1945 &quot;labels&quot;: { # A map of labels to associate with the VM.
1946 &quot;a_key&quot;: &quot;A String&quot;,
1947 },
1948 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1949 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
1950 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
1951 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
1952 &quot;a_key&quot;: &quot;A String&quot;,
1953 },
1954 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
1955 { # NetworkInterface represents a NIC of a VM.
1956 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
1957 &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.
1958 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
1959 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
1960 },
1961 ],
1962 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
1963 &quot;A String&quot;,
1964 ],
1965 &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.
1966 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
1967 &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.
1968 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
1969 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
1970 },
1971 &quot;computeEngineVmDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead.
1972 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
1973 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
1974 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
1975 },
1976 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
1977 &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).
1978 &quot;automaticRestart&quot;: True or False,
1979 &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.
1980 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
1981 { # 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
1982 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
1983 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
1984 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
1985 &quot;A String&quot;,
1986 ],
1987 },
1988 ],
1989 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
1990 &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.
1991 },
1992 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
1993 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
1994 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
1995 &quot;labels&quot;: { # A map of labels to associate with the VM.
1996 &quot;a_key&quot;: &quot;A String&quot;,
1997 },
1998 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
1999 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2000 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2001 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2002 &quot;a_key&quot;: &quot;A String&quot;,
2003 },
2004 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
2005 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
2006 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2007 { # NetworkInterface represents a NIC of a VM.
2008 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2009 &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.
2010 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2011 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2012 },
2013 ],
2014 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2015 &quot;A String&quot;,
2016 ],
2017 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
2018 &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.
2019 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2020 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
2021 &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.
2022 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2023 },
2024 &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).
2025 &quot;currentSyncInfo&quot;: { # ReplicationCycle contains information about the current replication cycle status. # Output only. The percentage progress of the current running replication cycle.
2026 &quot;progress&quot;: 42, # The current progress in percentage of this cycle.
2027 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle.
2028 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
2029 },
2030 &quot;description&quot;: &quot;A String&quot;, # The description attached to the migrating VM by the user.
2031 &quot;displayName&quot;: &quot;A String&quot;, # The display name attached to the MigratingVm by the user.
2032 &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.
2033 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2034 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2035 {
2036 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2037 },
2038 ],
2039 &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.
2040 },
2041 &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.
2042 &quot;labels&quot;: { # The labels of the migrating VM.
2043 &quot;a_key&quot;: &quot;A String&quot;,
2044 },
2045 &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.
2046 &quot;lastSyncTime&quot;: &quot;A String&quot;, # The most updated snapshot created time in the source that finished replication.
2047 },
2048 &quot;name&quot;: &quot;A String&quot;, # Output only. The identifier of the MigratingVm.
2049 &quot;policy&quot;: { # A policy for scheduling replications. # The replication schedule policy.
2050 &quot;idleDuration&quot;: &quot;A String&quot;, # The idle duration between replication stages.
2051 &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.
2052 },
yoshi-code-bota41c7b92021-11-02 00:26:17 -07002053 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -07002054 { # 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.
2055 &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.
2056 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
2057 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
2058 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
2059 },
2060 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
2061 &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).
2062 &quot;automaticRestart&quot;: True or False,
2063 &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.
2064 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
2065 { # 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
2066 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
2067 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
2068 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
2069 &quot;A String&quot;,
2070 ],
2071 },
2072 ],
2073 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
2074 &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.
2075 },
2076 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
2077 &quot;labels&quot;: { # A map of labels to associate with the VM.
2078 &quot;a_key&quot;: &quot;A String&quot;,
2079 },
2080 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
2081 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2082 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2083 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2084 &quot;a_key&quot;: &quot;A String&quot;,
2085 },
2086 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2087 { # NetworkInterface represents a NIC of a VM.
2088 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2089 &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.
2090 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2091 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2092 },
2093 ],
2094 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2095 &quot;A String&quot;,
2096 ],
2097 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
2098 &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.
2099 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2100 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
2101 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2102 },
2103 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
2104 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
2105 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
2106 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
2107 },
2108 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
2109 &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).
2110 &quot;automaticRestart&quot;: True or False,
2111 &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.
2112 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
2113 { # 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
2114 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
2115 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
2116 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
2117 &quot;A String&quot;,
2118 ],
2119 },
2120 ],
2121 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
2122 &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.
2123 },
2124 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
2125 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
2126 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
2127 &quot;labels&quot;: { # A map of labels to associate with the VM.
2128 &quot;a_key&quot;: &quot;A String&quot;,
2129 },
2130 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
2131 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2132 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2133 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2134 &quot;a_key&quot;: &quot;A String&quot;,
2135 },
2136 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
2137 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
2138 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2139 { # NetworkInterface represents a NIC of a VM.
2140 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2141 &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.
2142 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2143 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2144 },
2145 ],
2146 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2147 &quot;A String&quot;,
2148 ],
2149 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
2150 &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.
2151 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2152 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
2153 &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.
2154 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2155 },
2156 &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).
2157 &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.
2158 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2159 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2160 {
2161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2162 },
2163 ],
2164 &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.
2165 },
2166 &quot;name&quot;: &quot;A String&quot;, # The name of the clone.
2167 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the clone job.
2168 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
2169 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead.
2170 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
2171 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
2172 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
2173 },
2174 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
2175 &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).
2176 &quot;automaticRestart&quot;: True or False,
2177 &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.
2178 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
2179 { # 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
2180 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
2181 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
2182 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
2183 &quot;A String&quot;,
2184 ],
2185 },
2186 ],
2187 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
2188 &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.
2189 },
2190 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
2191 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
2192 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
2193 &quot;labels&quot;: { # A map of labels to associate with the VM.
2194 &quot;a_key&quot;: &quot;A String&quot;,
2195 },
2196 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
2197 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2198 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2199 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2200 &quot;a_key&quot;: &quot;A String&quot;,
2201 },
2202 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
2203 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
2204 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2205 { # NetworkInterface represents a NIC of a VM.
2206 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2207 &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.
2208 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2209 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2210 },
2211 ],
2212 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2213 &quot;A String&quot;,
2214 ],
2215 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
2216 &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.
2217 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2218 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
2219 &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.
2220 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2221 },
2222 },
2223 ],
yoshi-code-bota41c7b92021-11-02 00:26:17 -07002224 &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.
yoshi-code-botf4773f62021-10-19 00:22:31 -07002225 { # 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.
2226 &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.
2227 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # The OS license returned from the adaptation module report.
2228 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
2229 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
2230 },
2231 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option, as set in the source vm.
2232 &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).
2233 &quot;automaticRestart&quot;: True or False,
2234 &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.
2235 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
2236 { # 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
2237 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
2238 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
2239 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
2240 &quot;A String&quot;,
2241 ],
2242 },
2243 ],
2244 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
2245 &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.
2246 },
2247 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
2248 &quot;labels&quot;: { # A map of labels to associate with the VM.
2249 &quot;a_key&quot;: &quot;A String&quot;,
2250 },
2251 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
2252 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2253 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2254 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2255 &quot;a_key&quot;: &quot;A String&quot;,
2256 },
2257 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2258 { # NetworkInterface represents a NIC of a VM.
2259 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2260 &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.
2261 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2262 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2263 },
2264 ],
2265 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2266 &quot;A String&quot;,
2267 ],
2268 &quot;project&quot;: &quot;A String&quot;, # The GCP target project ID or project name.
2269 &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.
2270 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2271 &quot;vmName&quot;: &quot;A String&quot;, # The name of the VM to create.
2272 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2273 },
2274 &quot;computeEngineVmDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead.
2275 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
2276 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
2277 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
2278 },
2279 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
2280 &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).
2281 &quot;automaticRestart&quot;: True or False,
2282 &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.
2283 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
2284 { # 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
2285 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
2286 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
2287 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
2288 &quot;A String&quot;,
2289 ],
2290 },
2291 ],
2292 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
2293 &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.
2294 },
2295 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
2296 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
2297 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
2298 &quot;labels&quot;: { # A map of labels to associate with the VM.
2299 &quot;a_key&quot;: &quot;A String&quot;,
2300 },
2301 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
2302 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2303 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2304 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2305 &quot;a_key&quot;: &quot;A String&quot;,
2306 },
2307 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
2308 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
2309 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2310 { # NetworkInterface represents a NIC of a VM.
2311 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2312 &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.
2313 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2314 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2315 },
2316 ],
2317 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2318 &quot;A String&quot;,
2319 ],
2320 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
2321 &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.
2322 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2323 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
2324 &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.
2325 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2326 },
2327 &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).
2328 &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.
2329 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2330 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2331 {
2332 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2333 },
2334 ],
2335 &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.
2336 },
2337 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the cutover job.
2338 &quot;progress&quot;: 42, # Output only. The current progress in percentage of the cutover job.
2339 &quot;progressPercent&quot;: 42, # Output only. The current progress in percentage of the cutover job.
2340 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the cutover job.
2341 &quot;stateMessage&quot;: &quot;A String&quot;, # Output only. A message providing possible extra details about the current state.
2342 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The time the state was last updated.
2343 &quot;targetDetails&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead.
2344 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
2345 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
2346 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
2347 },
2348 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
2349 &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).
2350 &quot;automaticRestart&quot;: True or False,
2351 &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.
2352 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
2353 { # 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
2354 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
2355 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
2356 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
2357 &quot;A String&quot;,
2358 ],
2359 },
2360 ],
2361 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
2362 &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.
2363 },
2364 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
2365 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
2366 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
2367 &quot;labels&quot;: { # A map of labels to associate with the VM.
2368 &quot;a_key&quot;: &quot;A String&quot;,
2369 },
2370 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
2371 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2372 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2373 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2374 &quot;a_key&quot;: &quot;A String&quot;,
2375 },
2376 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
2377 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
2378 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2379 { # NetworkInterface represents a NIC of a VM.
2380 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2381 &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.
2382 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2383 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2384 },
2385 ],
2386 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2387 &quot;A String&quot;,
2388 ],
2389 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
2390 &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.
2391 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2392 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
2393 &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.
2394 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2395 },
2396 },
2397 ],
2398 &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-.
2399 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the MigratingVm.
2400 &quot;stateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM state was updated.
2401 &quot;targetDefaults&quot;: { # TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. # The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead.
2402 &quot;appliedLicense&quot;: { # AppliedLicense holds the license data returned by adaptation module report. # Output only. The OS license returned from the adaptation module report.
2403 &quot;osLicense&quot;: &quot;A String&quot;, # The OS license returned from the adaptation module&#x27;s report.
2404 &quot;type&quot;: &quot;A String&quot;, # The license type that was used in OS adaptation.
2405 },
2406 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option, as set in the source vm.
2407 &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).
2408 &quot;automaticRestart&quot;: True or False,
2409 &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.
2410 &quot;nodeAffinities&quot;: [ # A set of node affinity and anti-affinity configurations for sole tenant nodes.
2411 { # 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
2412 &quot;key&quot;: &quot;A String&quot;, # The label key of Node resource to reference.
2413 &quot;operator&quot;: &quot;A String&quot;, # The operator to use for the node resources specified in the `values` parameter.
2414 &quot;values&quot;: [ # Corresponds to the label values of Node resource.
2415 &quot;A String&quot;,
2416 ],
2417 },
2418 ],
2419 &quot;onHostMaintenance&quot;: &quot;A String&quot;, # How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
2420 &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.
2421 },
2422 &quot;diskType&quot;: &quot;A String&quot;, # The disk type to use in the VM.
2423 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the VM.
2424 &quot;internalIp&quot;: &quot;A String&quot;, # The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
2425 &quot;labels&quot;: { # A map of labels to associate with the VM.
2426 &quot;a_key&quot;: &quot;A String&quot;,
2427 },
2428 &quot;licenseType&quot;: &quot;A String&quot;, # The license type to use in OS adaptation.
2429 &quot;machineType&quot;: &quot;A String&quot;, # The machine type to create the VM with.
2430 &quot;machineTypeSeries&quot;: &quot;A String&quot;, # The machine type series to create the VM with.
2431 &quot;metadata&quot;: { # The metadata key/value pairs to assign to the VM.
2432 &quot;a_key&quot;: &quot;A String&quot;,
2433 },
2434 &quot;name&quot;: &quot;A String&quot;, # The name of the VM to create.
2435 &quot;network&quot;: &quot;A String&quot;, # The network to connect the VM to.
2436 &quot;networkInterfaces&quot;: [ # List of NICs connected to this VM.
2437 { # NetworkInterface represents a NIC of a VM.
2438 &quot;externalIp&quot;: &quot;A String&quot;, # The external IP to define in the NIC.
2439 &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.
2440 &quot;network&quot;: &quot;A String&quot;, # The network to connect the NIC to.
2441 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the NIC to.
2442 },
2443 ],
2444 &quot;networkTags&quot;: [ # A map of network tags to associate with the VM.
2445 &quot;A String&quot;,
2446 ],
2447 &quot;project&quot;: &quot;A String&quot;, # The project in which to create the VM.
2448 &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.
2449 &quot;serviceAccount&quot;: &quot;A String&quot;, # The service account to associate the VM with.
2450 &quot;subnetwork&quot;: &quot;A String&quot;, # The subnetwork to connect the VM to.
2451 &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.
2452 &quot;zone&quot;: &quot;A String&quot;, # The zone in which to create the VM.
2453 },
2454 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time the migrating VM resource was updated.
2455}
2456
2457 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).
2458 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.
2459 x__xgafv: string, V1 error format.
2460 Allowed values
2461 1 - v1 error format
2462 2 - v2 error format
2463
2464Returns:
2465 An object of the form:
2466
2467 { # This resource represents a long-running operation that is the result of a network API call.
2468 &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.
2469 &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.
2470 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2471 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2472 {
2473 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2474 },
2475 ],
2476 &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.
2477 },
2478 &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.
2479 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2480 },
2481 &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}`.
2482 &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`.
2483 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2484 },
2485}</pre>
2486</div>
2487
2488<div class="method">
2489 <code class="details" id="pauseMigration">pauseMigration(migratingVm, body=None, x__xgafv=None)</code>
2490 <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.
2491
2492Args:
2493 migratingVm: string, Required. The name of the MigratingVm. (required)
2494 body: object, The request body.
2495 The object takes the form of:
2496
2497{ # Request message for &#x27;PauseMigration&#x27; request.
2498}
2499
2500 x__xgafv: string, V1 error format.
2501 Allowed values
2502 1 - v1 error format
2503 2 - v2 error format
2504
2505Returns:
2506 An object of the form:
2507
2508 { # This resource represents a long-running operation that is the result of a network API call.
2509 &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.
2510 &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.
2511 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2512 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2513 {
2514 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2515 },
2516 ],
2517 &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.
2518 },
2519 &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.
2520 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2521 },
2522 &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}`.
2523 &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`.
2524 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2525 },
2526}</pre>
2527</div>
2528
2529<div class="method">
2530 <code class="details" id="resumeMigration">resumeMigration(migratingVm, body=None, x__xgafv=None)</code>
2531 <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.
2532
2533Args:
2534 migratingVm: string, Required. The name of the MigratingVm. (required)
2535 body: object, The request body.
2536 The object takes the form of:
2537
2538{ # Request message for &#x27;ResumeMigration&#x27; request.
2539}
2540
2541 x__xgafv: string, V1 error format.
2542 Allowed values
2543 1 - v1 error format
2544 2 - v2 error format
2545
2546Returns:
2547 An object of the form:
2548
2549 { # This resource represents a long-running operation that is the result of a network API call.
2550 &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.
2551 &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.
2552 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2553 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2554 {
2555 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2556 },
2557 ],
2558 &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.
2559 },
2560 &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.
2561 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2562 },
2563 &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}`.
2564 &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`.
2565 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2566 },
2567}</pre>
2568</div>
2569
2570<div class="method">
2571 <code class="details" id="startMigration">startMigration(migratingVm, body=None, x__xgafv=None)</code>
2572 <pre>Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy.
2573
2574Args:
2575 migratingVm: string, Required. The name of the MigratingVm. (required)
2576 body: object, The request body.
2577 The object takes the form of:
2578
2579{ # Request message for &#x27;StartMigrationRequest&#x27; request.
2580}
2581
2582 x__xgafv: string, V1 error format.
2583 Allowed values
2584 1 - v1 error format
2585 2 - v2 error format
2586
2587Returns:
2588 An object of the form:
2589
2590 { # This resource represents a long-running operation that is the result of a network API call.
2591 &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.
2592 &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.
2593 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2594 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2595 {
2596 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2597 },
2598 ],
2599 &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.
2600 },
2601 &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.
2602 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2603 },
2604 &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}`.
2605 &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`.
2606 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2607 },
2608}</pre>
2609</div>
2610
2611</body></html>