Debian Codegraph @

docs/dyn/vmmigration_v1.projects.locations.imageImports.imageImportJobs.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="vmmigration_v1.html">VM Migration API</a> . <a href="vmmigration_v1.projects.html">projects</a> . <a href="vmmigration_v1.projects.locations.html">locations</a> . <a href="vmmigration_v1.projects.locations.imageImports.html">imageImports</a> . <a href="vmmigration_v1.projects.locations.imageImports.imageImportJobs.html">imageImportJobs</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Initiates the cancellation of a running ImageImportJob.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets details of a single ImageImportJob.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists ImageImportJobs in a given project.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
95 <pre>Initiates the cancellation of a running ImageImportJob.
96
97 Args:
98 name: string, Required. The image import job id. (required)
99 body: object, The request body.
100 The object takes the form of:
101
102 { # Request message for &#x27;CancelImageImportJob&#x27; request.
103 }
104
105 x__xgafv: string, V1 error format.
106 Allowed values
107 1 - v1 error format
108 2 - v2 error format
109
110 Returns:
111 An object of the form:
112
113 { # This resource represents a long-running operation that is the result of a network API call.
114 &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.
115 &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.
116 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
117 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
118 {
119 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
120 },
121 ],
122 &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.
123 },
124 &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.
125 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
126 },
127 &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}`.
128 &quot;response&quot;: { # The normal, successful response of the operation. 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`.
129 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
130 },
131 }</pre>
132 </div>
133
134 <div class="method">
135 <code class="details" id="close">close()</code>
136 <pre>Close httplib2 connections.</pre>
137 </div>
138
139 <div class="method">
140 <code class="details" id="get">get(name, x__xgafv=None)</code>
141 <pre>Gets details of a single ImageImportJob.
142
143 Args:
144 name: string, Required. The ImageImportJob name. (required)
145 x__xgafv: string, V1 error format.
146 Allowed values
147 1 - v1 error format
148 2 - v2 error format
149
150 Returns:
151 An object of the form:
152
153 { # ImageImportJob describes the progress and result of an image import.
154 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Output only. The path to the Cloud Storage file from which the image should be imported.
155 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created (as an API call, not when it was actually created in the target).
156 &quot;createdResources&quot;: [ # Output only. The resource paths of the resources created by the image import job.
157 &quot;A String&quot;,
158 ],
159 &quot;diskImageTargetDetails&quot;: { # The target details of the image resource that will be created by the import job. # Output only. Target details used to import a disk image.
160 &quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
161 &quot;A String&quot;,
162 ],
163 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
164 &quot;guestOsFeatures&quot;: [ # Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
165 &quot;A String&quot;,
166 ],
167 },
168 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
169 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
170 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
171 },
172 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
173 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
174 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
175 &quot;a_key&quot;: &quot;A String&quot;,
176 },
177 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
178 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
179 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
180 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
181 &quot;value&quot;: &quot;A String&quot;, # Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
182 },
183 ],
184 &quot;bootConversion&quot;: &quot;A String&quot;, # Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion
185 &quot;generalize&quot;: True or False, # Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
186 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
187 },
188 &quot;singleRegionStorage&quot;: True or False, # Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
189 &quot;targetProject&quot;: &quot;A String&quot;, # Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
190 },
191 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the image import was ended.
192 &quot;errors&quot;: [ # Output only. Provides details on the error that led to the image import state in case of an error.
193 { # 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).
194 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
195 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
196 {
197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
198 },
199 ],
200 &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.
201 },
202 ],
203 &quot;machineImageTargetDetails&quot;: { # The target details of the machine image resource that will be created by the image import job. # Output only. Target details used to import a machine image.
204 &quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
205 &quot;A String&quot;,
206 ],
207 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
208 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
209 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
210 },
211 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
212 &quot;a_key&quot;: &quot;A String&quot;,
213 },
214 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
215 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
216 &quot;machineType&quot;: &quot;A String&quot;, # Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
217 },
218 &quot;networkInterfaces&quot;: [ # Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
219 { # NetworkInterface represents a NIC of a VM.
220 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
221 &quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
222 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
223 &quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
224 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
225 },
226 ],
227 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
228 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
229 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
230 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
231 &quot;value&quot;: &quot;A String&quot;, # Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
232 },
233 ],
234 &quot;bootConversion&quot;: &quot;A String&quot;, # Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion
235 &quot;generalize&quot;: True or False, # Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
236 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
237 },
238 &quot;serviceAccount&quot;: { # Service account to assign to the instance created by the machine image. # Optional. The service account to assign to the instance created by the machine image.
239 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
240 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
241 &quot;A String&quot;,
242 ],
243 },
244 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
245 &quot;enableIntegrityMonitoring&quot;: True or False, # Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
246 &quot;enableVtpm&quot;: True or False, # Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
247 &quot;secureBoot&quot;: &quot;A String&quot;, # Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
248 },
249 &quot;singleRegionStorage&quot;: True or False, # Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
250 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
251 },
252 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
253 &quot;A String&quot;,
254 ],
255 &quot;targetProject&quot;: &quot;A String&quot;, # Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
256 },
257 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImportJob.
258 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the image import.
259 &quot;steps&quot;: [ # Output only. The image import steps list representing its progress.
260 { # ImageImportStep holds information about the image import step progress.
261 &quot;adaptingOs&quot;: { # AdaptingOSStep contains specific step details. # Adapting OS step.
262 },
263 &quot;creatingImage&quot;: { # CreatingImageStep contains specific step details. # Creating image step.
264 },
265 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the step has ended.
266 &quot;initializing&quot;: { # InitializingImageImportStep contains specific step details. # Initializing step.
267 },
268 &quot;loadingSourceFiles&quot;: { # LoadingImageSourceFilesStep contains specific step details. # Loading source files step.
269 },
270 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the step has started.
271 },
272 ],
273 &quot;warnings&quot;: [ # Output only. Warnings that occurred during the image import.
274 { # Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
275 &quot;actionItem&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. Suggested action for solving the warning.
276 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
277 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
278 },
279 &quot;code&quot;: &quot;A String&quot;, # The warning code.
280 &quot;helpLinks&quot;: [ # Output only. URL(s) pointing to additional information on handling the current warning.
281 { # Describes a URL link.
282 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
283 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
284 },
285 ],
286 &quot;warningMessage&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. The localized warning message.
287 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
288 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
289 },
290 &quot;warningTime&quot;: &quot;A String&quot;, # The time the warning occurred.
291 },
292 ],
293 }</pre>
294 </div>
295
296 <div class="method">
297 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
298 <pre>Lists ImageImportJobs in a given project.
299
300 Args:
301 parent: string, Required. The parent, which owns this collection of targets. (required)
302 filter: string, Optional. The filter request (according to AIP-160).
303 orderBy: string, Optional. The order by fields for the result (according to AIP-132). Currently ordering is only possible by &quot;name&quot; field.
304 pageSize: integer, Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
305 pageToken: string, Optional. A page token, received from a previous `ListImageImportJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImageImportJobs` must match the call that provided the page token.
306 x__xgafv: string, V1 error format.
307 Allowed values
308 1 - v1 error format
309 2 - v2 error format
310
311 Returns:
312 An object of the form:
313
314 { # Response message for &#x27;ListImageImportJobs&#x27; call.
315 &quot;imageImportJobs&quot;: [ # Output only. The list of target response.
316 { # ImageImportJob describes the progress and result of an image import.
317 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Output only. The path to the Cloud Storage file from which the image should be imported.
318 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created (as an API call, not when it was actually created in the target).
319 &quot;createdResources&quot;: [ # Output only. The resource paths of the resources created by the image import job.
320 &quot;A String&quot;,
321 ],
322 &quot;diskImageTargetDetails&quot;: { # The target details of the image resource that will be created by the import job. # Output only. Target details used to import a disk image.
323 &quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
324 &quot;A String&quot;,
325 ],
326 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
327 &quot;guestOsFeatures&quot;: [ # Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.
328 &quot;A String&quot;,
329 ],
330 },
331 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
332 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
333 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
334 },
335 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
336 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
337 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
338 &quot;a_key&quot;: &quot;A String&quot;,
339 },
340 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
341 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
342 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
343 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
344 &quot;value&quot;: &quot;A String&quot;, # Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
345 },
346 ],
347 &quot;bootConversion&quot;: &quot;A String&quot;, # Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion
348 &quot;generalize&quot;: True or False, # Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
349 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
350 },
351 &quot;singleRegionStorage&quot;: True or False, # Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
352 &quot;targetProject&quot;: &quot;A String&quot;, # Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
353 },
354 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the image import was ended.
355 &quot;errors&quot;: [ # Output only. Provides details on the error that led to the image import state in case of an error.
356 { # 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).
357 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
358 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
359 {
360 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
361 },
362 ],
363 &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.
364 },
365 ],
366 &quot;machineImageTargetDetails&quot;: { # The target details of the machine image resource that will be created by the image import job. # Output only. Target details used to import a machine image.
367 &quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the instance created by the machine image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
368 &quot;A String&quot;,
369 ],
370 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
371 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the machine image. If the Image Import resource has an encryption, this field must be set to the same encryption key.
372 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
373 },
374 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
375 &quot;a_key&quot;: &quot;A String&quot;,
376 },
377 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
378 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
379 &quot;machineType&quot;: &quot;A String&quot;, # Optional. The machine type to create the MachineImage with. If empty, the service will choose a relevant machine type based on the information from the source image. For more information about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
380 },
381 &quot;networkInterfaces&quot;: [ # Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
382 { # NetworkInterface represents a NIC of a VM.
383 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
384 &quot;internalIp&quot;: &quot;A String&quot;, # Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path.
385 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
386 &quot;networkTier&quot;: &quot;A String&quot;, # Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
387 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
388 },
389 ],
390 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
391 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
392 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
393 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
394 &quot;value&quot;: &quot;A String&quot;, # Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
395 },
396 ],
397 &quot;bootConversion&quot;: &quot;A String&quot;, # Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion
398 &quot;generalize&quot;: True or False, # Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
399 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
400 },
401 &quot;serviceAccount&quot;: { # Service account to assign to the instance created by the machine image. # Optional. The service account to assign to the instance created by the machine image.
402 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
403 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
404 &quot;A String&quot;,
405 ],
406 },
407 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
408 &quot;enableIntegrityMonitoring&quot;: True or False, # Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
409 &quot;enableVtpm&quot;: True or False, # Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
410 &quot;secureBoot&quot;: &quot;A String&quot;, # Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
411 },
412 &quot;singleRegionStorage&quot;: True or False, # Optional. Set to true to set the machine image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
413 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
414 },
415 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
416 &quot;A String&quot;,
417 ],
418 &quot;targetProject&quot;: &quot;A String&quot;, # Required. Reference to the TargetProject resource that represents the target project in which the imported machine image will be created.
419 },
420 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImportJob.
421 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the image import.
422 &quot;steps&quot;: [ # Output only. The image import steps list representing its progress.
423 { # ImageImportStep holds information about the image import step progress.
424 &quot;adaptingOs&quot;: { # AdaptingOSStep contains specific step details. # Adapting OS step.
425 },
426 &quot;creatingImage&quot;: { # CreatingImageStep contains specific step details. # Creating image step.
427 },
428 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the step has ended.
429 &quot;initializing&quot;: { # InitializingImageImportStep contains specific step details. # Initializing step.
430 },
431 &quot;loadingSourceFiles&quot;: { # LoadingImageSourceFilesStep contains specific step details. # Loading source files step.
432 },
433 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the step has started.
434 },
435 ],
436 &quot;warnings&quot;: [ # Output only. Warnings that occurred during the image import.
437 { # Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
438 &quot;actionItem&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. Suggested action for solving the warning.
439 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
440 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
441 },
442 &quot;code&quot;: &quot;A String&quot;, # The warning code.
443 &quot;helpLinks&quot;: [ # Output only. URL(s) pointing to additional information on handling the current warning.
444 { # Describes a URL link.
445 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
446 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
447 },
448 ],
449 &quot;warningMessage&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. The localized warning message.
450 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
451 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
452 },
453 &quot;warningTime&quot;: &quot;A String&quot;, # The time the warning occurred.
454 },
455 ],
456 },
457 ],
458 &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.
459 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
460 &quot;A String&quot;,
461 ],
462 }</pre>
463 </div>
464
465 <div class="method">
466 <code class="details" id="list_next">list_next()</code>
467 <pre>Retrieves the next page of results.
468
469 Args:
470 previous_request: The request for the previous page. (required)
471 previous_response: The response from the request for the previous page. (required)
472
473 Returns:
474 A request object that you can call &#x27;execute()&#x27; on to request the next
475 page. Returns None if there are no more items in the collection.
476 </pre>
477 </div>
478
479 </body></html>