Debian Codegraph @

docs/dyn/vmmigration_v1alpha1.projects.locations.imageImports.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_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.imageImports.html">imageImports</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="vmmigration_v1alpha1.projects.locations.imageImports.imageImportJobs.html">imageImportJobs()</a></code>
79 </p>
80 <p class="firstline">Returns the imageImportJobs Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, imageImportId=None, requestId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new ImageImport in a given project.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a single ImageImport.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets details of a single ImageImport.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists ImageImports in a given project.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <h3>Method Details</h3>
101 <div class="method">
102 <code class="details" id="close">close()</code>
103 <pre>Close httplib2 connections.</pre>
104 </div>
105
106 <div class="method">
107 <code class="details" id="create">create(parent, body=None, imageImportId=None, requestId=None, x__xgafv=None)</code>
108 <pre>Creates a new ImageImport in a given project.
109
110 Args:
111 parent: string, Required. The ImageImport&#x27;s parent. (required)
112 body: object, The request body.
113 The object takes the form of:
114
115 { # ImageImport describes the configuration of the image import to run.
116 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Immutable. The path to the Cloud Storage file from which the image should be imported.
117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created.
118 &quot;diskImageTargetDefaults&quot;: { # The target details of the image resource that will be created by the import job. # Immutable. Target details for importing a disk image, will be used by ImageImportJob.
119 &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
120 &quot;A String&quot;,
121 ],
122 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
123 &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.
124 &quot;A String&quot;,
125 ],
126 },
127 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
128 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
129 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
130 },
131 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
132 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
133 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
134 &quot;a_key&quot;: &quot;A String&quot;,
135 },
136 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
137 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
138 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
139 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
140 &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.
141 },
142 ],
143 &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
144 &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).
145 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
146 },
147 &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.
148 &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.
149 },
150 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
151 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
152 },
153 &quot;machineImageTargetDefaults&quot;: { # The target details of the machine image resource that will be created by the image import job. # Immutable. Target details for importing a machine image, will be used by ImageImportJob.
154 &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
155 &quot;A String&quot;,
156 ],
157 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
158 &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.
159 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
160 },
161 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
162 &quot;a_key&quot;: &quot;A String&quot;,
163 },
164 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
165 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
166 &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.
167 },
168 &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.
169 { # NetworkInterface represents a NIC of a VM.
170 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
171 &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.
172 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
173 &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.
174 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
175 },
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;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.
189 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
190 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
191 &quot;A String&quot;,
192 ],
193 },
194 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
195 &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.
196 &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.
197 &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.
198 },
199 &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.
200 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
201 },
202 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
203 &quot;A String&quot;,
204 ],
205 &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.
206 },
207 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImport.
208 &quot;recentImageImportJobs&quot;: [ # Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
209 { # ImageImportJob describes the progress and result of an image import.
210 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Output only. The path to the Cloud Storage file from which the image should be imported.
211 &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).
212 &quot;createdResources&quot;: [ # Output only. The resource paths of the resources created by the image import job.
213 &quot;A String&quot;,
214 ],
215 &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.
216 &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
217 &quot;A String&quot;,
218 ],
219 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
220 &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.
221 &quot;A String&quot;,
222 ],
223 },
224 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
225 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
226 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
227 },
228 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
229 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
230 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
231 &quot;a_key&quot;: &quot;A String&quot;,
232 },
233 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
234 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
235 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
236 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
237 &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.
238 },
239 ],
240 &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
241 &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).
242 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
243 },
244 &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.
245 &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.
246 },
247 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the image import was ended.
248 &quot;errors&quot;: [ # Output only. Provides details on the error that led to the image import state in case of an error.
249 { # 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).
250 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
251 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
252 {
253 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
254 },
255 ],
256 &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.
257 },
258 ],
259 &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.
260 &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
261 &quot;A String&quot;,
262 ],
263 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
264 &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.
265 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
266 },
267 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
268 &quot;a_key&quot;: &quot;A String&quot;,
269 },
270 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
271 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
272 &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.
273 },
274 &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.
275 { # NetworkInterface represents a NIC of a VM.
276 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
277 &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.
278 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
279 &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.
280 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
281 },
282 ],
283 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
284 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
285 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
286 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
287 &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.
288 },
289 ],
290 &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
291 &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).
292 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
293 },
294 &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.
295 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
296 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
297 &quot;A String&quot;,
298 ],
299 },
300 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
301 &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.
302 &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.
303 &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.
304 },
305 &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.
306 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
307 },
308 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
309 &quot;A String&quot;,
310 ],
311 &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.
312 },
313 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImportJob.
314 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the image import.
315 &quot;steps&quot;: [ # Output only. The image import steps list representing its progress.
316 { # ImageImportStep holds information about the image import step progress.
317 &quot;adaptingOs&quot;: { # AdaptingOSStep contains specific step details. # Adapting OS step.
318 },
319 &quot;creatingImage&quot;: { # CreatingImageStep contains specific step details. # Creating image step.
320 },
321 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the step has ended.
322 &quot;initializing&quot;: { # InitializingImageImportStep contains specific step details. # Initializing step.
323 },
324 &quot;loadingSourceFiles&quot;: { # LoadingImageSourceFilesStep contains specific step details. # Loading source files step.
325 },
326 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the step has started.
327 },
328 ],
329 &quot;warnings&quot;: [ # Output only. Warnings that occurred during the image import.
330 { # 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.
331 &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.
332 &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;
333 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
334 },
335 &quot;code&quot;: &quot;A String&quot;, # The warning code.
336 &quot;helpLinks&quot;: [ # Output only. URL(s) pointing to additional information on handling the current warning.
337 { # Describes a URL link.
338 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
339 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
340 },
341 ],
342 &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.
343 &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;
344 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
345 },
346 &quot;warningTime&quot;: &quot;A String&quot;, # The time the warning occurred.
347 },
348 ],
349 },
350 ],
351 }
352
353 imageImportId: string, Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /a-z-/. It must start with an english letter and must not end with a hyphen.
354 requestId: string, Optional. 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 the 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).
355 x__xgafv: string, V1 error format.
356 Allowed values
357 1 - v1 error format
358 2 - v2 error format
359
360 Returns:
361 An object of the form:
362
363 { # This resource represents a long-running operation that is the result of a network API call.
364 &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.
365 &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.
366 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
367 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
368 {
369 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
370 },
371 ],
372 &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.
373 },
374 &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.
375 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
376 },
377 &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}`.
378 &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`.
379 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
380 },
381 }</pre>
382 </div>
383
384 <div class="method">
385 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
386 <pre>Deletes a single ImageImport.
387
388 Args:
389 name: string, Required. The ImageImport name. (required)
390 requestId: string, Optional. 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 after 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).
391 x__xgafv: string, V1 error format.
392 Allowed values
393 1 - v1 error format
394 2 - v2 error format
395
396 Returns:
397 An object of the form:
398
399 { # This resource represents a long-running operation that is the result of a network API call.
400 &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.
401 &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.
402 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
403 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
404 {
405 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
406 },
407 ],
408 &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.
409 },
410 &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.
411 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
412 },
413 &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}`.
414 &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`.
415 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
416 },
417 }</pre>
418 </div>
419
420 <div class="method">
421 <code class="details" id="get">get(name, x__xgafv=None)</code>
422 <pre>Gets details of a single ImageImport.
423
424 Args:
425 name: string, Required. The ImageImport name. (required)
426 x__xgafv: string, V1 error format.
427 Allowed values
428 1 - v1 error format
429 2 - v2 error format
430
431 Returns:
432 An object of the form:
433
434 { # ImageImport describes the configuration of the image import to run.
435 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Immutable. The path to the Cloud Storage file from which the image should be imported.
436 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created.
437 &quot;diskImageTargetDefaults&quot;: { # The target details of the image resource that will be created by the import job. # Immutable. Target details for importing a disk image, will be used by ImageImportJob.
438 &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
439 &quot;A String&quot;,
440 ],
441 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
442 &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.
443 &quot;A String&quot;,
444 ],
445 },
446 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
447 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
448 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
449 },
450 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
451 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
452 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
453 &quot;a_key&quot;: &quot;A String&quot;,
454 },
455 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
456 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
457 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
458 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
459 &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.
460 },
461 ],
462 &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
463 &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).
464 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
465 },
466 &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.
467 &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.
468 },
469 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
470 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
471 },
472 &quot;machineImageTargetDefaults&quot;: { # The target details of the machine image resource that will be created by the image import job. # Immutable. Target details for importing a machine image, will be used by ImageImportJob.
473 &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
474 &quot;A String&quot;,
475 ],
476 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
477 &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.
478 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
479 },
480 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
481 &quot;a_key&quot;: &quot;A String&quot;,
482 },
483 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
484 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
485 &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.
486 },
487 &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.
488 { # NetworkInterface represents a NIC of a VM.
489 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
490 &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.
491 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
492 &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.
493 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
494 },
495 ],
496 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
497 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
498 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
499 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
500 &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.
501 },
502 ],
503 &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
504 &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).
505 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
506 },
507 &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.
508 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
509 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
510 &quot;A String&quot;,
511 ],
512 },
513 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
514 &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.
515 &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.
516 &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.
517 },
518 &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.
519 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
520 },
521 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
522 &quot;A String&quot;,
523 ],
524 &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.
525 },
526 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImport.
527 &quot;recentImageImportJobs&quot;: [ # Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
528 { # ImageImportJob describes the progress and result of an image import.
529 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Output only. The path to the Cloud Storage file from which the image should be imported.
530 &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).
531 &quot;createdResources&quot;: [ # Output only. The resource paths of the resources created by the image import job.
532 &quot;A String&quot;,
533 ],
534 &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.
535 &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
536 &quot;A String&quot;,
537 ],
538 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
539 &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.
540 &quot;A String&quot;,
541 ],
542 },
543 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
544 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
545 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
546 },
547 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
548 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
549 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
550 &quot;a_key&quot;: &quot;A String&quot;,
551 },
552 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
553 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
554 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
555 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
556 &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.
557 },
558 ],
559 &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
560 &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).
561 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
562 },
563 &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.
564 &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.
565 },
566 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the image import was ended.
567 &quot;errors&quot;: [ # Output only. Provides details on the error that led to the image import state in case of an error.
568 { # 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).
569 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
570 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
571 {
572 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
573 },
574 ],
575 &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.
576 },
577 ],
578 &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.
579 &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
580 &quot;A String&quot;,
581 ],
582 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
583 &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.
584 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
585 },
586 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
587 &quot;a_key&quot;: &quot;A String&quot;,
588 },
589 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
590 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
591 &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.
592 },
593 &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.
594 { # NetworkInterface represents a NIC of a VM.
595 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
596 &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.
597 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
598 &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.
599 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
600 },
601 ],
602 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
603 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
604 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
605 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
606 &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.
607 },
608 ],
609 &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
610 &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).
611 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
612 },
613 &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.
614 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
615 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
616 &quot;A String&quot;,
617 ],
618 },
619 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
620 &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.
621 &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.
622 &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.
623 },
624 &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.
625 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
626 },
627 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
628 &quot;A String&quot;,
629 ],
630 &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.
631 },
632 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImportJob.
633 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the image import.
634 &quot;steps&quot;: [ # Output only. The image import steps list representing its progress.
635 { # ImageImportStep holds information about the image import step progress.
636 &quot;adaptingOs&quot;: { # AdaptingOSStep contains specific step details. # Adapting OS step.
637 },
638 &quot;creatingImage&quot;: { # CreatingImageStep contains specific step details. # Creating image step.
639 },
640 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the step has ended.
641 &quot;initializing&quot;: { # InitializingImageImportStep contains specific step details. # Initializing step.
642 },
643 &quot;loadingSourceFiles&quot;: { # LoadingImageSourceFilesStep contains specific step details. # Loading source files step.
644 },
645 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the step has started.
646 },
647 ],
648 &quot;warnings&quot;: [ # Output only. Warnings that occurred during the image import.
649 { # 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.
650 &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.
651 &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;
652 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
653 },
654 &quot;code&quot;: &quot;A String&quot;, # The warning code.
655 &quot;helpLinks&quot;: [ # Output only. URL(s) pointing to additional information on handling the current warning.
656 { # Describes a URL link.
657 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
658 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
659 },
660 ],
661 &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.
662 &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;
663 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
664 },
665 &quot;warningTime&quot;: &quot;A String&quot;, # The time the warning occurred.
666 },
667 ],
668 },
669 ],
670 }</pre>
671 </div>
672
673 <div class="method">
674 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
675 <pre>Lists ImageImports in a given project.
676
677 Args:
678 parent: string, Required. The parent, which owns this collection of targets. (required)
679 filter: string, Optional. The filter request (according to AIP-160).
680 orderBy: string, Optional. The order by fields for the result (according to AIP-132). Currently ordering is only possible by &quot;name&quot; field.
681 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.
682 pageToken: string, Optional. A page token, received from a previous `ListImageImports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImageImports` must match the call that provided the page token.
683 x__xgafv: string, V1 error format.
684 Allowed values
685 1 - v1 error format
686 2 - v2 error format
687
688 Returns:
689 An object of the form:
690
691 { # Response message for &#x27;ListImageImports&#x27; call.
692 &quot;imageImports&quot;: [ # Output only. The list of target response.
693 { # ImageImport describes the configuration of the image import to run.
694 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Immutable. The path to the Cloud Storage file from which the image should be imported.
695 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created.
696 &quot;diskImageTargetDefaults&quot;: { # The target details of the image resource that will be created by the import job. # Immutable. Target details for importing a disk image, will be used by ImageImportJob.
697 &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
698 &quot;A String&quot;,
699 ],
700 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
701 &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.
702 &quot;A String&quot;,
703 ],
704 },
705 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
706 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
707 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
708 },
709 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
710 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
711 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
712 &quot;a_key&quot;: &quot;A String&quot;,
713 },
714 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
715 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
716 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
717 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
718 &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.
719 },
720 ],
721 &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
722 &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).
723 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
724 },
725 &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.
726 &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.
727 },
728 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
729 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
730 },
731 &quot;machineImageTargetDefaults&quot;: { # The target details of the machine image resource that will be created by the image import job. # Immutable. Target details for importing a machine image, will be used by ImageImportJob.
732 &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
733 &quot;A String&quot;,
734 ],
735 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
736 &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.
737 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
738 },
739 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
740 &quot;a_key&quot;: &quot;A String&quot;,
741 },
742 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
743 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
744 &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.
745 },
746 &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.
747 { # NetworkInterface represents a NIC of a VM.
748 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
749 &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.
750 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
751 &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.
752 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
753 },
754 ],
755 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
756 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
757 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
758 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
759 &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.
760 },
761 ],
762 &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
763 &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).
764 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
765 },
766 &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.
767 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
768 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
769 &quot;A String&quot;,
770 ],
771 },
772 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
773 &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.
774 &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.
775 &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.
776 },
777 &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.
778 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
779 },
780 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
781 &quot;A String&quot;,
782 ],
783 &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.
784 },
785 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImport.
786 &quot;recentImageImportJobs&quot;: [ # Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
787 { # ImageImportJob describes the progress and result of an image import.
788 &quot;cloudStorageUri&quot;: &quot;A String&quot;, # Output only. The path to the Cloud Storage file from which the image should be imported.
789 &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).
790 &quot;createdResources&quot;: [ # Output only. The resource paths of the resources created by the image import job.
791 &quot;A String&quot;,
792 ],
793 &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.
794 &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
795 &quot;A String&quot;,
796 ],
797 &quot;dataDiskImageImport&quot;: { # Used when the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
798 &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.
799 &quot;A String&quot;,
800 ],
801 },
802 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the image.
803 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Immutable. The encryption to apply to the image.
804 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
805 },
806 &quot;familyName&quot;: &quot;A String&quot;, # Optional. The name of the image family to which the new image belongs.
807 &quot;imageName&quot;: &quot;A String&quot;, # Required. The name of the image to be created.
808 &quot;labels&quot;: { # Optional. A map of labels to associate with the image.
809 &quot;a_key&quot;: &quot;A String&quot;,
810 },
811 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
812 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
813 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
814 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
815 &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.
816 },
817 ],
818 &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
819 &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).
820 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
821 },
822 &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.
823 &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.
824 },
825 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the image import was ended.
826 &quot;errors&quot;: [ # Output only. Provides details on the error that led to the image import state in case of an error.
827 { # 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).
828 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
829 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
830 {
831 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
832 },
833 ],
834 &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.
835 },
836 ],
837 &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.
838 &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
839 &quot;A String&quot;,
840 ],
841 &quot;description&quot;: &quot;A String&quot;, # Optional. An optional description of the machine image.
842 &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.
843 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
844 },
845 &quot;labels&quot;: { # Optional. The labels to apply to the instance created by the machine image.
846 &quot;a_key&quot;: &quot;A String&quot;,
847 },
848 &quot;machineImageName&quot;: &quot;A String&quot;, # Required. The name of the machine image to be created.
849 &quot;machineImageParametersOverrides&quot;: { # Parameters overriding decisions based on the source machine image configurations. # Optional. Parameters overriding decisions based on the source machine image configurations.
850 &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.
851 },
852 &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.
853 { # NetworkInterface represents a NIC of a VM.
854 &quot;externalIp&quot;: &quot;A String&quot;, # Optional. The external IP to define in the NIC.
855 &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.
856 &quot;network&quot;: &quot;A String&quot;, # Optional. The network to connect the NIC to.
857 &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.
858 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The subnetwork to connect the NIC to.
859 },
860 ],
861 &quot;osAdaptationParameters&quot;: { # Parameters affecting the OS adaptation process. # Optional. Use to set the parameters relevant for the OS adaptation process.
862 &quot;adaptationModifiers&quot;: [ # Optional. Modifiers to be used as configuration of the OS adaptation process.
863 { # AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
864 &quot;modifier&quot;: &quot;A String&quot;, # Optional. The modifier name.
865 &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.
866 },
867 ],
868 &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
869 &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).
870 &quot;licenseType&quot;: &quot;A String&quot;, # Optional. Choose which type of license to apply to the imported image.
871 },
872 &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.
873 &quot;email&quot;: &quot;A String&quot;, # Required. The email address of the service account.
874 &quot;scopes&quot;: [ # Optional. The list of scopes to be made available for this service account.
875 &quot;A String&quot;,
876 ],
877 },
878 &quot;shieldedInstanceConfig&quot;: { # Shielded instance configuration. # Optional. Shielded instance configuration.
879 &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.
880 &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.
881 &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.
882 },
883 &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.
884 &quot;skipOsAdaptation&quot;: { # Mentions that the machine image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
885 },
886 &quot;tags&quot;: [ # Optional. The tags to apply to the instance created by the machine image.
887 &quot;A String&quot;,
888 ],
889 &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.
890 },
891 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource path of the ImageImportJob.
892 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the image import.
893 &quot;steps&quot;: [ # Output only. The image import steps list representing its progress.
894 { # ImageImportStep holds information about the image import step progress.
895 &quot;adaptingOs&quot;: { # AdaptingOSStep contains specific step details. # Adapting OS step.
896 },
897 &quot;creatingImage&quot;: { # CreatingImageStep contains specific step details. # Creating image step.
898 },
899 &quot;endTime&quot;: &quot;A String&quot;, # Output only. The time the step has ended.
900 &quot;initializing&quot;: { # InitializingImageImportStep contains specific step details. # Initializing step.
901 },
902 &quot;loadingSourceFiles&quot;: { # LoadingImageSourceFilesStep contains specific step details. # Loading source files step.
903 },
904 &quot;startTime&quot;: &quot;A String&quot;, # Output only. The time the step has started.
905 },
906 ],
907 &quot;warnings&quot;: [ # Output only. Warnings that occurred during the image import.
908 { # 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.
909 &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.
910 &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;
911 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
912 },
913 &quot;code&quot;: &quot;A String&quot;, # The warning code.
914 &quot;helpLinks&quot;: [ # Output only. URL(s) pointing to additional information on handling the current warning.
915 { # Describes a URL link.
916 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
917 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
918 },
919 ],
920 &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.
921 &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;
922 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
923 },
924 &quot;warningTime&quot;: &quot;A String&quot;, # The time the warning occurred.
925 },
926 ],
927 },
928 ],
929 },
930 ],
931 &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.
932 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
933 &quot;A String&quot;,
934 ],
935 }</pre>
936 </div>
937
938 <div class="method">
939 <code class="details" id="list_next">list_next()</code>
940 <pre>Retrieves the next page of results.
941
942 Args:
943 previous_request: The request for the previous page. (required)
944 previous_response: The response from the request for the previous page. (required)
945
946 Returns:
947 A request object that you can call &#x27;execute()&#x27; on to request the next
948 page. Returns None if there are no more items in the collection.
949 </pre>
950 </div>
951
952 </body></html>