google-apis-vmmigration_v1 0.45.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2906e1a8fc8bcc763cd5a637717ede603656d4c6350f59fc630708fe40932ea
4
- data.tar.gz: 22a3b6cdd2367d73e466a54a05208f7f4fb13fae4338f29c091ba0e97f157cc5
3
+ metadata.gz: f7f118cb813f2c2af38109e3fe2b721e207459b2c644469bff580a08ad5bd4ac
4
+ data.tar.gz: dbed0b118cd1688b0e7480163baf93ff114693eb8a3cf7b0b1585656aac735d5
5
5
  SHA512:
6
- metadata.gz: 015bc15a3db71f17f713962288e063f66de170ef8f6e801391b7ab595b7ebd9797147abe8c3bcbc40b7efdfd0bd7daeabe17e787256ebff16ef33860798ec068
7
- data.tar.gz: e6470334fd733ec176b064361176276fc054eb4a1cc46d6a9e0132173dcc8f53b79975eeb559eba9466e3adba11311e780bddaf77640d35bbe462ef6bd641692
6
+ metadata.gz: d531cba8f51eb2183c05446765d106605ad430d015c2485354cfd7637d83b3e94f1103a8a91e05286932f8f8397bc6e4a67bdc3b3157a99ea3badf39995f49d9
7
+ data.tar.gz: 7752e495beb8b4cffa9ee3c51fac4007c6eec1b04aef1a10fb692a48f07c1619c312d3293cbe2dc4f9a0d13b4998b2d0832aaa0091816d79f92ea507260169ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.46.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240222
6
+
3
7
  ### v0.45.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -798,6 +798,19 @@ module Google
798
798
  end
799
799
  end
800
800
 
801
+ # Request message for 'CancelImageImportJob' request.
802
+ class CancelImageImportJobRequest
803
+ include Google::Apis::Core::Hashable
804
+
805
+ def initialize(**args)
806
+ update!(**args)
807
+ end
808
+
809
+ # Update properties of this object
810
+ def update!(**args)
811
+ end
812
+ end
813
+
801
814
  # The request message for Operations.CancelOperation.
802
815
  class CancelOperationRequest
803
816
  include Google::Apis::Core::Hashable
@@ -1352,6 +1365,19 @@ module Google
1352
1365
  end
1353
1366
  end
1354
1367
 
1368
+ # CreatingImageStep contains specific step details.
1369
+ class CreatingImageStep
1370
+ include Google::Apis::Core::Hashable
1371
+
1372
+ def initialize(**args)
1373
+ update!(**args)
1374
+ end
1375
+
1376
+ # Update properties of this object
1377
+ def update!(**args)
1378
+ end
1379
+ end
1380
+
1355
1381
  # CutoverForecast holds information about future CutoverJobs of a MigratingVm.
1356
1382
  class CutoverForecast
1357
1383
  include Google::Apis::Core::Hashable
@@ -1561,6 +1587,19 @@ module Google
1561
1587
  end
1562
1588
  end
1563
1589
 
1590
+ # Mentions that the image import is not using OS adaptation process.
1591
+ class DataDiskImageImport
1592
+ include Google::Apis::Core::Hashable
1593
+
1594
+ def initialize(**args)
1595
+ update!(**args)
1596
+ end
1597
+
1598
+ # Update properties of this object
1599
+ def update!(**args)
1600
+ end
1601
+ end
1602
+
1564
1603
  # DatacenterConnector message describes a connector between the Source and
1565
1604
  # Google Cloud, which is installed on a vmware datacenter (an OVA vm installed
1566
1605
  # by the user) to connect the Datacenter to Google Cloud and support vm
@@ -1725,6 +1764,83 @@ module Google
1725
1764
  end
1726
1765
  end
1727
1766
 
1767
+ # The target details of the image resource that will be created by the import
1768
+ # job.
1769
+ class DiskImageTargetDetails
1770
+ include Google::Apis::Core::Hashable
1771
+
1772
+ # Optional. Additional licenses to assign to the image.
1773
+ # Corresponds to the JSON property `additionalLicenses`
1774
+ # @return [Array<String>]
1775
+ attr_accessor :additional_licenses
1776
+
1777
+ # Mentions that the image import is not using OS adaptation process.
1778
+ # Corresponds to the JSON property `dataDiskImageImport`
1779
+ # @return [Google::Apis::VmmigrationV1::DataDiskImageImport]
1780
+ attr_accessor :data_disk_image_import
1781
+
1782
+ # Optional. An optional description of the image.
1783
+ # Corresponds to the JSON property `description`
1784
+ # @return [String]
1785
+ attr_accessor :description
1786
+
1787
+ # Encryption message describes the details of the applied encryption.
1788
+ # Corresponds to the JSON property `encryption`
1789
+ # @return [Google::Apis::VmmigrationV1::Encryption]
1790
+ attr_accessor :encryption
1791
+
1792
+ # Optional. The name of the image family to which the new image belongs.
1793
+ # Corresponds to the JSON property `familyName`
1794
+ # @return [String]
1795
+ attr_accessor :family_name
1796
+
1797
+ # Required. The name of the image to be created.
1798
+ # Corresponds to the JSON property `imageName`
1799
+ # @return [String]
1800
+ attr_accessor :image_name
1801
+
1802
+ # Optional. A map of labels to associate with the image.
1803
+ # Corresponds to the JSON property `labels`
1804
+ # @return [Hash<String,String>]
1805
+ attr_accessor :labels
1806
+
1807
+ # Parameters affecting the OS adaptation process.
1808
+ # Corresponds to the JSON property `osAdaptationParameters`
1809
+ # @return [Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters]
1810
+ attr_accessor :os_adaptation_parameters
1811
+
1812
+ # Optional. Set to true to set the image storageLocations to the single region
1813
+ # of the import job. When false, the closest multi-region is selected.
1814
+ # Corresponds to the JSON property `singleRegionStorage`
1815
+ # @return [Boolean]
1816
+ attr_accessor :single_region_storage
1817
+ alias_method :single_region_storage?, :single_region_storage
1818
+
1819
+ # Required. Reference to the TargetProject resource that represents the target
1820
+ # project in which the imported image will be created.
1821
+ # Corresponds to the JSON property `targetProject`
1822
+ # @return [String]
1823
+ attr_accessor :target_project
1824
+
1825
+ def initialize(**args)
1826
+ update!(**args)
1827
+ end
1828
+
1829
+ # Update properties of this object
1830
+ def update!(**args)
1831
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1832
+ @data_disk_image_import = args[:data_disk_image_import] if args.key?(:data_disk_image_import)
1833
+ @description = args[:description] if args.key?(:description)
1834
+ @encryption = args[:encryption] if args.key?(:encryption)
1835
+ @family_name = args[:family_name] if args.key?(:family_name)
1836
+ @image_name = args[:image_name] if args.key?(:image_name)
1837
+ @labels = args[:labels] if args.key?(:labels)
1838
+ @os_adaptation_parameters = args[:os_adaptation_parameters] if args.key?(:os_adaptation_parameters)
1839
+ @single_region_storage = args[:single_region_storage] if args.key?(:single_region_storage)
1840
+ @target_project = args[:target_project] if args.key?(:target_project)
1841
+ end
1842
+ end
1843
+
1728
1844
  # Details for a disk only migration.
1729
1845
  class DisksMigrationDisksTargetDefaults
1730
1846
  include Google::Apis::Core::Hashable
@@ -2013,6 +2129,228 @@ module Google
2013
2129
  end
2014
2130
  end
2015
2131
 
2132
+ # ImageImport describes the configuration of the image import to run.
2133
+ class ImageImport
2134
+ include Google::Apis::Core::Hashable
2135
+
2136
+ # Immutable. The path to the Cloud Storage file from which the image should be
2137
+ # imported.
2138
+ # Corresponds to the JSON property `cloudStorageUri`
2139
+ # @return [String]
2140
+ attr_accessor :cloud_storage_uri
2141
+
2142
+ # Output only. The time the image import was created.
2143
+ # Corresponds to the JSON property `createTime`
2144
+ # @return [String]
2145
+ attr_accessor :create_time
2146
+
2147
+ # The target details of the image resource that will be created by the import
2148
+ # job.
2149
+ # Corresponds to the JSON property `diskImageTargetDefaults`
2150
+ # @return [Google::Apis::VmmigrationV1::DiskImageTargetDetails]
2151
+ attr_accessor :disk_image_target_defaults
2152
+
2153
+ # Encryption message describes the details of the applied encryption.
2154
+ # Corresponds to the JSON property `encryption`
2155
+ # @return [Google::Apis::VmmigrationV1::Encryption]
2156
+ attr_accessor :encryption
2157
+
2158
+ # Output only. The resource path of the ImageImport.
2159
+ # Corresponds to the JSON property `name`
2160
+ # @return [String]
2161
+ attr_accessor :name
2162
+
2163
+ # Output only. The result of the most recent runs for this ImageImport. All jobs
2164
+ # for this ImageImport can be listed via ListImageImportJobs.
2165
+ # Corresponds to the JSON property `recentImageImportJobs`
2166
+ # @return [Array<Google::Apis::VmmigrationV1::ImageImportJob>]
2167
+ attr_accessor :recent_image_import_jobs
2168
+
2169
+ def initialize(**args)
2170
+ update!(**args)
2171
+ end
2172
+
2173
+ # Update properties of this object
2174
+ def update!(**args)
2175
+ @cloud_storage_uri = args[:cloud_storage_uri] if args.key?(:cloud_storage_uri)
2176
+ @create_time = args[:create_time] if args.key?(:create_time)
2177
+ @disk_image_target_defaults = args[:disk_image_target_defaults] if args.key?(:disk_image_target_defaults)
2178
+ @encryption = args[:encryption] if args.key?(:encryption)
2179
+ @name = args[:name] if args.key?(:name)
2180
+ @recent_image_import_jobs = args[:recent_image_import_jobs] if args.key?(:recent_image_import_jobs)
2181
+ end
2182
+ end
2183
+
2184
+ # ImageImportJob describes the progress and result of an image import.
2185
+ class ImageImportJob
2186
+ include Google::Apis::Core::Hashable
2187
+
2188
+ # Output only. The path to the Cloud Storage file from which the image should be
2189
+ # imported.
2190
+ # Corresponds to the JSON property `cloudStorageUri`
2191
+ # @return [String]
2192
+ attr_accessor :cloud_storage_uri
2193
+
2194
+ # Output only. The time the image import was created (as an API call, not when
2195
+ # it was actually created in the target).
2196
+ # Corresponds to the JSON property `createTime`
2197
+ # @return [String]
2198
+ attr_accessor :create_time
2199
+
2200
+ # Output only. The resource paths of the resources created by the image import
2201
+ # job.
2202
+ # Corresponds to the JSON property `createdResources`
2203
+ # @return [Array<String>]
2204
+ attr_accessor :created_resources
2205
+
2206
+ # The target details of the image resource that will be created by the import
2207
+ # job.
2208
+ # Corresponds to the JSON property `diskImageTargetDetails`
2209
+ # @return [Google::Apis::VmmigrationV1::DiskImageTargetDetails]
2210
+ attr_accessor :disk_image_target_details
2211
+
2212
+ # Output only. The time the image import was ended.
2213
+ # Corresponds to the JSON property `endTime`
2214
+ # @return [String]
2215
+ attr_accessor :end_time
2216
+
2217
+ # Output only. Provides details on the error that led to the image import state
2218
+ # in case of an error.
2219
+ # Corresponds to the JSON property `errors`
2220
+ # @return [Array<Google::Apis::VmmigrationV1::Status>]
2221
+ attr_accessor :errors
2222
+
2223
+ # Output only. The resource path of the ImageImportJob.
2224
+ # Corresponds to the JSON property `name`
2225
+ # @return [String]
2226
+ attr_accessor :name
2227
+
2228
+ # Output only. The state of the image import.
2229
+ # Corresponds to the JSON property `state`
2230
+ # @return [String]
2231
+ attr_accessor :state
2232
+
2233
+ # Output only. The image import steps list representing its progress.
2234
+ # Corresponds to the JSON property `steps`
2235
+ # @return [Array<Google::Apis::VmmigrationV1::ImageImportStep>]
2236
+ attr_accessor :steps
2237
+
2238
+ # Output only. Warnings that occurred during the image import.
2239
+ # Corresponds to the JSON property `warnings`
2240
+ # @return [Array<Google::Apis::VmmigrationV1::MigrationWarning>]
2241
+ attr_accessor :warnings
2242
+
2243
+ def initialize(**args)
2244
+ update!(**args)
2245
+ end
2246
+
2247
+ # Update properties of this object
2248
+ def update!(**args)
2249
+ @cloud_storage_uri = args[:cloud_storage_uri] if args.key?(:cloud_storage_uri)
2250
+ @create_time = args[:create_time] if args.key?(:create_time)
2251
+ @created_resources = args[:created_resources] if args.key?(:created_resources)
2252
+ @disk_image_target_details = args[:disk_image_target_details] if args.key?(:disk_image_target_details)
2253
+ @end_time = args[:end_time] if args.key?(:end_time)
2254
+ @errors = args[:errors] if args.key?(:errors)
2255
+ @name = args[:name] if args.key?(:name)
2256
+ @state = args[:state] if args.key?(:state)
2257
+ @steps = args[:steps] if args.key?(:steps)
2258
+ @warnings = args[:warnings] if args.key?(:warnings)
2259
+ end
2260
+ end
2261
+
2262
+ # Parameters affecting the OS adaptation process.
2263
+ class ImageImportOsAdaptationParameters
2264
+ include Google::Apis::Core::Hashable
2265
+
2266
+ # Optional. Set to true in order to generalize the imported image. The
2267
+ # generalization process enables co-existence of multiple VMs created from the
2268
+ # same image. For Windows, generalizing the image removes computer-specific
2269
+ # information such as installed drivers and the computer security identifier (
2270
+ # SID).
2271
+ # Corresponds to the JSON property `generalize`
2272
+ # @return [Boolean]
2273
+ attr_accessor :generalize
2274
+ alias_method :generalize?, :generalize
2275
+
2276
+ # Optional. Choose which type of license to apply to the imported image.
2277
+ # Corresponds to the JSON property `licenseType`
2278
+ # @return [String]
2279
+ attr_accessor :license_type
2280
+
2281
+ def initialize(**args)
2282
+ update!(**args)
2283
+ end
2284
+
2285
+ # Update properties of this object
2286
+ def update!(**args)
2287
+ @generalize = args[:generalize] if args.key?(:generalize)
2288
+ @license_type = args[:license_type] if args.key?(:license_type)
2289
+ end
2290
+ end
2291
+
2292
+ # ImageImportStep holds information about the image import step progress.
2293
+ class ImageImportStep
2294
+ include Google::Apis::Core::Hashable
2295
+
2296
+ # AdaptingOSStep contains specific step details.
2297
+ # Corresponds to the JSON property `adaptingOs`
2298
+ # @return [Google::Apis::VmmigrationV1::AdaptingOsStep]
2299
+ attr_accessor :adapting_os
2300
+
2301
+ # CreatingImageStep contains specific step details.
2302
+ # Corresponds to the JSON property `creatingImage`
2303
+ # @return [Google::Apis::VmmigrationV1::CreatingImageStep]
2304
+ attr_accessor :creating_image
2305
+
2306
+ # Output only. The time the step has ended.
2307
+ # Corresponds to the JSON property `endTime`
2308
+ # @return [String]
2309
+ attr_accessor :end_time
2310
+
2311
+ # InitializingImageImportStep contains specific step details.
2312
+ # Corresponds to the JSON property `initializing`
2313
+ # @return [Google::Apis::VmmigrationV1::InitializingImageImportStep]
2314
+ attr_accessor :initializing
2315
+
2316
+ # LoadingImageSourceFilesStep contains specific step details.
2317
+ # Corresponds to the JSON property `loadingSourceFiles`
2318
+ # @return [Google::Apis::VmmigrationV1::LoadingImageSourceFilesStep]
2319
+ attr_accessor :loading_source_files
2320
+
2321
+ # Output only. The time the step has started.
2322
+ # Corresponds to the JSON property `startTime`
2323
+ # @return [String]
2324
+ attr_accessor :start_time
2325
+
2326
+ def initialize(**args)
2327
+ update!(**args)
2328
+ end
2329
+
2330
+ # Update properties of this object
2331
+ def update!(**args)
2332
+ @adapting_os = args[:adapting_os] if args.key?(:adapting_os)
2333
+ @creating_image = args[:creating_image] if args.key?(:creating_image)
2334
+ @end_time = args[:end_time] if args.key?(:end_time)
2335
+ @initializing = args[:initializing] if args.key?(:initializing)
2336
+ @loading_source_files = args[:loading_source_files] if args.key?(:loading_source_files)
2337
+ @start_time = args[:start_time] if args.key?(:start_time)
2338
+ end
2339
+ end
2340
+
2341
+ # InitializingImageImportStep contains specific step details.
2342
+ class InitializingImageImportStep
2343
+ include Google::Apis::Core::Hashable
2344
+
2345
+ def initialize(**args)
2346
+ update!(**args)
2347
+ end
2348
+
2349
+ # Update properties of this object
2350
+ def update!(**args)
2351
+ end
2352
+ end
2353
+
2016
2354
  # InitializingReplicationStep contains specific step details.
2017
2355
  class InitializingReplicationStep
2018
2356
  include Google::Apis::Core::Hashable
@@ -2192,6 +2530,70 @@ module Google
2192
2530
  end
2193
2531
  end
2194
2532
 
2533
+ # Response message for 'ListImageImportJobs' call.
2534
+ class ListImageImportJobsResponse
2535
+ include Google::Apis::Core::Hashable
2536
+
2537
+ # Output only. The list of target response.
2538
+ # Corresponds to the JSON property `imageImportJobs`
2539
+ # @return [Array<Google::Apis::VmmigrationV1::ImageImportJob>]
2540
+ attr_accessor :image_import_jobs
2541
+
2542
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
2543
+ # page. If this field is omitted, there are no subsequent pages.
2544
+ # Corresponds to the JSON property `nextPageToken`
2545
+ # @return [String]
2546
+ attr_accessor :next_page_token
2547
+
2548
+ # Output only. Locations that could not be reached.
2549
+ # Corresponds to the JSON property `unreachable`
2550
+ # @return [Array<String>]
2551
+ attr_accessor :unreachable
2552
+
2553
+ def initialize(**args)
2554
+ update!(**args)
2555
+ end
2556
+
2557
+ # Update properties of this object
2558
+ def update!(**args)
2559
+ @image_import_jobs = args[:image_import_jobs] if args.key?(:image_import_jobs)
2560
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2561
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2562
+ end
2563
+ end
2564
+
2565
+ # Response message for 'ListImageImports' call.
2566
+ class ListImageImportsResponse
2567
+ include Google::Apis::Core::Hashable
2568
+
2569
+ # Output only. The list of target response.
2570
+ # Corresponds to the JSON property `imageImports`
2571
+ # @return [Array<Google::Apis::VmmigrationV1::ImageImport>]
2572
+ attr_accessor :image_imports
2573
+
2574
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
2575
+ # page. If this field is omitted, there are no subsequent pages.
2576
+ # Corresponds to the JSON property `nextPageToken`
2577
+ # @return [String]
2578
+ attr_accessor :next_page_token
2579
+
2580
+ # Output only. Locations that could not be reached.
2581
+ # Corresponds to the JSON property `unreachable`
2582
+ # @return [Array<String>]
2583
+ attr_accessor :unreachable
2584
+
2585
+ def initialize(**args)
2586
+ update!(**args)
2587
+ end
2588
+
2589
+ # Update properties of this object
2590
+ def update!(**args)
2591
+ @image_imports = args[:image_imports] if args.key?(:image_imports)
2592
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2593
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2594
+ end
2595
+ end
2596
+
2195
2597
  # The response message for Locations.ListLocations.
2196
2598
  class ListLocationsResponse
2197
2599
  include Google::Apis::Core::Hashable
@@ -2402,6 +2804,19 @@ module Google
2402
2804
  end
2403
2805
  end
2404
2806
 
2807
+ # LoadingImageSourceFilesStep contains specific step details.
2808
+ class LoadingImageSourceFilesStep
2809
+ include Google::Apis::Core::Hashable
2810
+
2811
+ def initialize(**args)
2812
+ update!(**args)
2813
+ end
2814
+
2815
+ # Update properties of this object
2816
+ def update!(**args)
2817
+ end
2818
+ end
2819
+
2405
2820
  # Provides a localized error message that is safe to return to the user which
2406
2821
  # can be attached to an RPC error.
2407
2822
  class LocalizedMessage
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmmigrationV1
18
18
  # Version of the google-apis-vmmigration_v1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240222"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class CancelImageImportJobRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class CancelOperationRequest
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -196,6 +202,12 @@ module Google
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
205
+ class CreatingImageStep
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class CutoverForecast
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -220,6 +232,12 @@ module Google
220
232
  include Google::Apis::Core::JsonObjectSupport
221
233
  end
222
234
 
235
+ class DataDiskImageImport
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
223
241
  class DatacenterConnector
224
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
243
 
@@ -238,6 +256,12 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class DiskImageTargetDetails
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class DisksMigrationDisksTargetDefaults
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -292,6 +316,36 @@ module Google
292
316
  include Google::Apis::Core::JsonObjectSupport
293
317
  end
294
318
 
319
+ class ImageImport
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ImageImportJob
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class ImageImportOsAdaptationParameters
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class ImageImportStep
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class InitializingImageImportStep
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
295
349
  class InitializingReplicationStep
296
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
351
 
@@ -334,6 +388,18 @@ module Google
334
388
  include Google::Apis::Core::JsonObjectSupport
335
389
  end
336
390
 
391
+ class ListImageImportJobsResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class ListImageImportsResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
337
403
  class ListLocationsResponse
338
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
405
 
@@ -376,6 +442,12 @@ module Google
376
442
  include Google::Apis::Core::JsonObjectSupport
377
443
  end
378
444
 
445
+ class LoadingImageSourceFilesStep
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
379
451
  class LocalizedMessage
380
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
453
 
@@ -836,6 +908,12 @@ module Google
836
908
  end
837
909
  end
838
910
 
911
+ class CancelImageImportJobRequest
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ end
915
+ end
916
+
839
917
  class CancelOperationRequest
840
918
  # @private
841
919
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +1057,12 @@ module Google
979
1057
  end
980
1058
  end
981
1059
 
1060
+ class CreatingImageStep
1061
+ # @private
1062
+ class Representation < Google::Apis::Core::JsonRepresentation
1063
+ end
1064
+ end
1065
+
982
1066
  class CutoverForecast
983
1067
  # @private
984
1068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1039,6 +1123,12 @@ module Google
1039
1123
  end
1040
1124
  end
1041
1125
 
1126
+ class DataDiskImageImport
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ end
1130
+ end
1131
+
1042
1132
  class DatacenterConnector
1043
1133
  # @private
1044
1134
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1078,6 +1168,25 @@ module Google
1078
1168
  end
1079
1169
  end
1080
1170
 
1171
+ class DiskImageTargetDetails
1172
+ # @private
1173
+ class Representation < Google::Apis::Core::JsonRepresentation
1174
+ collection :additional_licenses, as: 'additionalLicenses'
1175
+ property :data_disk_image_import, as: 'dataDiskImageImport', class: Google::Apis::VmmigrationV1::DataDiskImageImport, decorator: Google::Apis::VmmigrationV1::DataDiskImageImport::Representation
1176
+
1177
+ property :description, as: 'description'
1178
+ property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1179
+
1180
+ property :family_name, as: 'familyName'
1181
+ property :image_name, as: 'imageName'
1182
+ hash :labels, as: 'labels'
1183
+ property :os_adaptation_parameters, as: 'osAdaptationParameters', class: Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters, decorator: Google::Apis::VmmigrationV1::ImageImportOsAdaptationParameters::Representation
1184
+
1185
+ property :single_region_storage, as: 'singleRegionStorage'
1186
+ property :target_project, as: 'targetProject'
1187
+ end
1188
+ end
1189
+
1081
1190
  class DisksMigrationDisksTargetDefaults
1082
1191
  # @private
1083
1192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1166,6 +1275,71 @@ module Google
1166
1275
  end
1167
1276
  end
1168
1277
 
1278
+ class ImageImport
1279
+ # @private
1280
+ class Representation < Google::Apis::Core::JsonRepresentation
1281
+ property :cloud_storage_uri, as: 'cloudStorageUri'
1282
+ property :create_time, as: 'createTime'
1283
+ property :disk_image_target_defaults, as: 'diskImageTargetDefaults', class: Google::Apis::VmmigrationV1::DiskImageTargetDetails, decorator: Google::Apis::VmmigrationV1::DiskImageTargetDetails::Representation
1284
+
1285
+ property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1286
+
1287
+ property :name, as: 'name'
1288
+ collection :recent_image_import_jobs, as: 'recentImageImportJobs', class: Google::Apis::VmmigrationV1::ImageImportJob, decorator: Google::Apis::VmmigrationV1::ImageImportJob::Representation
1289
+
1290
+ end
1291
+ end
1292
+
1293
+ class ImageImportJob
1294
+ # @private
1295
+ class Representation < Google::Apis::Core::JsonRepresentation
1296
+ property :cloud_storage_uri, as: 'cloudStorageUri'
1297
+ property :create_time, as: 'createTime'
1298
+ collection :created_resources, as: 'createdResources'
1299
+ property :disk_image_target_details, as: 'diskImageTargetDetails', class: Google::Apis::VmmigrationV1::DiskImageTargetDetails, decorator: Google::Apis::VmmigrationV1::DiskImageTargetDetails::Representation
1300
+
1301
+ property :end_time, as: 'endTime'
1302
+ collection :errors, as: 'errors', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
1303
+
1304
+ property :name, as: 'name'
1305
+ property :state, as: 'state'
1306
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1::ImageImportStep, decorator: Google::Apis::VmmigrationV1::ImageImportStep::Representation
1307
+
1308
+ collection :warnings, as: 'warnings', class: Google::Apis::VmmigrationV1::MigrationWarning, decorator: Google::Apis::VmmigrationV1::MigrationWarning::Representation
1309
+
1310
+ end
1311
+ end
1312
+
1313
+ class ImageImportOsAdaptationParameters
1314
+ # @private
1315
+ class Representation < Google::Apis::Core::JsonRepresentation
1316
+ property :generalize, as: 'generalize'
1317
+ property :license_type, as: 'licenseType'
1318
+ end
1319
+ end
1320
+
1321
+ class ImageImportStep
1322
+ # @private
1323
+ class Representation < Google::Apis::Core::JsonRepresentation
1324
+ property :adapting_os, as: 'adaptingOs', class: Google::Apis::VmmigrationV1::AdaptingOsStep, decorator: Google::Apis::VmmigrationV1::AdaptingOsStep::Representation
1325
+
1326
+ property :creating_image, as: 'creatingImage', class: Google::Apis::VmmigrationV1::CreatingImageStep, decorator: Google::Apis::VmmigrationV1::CreatingImageStep::Representation
1327
+
1328
+ property :end_time, as: 'endTime'
1329
+ property :initializing, as: 'initializing', class: Google::Apis::VmmigrationV1::InitializingImageImportStep, decorator: Google::Apis::VmmigrationV1::InitializingImageImportStep::Representation
1330
+
1331
+ property :loading_source_files, as: 'loadingSourceFiles', class: Google::Apis::VmmigrationV1::LoadingImageSourceFilesStep, decorator: Google::Apis::VmmigrationV1::LoadingImageSourceFilesStep::Representation
1332
+
1333
+ property :start_time, as: 'startTime'
1334
+ end
1335
+ end
1336
+
1337
+ class InitializingImageImportStep
1338
+ # @private
1339
+ class Representation < Google::Apis::Core::JsonRepresentation
1340
+ end
1341
+ end
1342
+
1169
1343
  class InitializingReplicationStep
1170
1344
  # @private
1171
1345
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1226,6 +1400,26 @@ module Google
1226
1400
  end
1227
1401
  end
1228
1402
 
1403
+ class ListImageImportJobsResponse
1404
+ # @private
1405
+ class Representation < Google::Apis::Core::JsonRepresentation
1406
+ collection :image_import_jobs, as: 'imageImportJobs', class: Google::Apis::VmmigrationV1::ImageImportJob, decorator: Google::Apis::VmmigrationV1::ImageImportJob::Representation
1407
+
1408
+ property :next_page_token, as: 'nextPageToken'
1409
+ collection :unreachable, as: 'unreachable'
1410
+ end
1411
+ end
1412
+
1413
+ class ListImageImportsResponse
1414
+ # @private
1415
+ class Representation < Google::Apis::Core::JsonRepresentation
1416
+ collection :image_imports, as: 'imageImports', class: Google::Apis::VmmigrationV1::ImageImport, decorator: Google::Apis::VmmigrationV1::ImageImport::Representation
1417
+
1418
+ property :next_page_token, as: 'nextPageToken'
1419
+ collection :unreachable, as: 'unreachable'
1420
+ end
1421
+ end
1422
+
1229
1423
  class ListLocationsResponse
1230
1424
  # @private
1231
1425
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1294,6 +1488,12 @@ module Google
1294
1488
  end
1295
1489
  end
1296
1490
 
1491
+ class LoadingImageSourceFilesStep
1492
+ # @private
1493
+ class Representation < Google::Apis::Core::JsonRepresentation
1494
+ end
1495
+ end
1496
+
1297
1497
  class LocalizedMessage
1298
1498
  # @private
1299
1499
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -408,6 +408,287 @@ module Google
408
408
  execute_or_queue_command(command, &block)
409
409
  end
410
410
 
411
+ # Creates a new ImageImport in a given project.
412
+ # @param [String] parent
413
+ # Required. The ImageImport's parent.
414
+ # @param [Google::Apis::VmmigrationV1::ImageImport] image_import_object
415
+ # @param [String] image_import_id
416
+ # Required. The image import identifier. This value maximum length is 63
417
+ # characters, and valid characters are /a-z-/. It must start with an english
418
+ # letter and must not end with a hyphen.
419
+ # @param [String] request_id
420
+ # Optional. A request ID to identify requests. Specify a unique request ID so
421
+ # that if you must retry your request, the server will know to ignore the
422
+ # request if it has already been completed. The server will guarantee that for
423
+ # at least 60 minutes since the first request. For example, consider a situation
424
+ # where you make an initial request and the request times out. If you make the
425
+ # request again with the same request ID, the server can check if original
426
+ # operation with the same request ID was received, and if so, will ignore the
427
+ # second request. This prevents clients from accidentally creating duplicate
428
+ # commitments. The request ID must be a valid UUID with the exception that zero
429
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
430
+ # @param [String] fields
431
+ # Selector specifying which fields to include in a partial response.
432
+ # @param [String] quota_user
433
+ # Available to use for quota purposes for server-side applications. Can be any
434
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
435
+ # @param [Google::Apis::RequestOptions] options
436
+ # Request-specific options
437
+ #
438
+ # @yield [result, err] Result & error if block supplied
439
+ # @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
440
+ # @yieldparam err [StandardError] error object if request failed
441
+ #
442
+ # @return [Google::Apis::VmmigrationV1::Operation]
443
+ #
444
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
445
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
446
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
447
+ def create_project_location_image_import(parent, image_import_object = nil, image_import_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
448
+ command = make_simple_command(:post, 'v1/{+parent}/imageImports', options)
449
+ command.request_representation = Google::Apis::VmmigrationV1::ImageImport::Representation
450
+ command.request_object = image_import_object
451
+ command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
452
+ command.response_class = Google::Apis::VmmigrationV1::Operation
453
+ command.params['parent'] = parent unless parent.nil?
454
+ command.query['imageImportId'] = image_import_id unless image_import_id.nil?
455
+ command.query['requestId'] = request_id unless request_id.nil?
456
+ command.query['fields'] = fields unless fields.nil?
457
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
458
+ execute_or_queue_command(command, &block)
459
+ end
460
+
461
+ # Deletes a single ImageImport.
462
+ # @param [String] name
463
+ # Required. The ImageImport name.
464
+ # @param [String] request_id
465
+ # Optional. A request ID to identify requests. Specify a unique request ID so
466
+ # that if you must retry your request, the server will know to ignore the
467
+ # request if it has already been completed. The server will guarantee that for
468
+ # at least 60 minutes after the first request. For example, consider a situation
469
+ # where you make an initial request and t he request times out. If you make the
470
+ # request again with the same request ID, the server can check if original
471
+ # operation with the same request ID was received, and if so, will ignore the
472
+ # second request. This prevents clients from accidentally creating duplicate
473
+ # commitments. The request ID must be a valid UUID with the exception that zero
474
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
475
+ # @param [String] fields
476
+ # Selector specifying which fields to include in a partial response.
477
+ # @param [String] quota_user
478
+ # Available to use for quota purposes for server-side applications. Can be any
479
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
480
+ # @param [Google::Apis::RequestOptions] options
481
+ # Request-specific options
482
+ #
483
+ # @yield [result, err] Result & error if block supplied
484
+ # @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
485
+ # @yieldparam err [StandardError] error object if request failed
486
+ #
487
+ # @return [Google::Apis::VmmigrationV1::Operation]
488
+ #
489
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
490
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
491
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
492
+ def delete_project_location_image_import(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
493
+ command = make_simple_command(:delete, 'v1/{+name}', options)
494
+ command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
495
+ command.response_class = Google::Apis::VmmigrationV1::Operation
496
+ command.params['name'] = name unless name.nil?
497
+ command.query['requestId'] = request_id unless request_id.nil?
498
+ command.query['fields'] = fields unless fields.nil?
499
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
500
+ execute_or_queue_command(command, &block)
501
+ end
502
+
503
+ # Gets details of a single ImageImport.
504
+ # @param [String] name
505
+ # Required. The ImageImport name.
506
+ # @param [String] fields
507
+ # Selector specifying which fields to include in a partial response.
508
+ # @param [String] quota_user
509
+ # Available to use for quota purposes for server-side applications. Can be any
510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
511
+ # @param [Google::Apis::RequestOptions] options
512
+ # Request-specific options
513
+ #
514
+ # @yield [result, err] Result & error if block supplied
515
+ # @yieldparam result [Google::Apis::VmmigrationV1::ImageImport] parsed result object
516
+ # @yieldparam err [StandardError] error object if request failed
517
+ #
518
+ # @return [Google::Apis::VmmigrationV1::ImageImport]
519
+ #
520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
523
+ def get_project_location_image_import(name, fields: nil, quota_user: nil, options: nil, &block)
524
+ command = make_simple_command(:get, 'v1/{+name}', options)
525
+ command.response_representation = Google::Apis::VmmigrationV1::ImageImport::Representation
526
+ command.response_class = Google::Apis::VmmigrationV1::ImageImport
527
+ command.params['name'] = name unless name.nil?
528
+ command.query['fields'] = fields unless fields.nil?
529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
530
+ execute_or_queue_command(command, &block)
531
+ end
532
+
533
+ # Lists ImageImports in a given project.
534
+ # @param [String] parent
535
+ # Required. The parent, which owns this collection of targets.
536
+ # @param [String] filter
537
+ # Optional. The filter request (according to https://google.aip.dev/160).
538
+ # @param [String] order_by
539
+ # Optional. The order by fields for the result (according to https://google.aip.
540
+ # dev/132#ordering). Currently ordering is only possible by "name" field.
541
+ # @param [Fixnum] page_size
542
+ # Optional. The maximum number of targets to return. The service may return
543
+ # fewer than this value. If unspecified, at most 500 targets will be returned.
544
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
545
+ # @param [String] page_token
546
+ # Optional. A page token, received from a previous `ListImageImports` call.
547
+ # Provide this to retrieve the subsequent page. When paginating, all other
548
+ # parameters provided to `ListImageImports` must match the call that provided
549
+ # the page token.
550
+ # @param [String] fields
551
+ # Selector specifying which fields to include in a partial response.
552
+ # @param [String] quota_user
553
+ # Available to use for quota purposes for server-side applications. Can be any
554
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
555
+ # @param [Google::Apis::RequestOptions] options
556
+ # Request-specific options
557
+ #
558
+ # @yield [result, err] Result & error if block supplied
559
+ # @yieldparam result [Google::Apis::VmmigrationV1::ListImageImportsResponse] parsed result object
560
+ # @yieldparam err [StandardError] error object if request failed
561
+ #
562
+ # @return [Google::Apis::VmmigrationV1::ListImageImportsResponse]
563
+ #
564
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
565
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
566
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
567
+ def list_project_location_image_imports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
568
+ command = make_simple_command(:get, 'v1/{+parent}/imageImports', options)
569
+ command.response_representation = Google::Apis::VmmigrationV1::ListImageImportsResponse::Representation
570
+ command.response_class = Google::Apis::VmmigrationV1::ListImageImportsResponse
571
+ command.params['parent'] = parent unless parent.nil?
572
+ command.query['filter'] = filter unless filter.nil?
573
+ command.query['orderBy'] = order_by unless order_by.nil?
574
+ command.query['pageSize'] = page_size unless page_size.nil?
575
+ command.query['pageToken'] = page_token unless page_token.nil?
576
+ command.query['fields'] = fields unless fields.nil?
577
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
578
+ execute_or_queue_command(command, &block)
579
+ end
580
+
581
+ # Initiates the cancellation of a running clone job.
582
+ # @param [String] name
583
+ # Required. The image import job id.
584
+ # @param [Google::Apis::VmmigrationV1::CancelImageImportJobRequest] cancel_image_import_job_request_object
585
+ # @param [String] fields
586
+ # Selector specifying which fields to include in a partial response.
587
+ # @param [String] quota_user
588
+ # Available to use for quota purposes for server-side applications. Can be any
589
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
590
+ # @param [Google::Apis::RequestOptions] options
591
+ # Request-specific options
592
+ #
593
+ # @yield [result, err] Result & error if block supplied
594
+ # @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
595
+ # @yieldparam err [StandardError] error object if request failed
596
+ #
597
+ # @return [Google::Apis::VmmigrationV1::Operation]
598
+ #
599
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
600
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
601
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
602
+ def cancel_image_import_job(name, cancel_image_import_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
603
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
604
+ command.request_representation = Google::Apis::VmmigrationV1::CancelImageImportJobRequest::Representation
605
+ command.request_object = cancel_image_import_job_request_object
606
+ command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
607
+ command.response_class = Google::Apis::VmmigrationV1::Operation
608
+ command.params['name'] = name unless name.nil?
609
+ command.query['fields'] = fields unless fields.nil?
610
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
611
+ execute_or_queue_command(command, &block)
612
+ end
613
+
614
+ # Gets details of a single ImageImportJob.
615
+ # @param [String] name
616
+ # Required. The ImageImportJob name.
617
+ # @param [String] fields
618
+ # Selector specifying which fields to include in a partial response.
619
+ # @param [String] quota_user
620
+ # Available to use for quota purposes for server-side applications. Can be any
621
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
622
+ # @param [Google::Apis::RequestOptions] options
623
+ # Request-specific options
624
+ #
625
+ # @yield [result, err] Result & error if block supplied
626
+ # @yieldparam result [Google::Apis::VmmigrationV1::ImageImportJob] parsed result object
627
+ # @yieldparam err [StandardError] error object if request failed
628
+ #
629
+ # @return [Google::Apis::VmmigrationV1::ImageImportJob]
630
+ #
631
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
632
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
633
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
634
+ def get_project_location_image_import_image_import_job(name, fields: nil, quota_user: nil, options: nil, &block)
635
+ command = make_simple_command(:get, 'v1/{+name}', options)
636
+ command.response_representation = Google::Apis::VmmigrationV1::ImageImportJob::Representation
637
+ command.response_class = Google::Apis::VmmigrationV1::ImageImportJob
638
+ command.params['name'] = name unless name.nil?
639
+ command.query['fields'] = fields unless fields.nil?
640
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
641
+ execute_or_queue_command(command, &block)
642
+ end
643
+
644
+ # Lists ImageImportJobs in a given project.
645
+ # @param [String] parent
646
+ # Required. The parent, which owns this collection of targets.
647
+ # @param [String] filter
648
+ # Optional. The filter request (according to https://google.aip.dev/160).
649
+ # @param [String] order_by
650
+ # Optional. The order by fields for the result (according to https://google.aip.
651
+ # dev/132#ordering). Currently ordering is only possible by "name" field.
652
+ # @param [Fixnum] page_size
653
+ # Optional. The maximum number of targets to return. The service may return
654
+ # fewer than this value. If unspecified, at most 500 targets will be returned.
655
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
656
+ # @param [String] page_token
657
+ # Optional. A page token, received from a previous `ListImageImportJobs` call.
658
+ # Provide this to retrieve the subsequent page. When paginating, all other
659
+ # parameters provided to `ListImageImportJobs` must match the call that provided
660
+ # the page token.
661
+ # @param [String] fields
662
+ # Selector specifying which fields to include in a partial response.
663
+ # @param [String] quota_user
664
+ # Available to use for quota purposes for server-side applications. Can be any
665
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
666
+ # @param [Google::Apis::RequestOptions] options
667
+ # Request-specific options
668
+ #
669
+ # @yield [result, err] Result & error if block supplied
670
+ # @yieldparam result [Google::Apis::VmmigrationV1::ListImageImportJobsResponse] parsed result object
671
+ # @yieldparam err [StandardError] error object if request failed
672
+ #
673
+ # @return [Google::Apis::VmmigrationV1::ListImageImportJobsResponse]
674
+ #
675
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
676
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
677
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
678
+ def list_project_location_image_import_image_import_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
679
+ command = make_simple_command(:get, 'v1/{+parent}/imageImportJobs', options)
680
+ command.response_representation = Google::Apis::VmmigrationV1::ListImageImportJobsResponse::Representation
681
+ command.response_class = Google::Apis::VmmigrationV1::ListImageImportJobsResponse
682
+ command.params['parent'] = parent unless parent.nil?
683
+ command.query['filter'] = filter unless filter.nil?
684
+ command.query['orderBy'] = order_by unless order_by.nil?
685
+ command.query['pageSize'] = page_size unless page_size.nil?
686
+ command.query['pageToken'] = page_token unless page_token.nil?
687
+ command.query['fields'] = fields unless fields.nil?
688
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
689
+ execute_or_queue_command(command, &block)
690
+ end
691
+
411
692
  # Starts asynchronous cancellation on a long-running operation. The server makes
412
693
  # a best effort to cancel the operation, but success is not guaranteed. If the
413
694
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmmigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1
63
63
  post_install_message:
64
64
  rdoc_options: []