google-apis-vmmigration_v1alpha1 0.46.0 → 0.48.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: 57ab8cecaed049ec9ed18e512963303ac137dbf754873115f6e63839bdac9a4d
4
- data.tar.gz: 46c1917b7d0271536218624d2aa45773e0e986232dfcfa59d3cd272cf61ba109
3
+ metadata.gz: 0f30fca9138faaa57b9d95a0c960add48f42bb7a1d0ac04f105cd17891a81047
4
+ data.tar.gz: fa1b0f3892d9ca8888cdf9e138d683591389a3bdc66ef93ef889d5f880c4f70e
5
5
  SHA512:
6
- metadata.gz: 5fc0185d47415005879630d038ed36ddac986ad6c76e66faad773dffaad9f26f7a1c741af8943f0c64e524393337d6fe1508dfcd9215c59078f207b90a7da91d
7
- data.tar.gz: 255fb56c66d53b1f42f783f82afb7d9e9a8130e75e0daa1dc19387df8eeededaa754e052f81ee9d0bda395cd6da52d8127f9393c63977464147c4cdb81b47f99
6
+ metadata.gz: c0a8b9f95debe24e8b07191d848565c0b342ed60b1cec2bac26bf2241609ee4568cda98445e9d289af363da4012064aeebfb4411e0e458ce1245be18ad2e14fe
7
+ data.tar.gz: 29ccdbfc8d0eaad7d85f8648bed101cf9c0edc2d218effb882c4438cfbf2eade3689b955b7c81c897e3079ad1948217cff91891c85bfc49dca74c96962d878fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.48.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240509
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.47.0 (2024-03-03)
9
+
10
+ * Regenerated from discovery document revision 20240222
11
+
3
12
  ### v0.46.0 (2024-02-23)
4
13
 
5
14
  * 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
@@ -1373,6 +1386,19 @@ module Google
1373
1386
  end
1374
1387
  end
1375
1388
 
1389
+ # CreatingImageStep contains specific step details.
1390
+ class CreatingImageStep
1391
+ include Google::Apis::Core::Hashable
1392
+
1393
+ def initialize(**args)
1394
+ update!(**args)
1395
+ end
1396
+
1397
+ # Update properties of this object
1398
+ def update!(**args)
1399
+ end
1400
+ end
1401
+
1376
1402
  # CutoverForecast holds information about future CutoverJobs of a MigratingVm.
1377
1403
  class CutoverForecast
1378
1404
  include Google::Apis::Core::Hashable
@@ -1602,6 +1628,19 @@ module Google
1602
1628
  end
1603
1629
  end
1604
1630
 
1631
+ # Mentions that the image import is not using OS adaptation process.
1632
+ class DataDiskImageImport
1633
+ include Google::Apis::Core::Hashable
1634
+
1635
+ def initialize(**args)
1636
+ update!(**args)
1637
+ end
1638
+
1639
+ # Update properties of this object
1640
+ def update!(**args)
1641
+ end
1642
+ end
1643
+
1605
1644
  # DatacenterConnector message describes a connector between the Source and
1606
1645
  # Google Cloud, which is installed on a vmware datacenter (an OVA vm installed
1607
1646
  # by the user) to connect the Datacenter to Google Cloud and support vm
@@ -1766,6 +1805,83 @@ module Google
1766
1805
  end
1767
1806
  end
1768
1807
 
1808
+ # The target details of the image resource that will be created by the import
1809
+ # job.
1810
+ class DiskImageTargetDetails
1811
+ include Google::Apis::Core::Hashable
1812
+
1813
+ # Optional. Additional licenses to assign to the image.
1814
+ # Corresponds to the JSON property `additionalLicenses`
1815
+ # @return [Array<String>]
1816
+ attr_accessor :additional_licenses
1817
+
1818
+ # Mentions that the image import is not using OS adaptation process.
1819
+ # Corresponds to the JSON property `dataDiskImageImport`
1820
+ # @return [Google::Apis::VmmigrationV1alpha1::DataDiskImageImport]
1821
+ attr_accessor :data_disk_image_import
1822
+
1823
+ # Optional. An optional description of the image.
1824
+ # Corresponds to the JSON property `description`
1825
+ # @return [String]
1826
+ attr_accessor :description
1827
+
1828
+ # Encryption message describes the details of the applied encryption.
1829
+ # Corresponds to the JSON property `encryption`
1830
+ # @return [Google::Apis::VmmigrationV1alpha1::Encryption]
1831
+ attr_accessor :encryption
1832
+
1833
+ # Optional. The name of the image family to which the new image belongs.
1834
+ # Corresponds to the JSON property `familyName`
1835
+ # @return [String]
1836
+ attr_accessor :family_name
1837
+
1838
+ # Required. The name of the image to be created.
1839
+ # Corresponds to the JSON property `imageName`
1840
+ # @return [String]
1841
+ attr_accessor :image_name
1842
+
1843
+ # Optional. A map of labels to associate with the image.
1844
+ # Corresponds to the JSON property `labels`
1845
+ # @return [Hash<String,String>]
1846
+ attr_accessor :labels
1847
+
1848
+ # Parameters affecting the OS adaptation process.
1849
+ # Corresponds to the JSON property `osAdaptationParameters`
1850
+ # @return [Google::Apis::VmmigrationV1alpha1::ImageImportOsAdaptationParameters]
1851
+ attr_accessor :os_adaptation_parameters
1852
+
1853
+ # Optional. Set to true to set the image storageLocations to the single region
1854
+ # of the import job. When false, the closest multi-region is selected.
1855
+ # Corresponds to the JSON property `singleRegionStorage`
1856
+ # @return [Boolean]
1857
+ attr_accessor :single_region_storage
1858
+ alias_method :single_region_storage?, :single_region_storage
1859
+
1860
+ # Required. Reference to the TargetProject resource that represents the target
1861
+ # project in which the imported image will be created.
1862
+ # Corresponds to the JSON property `targetProject`
1863
+ # @return [String]
1864
+ attr_accessor :target_project
1865
+
1866
+ def initialize(**args)
1867
+ update!(**args)
1868
+ end
1869
+
1870
+ # Update properties of this object
1871
+ def update!(**args)
1872
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1873
+ @data_disk_image_import = args[:data_disk_image_import] if args.key?(:data_disk_image_import)
1874
+ @description = args[:description] if args.key?(:description)
1875
+ @encryption = args[:encryption] if args.key?(:encryption)
1876
+ @family_name = args[:family_name] if args.key?(:family_name)
1877
+ @image_name = args[:image_name] if args.key?(:image_name)
1878
+ @labels = args[:labels] if args.key?(:labels)
1879
+ @os_adaptation_parameters = args[:os_adaptation_parameters] if args.key?(:os_adaptation_parameters)
1880
+ @single_region_storage = args[:single_region_storage] if args.key?(:single_region_storage)
1881
+ @target_project = args[:target_project] if args.key?(:target_project)
1882
+ end
1883
+ end
1884
+
1769
1885
  # Details for a disk only migration.
1770
1886
  class DisksMigrationDisksTargetDefaults
1771
1887
  include Google::Apis::Core::Hashable
@@ -2054,6 +2170,228 @@ module Google
2054
2170
  end
2055
2171
  end
2056
2172
 
2173
+ # ImageImport describes the configuration of the image import to run.
2174
+ class ImageImport
2175
+ include Google::Apis::Core::Hashable
2176
+
2177
+ # Immutable. The path to the Cloud Storage file from which the image should be
2178
+ # imported.
2179
+ # Corresponds to the JSON property `cloudStorageUri`
2180
+ # @return [String]
2181
+ attr_accessor :cloud_storage_uri
2182
+
2183
+ # Output only. The time the image import was created.
2184
+ # Corresponds to the JSON property `createTime`
2185
+ # @return [String]
2186
+ attr_accessor :create_time
2187
+
2188
+ # The target details of the image resource that will be created by the import
2189
+ # job.
2190
+ # Corresponds to the JSON property `diskImageTargetDefaults`
2191
+ # @return [Google::Apis::VmmigrationV1alpha1::DiskImageTargetDetails]
2192
+ attr_accessor :disk_image_target_defaults
2193
+
2194
+ # Encryption message describes the details of the applied encryption.
2195
+ # Corresponds to the JSON property `encryption`
2196
+ # @return [Google::Apis::VmmigrationV1alpha1::Encryption]
2197
+ attr_accessor :encryption
2198
+
2199
+ # Output only. The resource path of the ImageImport.
2200
+ # Corresponds to the JSON property `name`
2201
+ # @return [String]
2202
+ attr_accessor :name
2203
+
2204
+ # Output only. The result of the most recent runs for this ImageImport. All jobs
2205
+ # for this ImageImport can be listed via ListImageImportJobs.
2206
+ # Corresponds to the JSON property `recentImageImportJobs`
2207
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::ImageImportJob>]
2208
+ attr_accessor :recent_image_import_jobs
2209
+
2210
+ def initialize(**args)
2211
+ update!(**args)
2212
+ end
2213
+
2214
+ # Update properties of this object
2215
+ def update!(**args)
2216
+ @cloud_storage_uri = args[:cloud_storage_uri] if args.key?(:cloud_storage_uri)
2217
+ @create_time = args[:create_time] if args.key?(:create_time)
2218
+ @disk_image_target_defaults = args[:disk_image_target_defaults] if args.key?(:disk_image_target_defaults)
2219
+ @encryption = args[:encryption] if args.key?(:encryption)
2220
+ @name = args[:name] if args.key?(:name)
2221
+ @recent_image_import_jobs = args[:recent_image_import_jobs] if args.key?(:recent_image_import_jobs)
2222
+ end
2223
+ end
2224
+
2225
+ # ImageImportJob describes the progress and result of an image import.
2226
+ class ImageImportJob
2227
+ include Google::Apis::Core::Hashable
2228
+
2229
+ # Output only. The path to the Cloud Storage file from which the image should be
2230
+ # imported.
2231
+ # Corresponds to the JSON property `cloudStorageUri`
2232
+ # @return [String]
2233
+ attr_accessor :cloud_storage_uri
2234
+
2235
+ # Output only. The time the image import was created (as an API call, not when
2236
+ # it was actually created in the target).
2237
+ # Corresponds to the JSON property `createTime`
2238
+ # @return [String]
2239
+ attr_accessor :create_time
2240
+
2241
+ # Output only. The resource paths of the resources created by the image import
2242
+ # job.
2243
+ # Corresponds to the JSON property `createdResources`
2244
+ # @return [Array<String>]
2245
+ attr_accessor :created_resources
2246
+
2247
+ # The target details of the image resource that will be created by the import
2248
+ # job.
2249
+ # Corresponds to the JSON property `diskImageTargetDetails`
2250
+ # @return [Google::Apis::VmmigrationV1alpha1::DiskImageTargetDetails]
2251
+ attr_accessor :disk_image_target_details
2252
+
2253
+ # Output only. The time the image import was ended.
2254
+ # Corresponds to the JSON property `endTime`
2255
+ # @return [String]
2256
+ attr_accessor :end_time
2257
+
2258
+ # Output only. Provides details on the error that led to the image import state
2259
+ # in case of an error.
2260
+ # Corresponds to the JSON property `errors`
2261
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::Status>]
2262
+ attr_accessor :errors
2263
+
2264
+ # Output only. The resource path of the ImageImportJob.
2265
+ # Corresponds to the JSON property `name`
2266
+ # @return [String]
2267
+ attr_accessor :name
2268
+
2269
+ # Output only. The state of the image import.
2270
+ # Corresponds to the JSON property `state`
2271
+ # @return [String]
2272
+ attr_accessor :state
2273
+
2274
+ # Output only. The image import steps list representing its progress.
2275
+ # Corresponds to the JSON property `steps`
2276
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::ImageImportStep>]
2277
+ attr_accessor :steps
2278
+
2279
+ # Output only. Warnings that occurred during the image import.
2280
+ # Corresponds to the JSON property `warnings`
2281
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::MigrationWarning>]
2282
+ attr_accessor :warnings
2283
+
2284
+ def initialize(**args)
2285
+ update!(**args)
2286
+ end
2287
+
2288
+ # Update properties of this object
2289
+ def update!(**args)
2290
+ @cloud_storage_uri = args[:cloud_storage_uri] if args.key?(:cloud_storage_uri)
2291
+ @create_time = args[:create_time] if args.key?(:create_time)
2292
+ @created_resources = args[:created_resources] if args.key?(:created_resources)
2293
+ @disk_image_target_details = args[:disk_image_target_details] if args.key?(:disk_image_target_details)
2294
+ @end_time = args[:end_time] if args.key?(:end_time)
2295
+ @errors = args[:errors] if args.key?(:errors)
2296
+ @name = args[:name] if args.key?(:name)
2297
+ @state = args[:state] if args.key?(:state)
2298
+ @steps = args[:steps] if args.key?(:steps)
2299
+ @warnings = args[:warnings] if args.key?(:warnings)
2300
+ end
2301
+ end
2302
+
2303
+ # Parameters affecting the OS adaptation process.
2304
+ class ImageImportOsAdaptationParameters
2305
+ include Google::Apis::Core::Hashable
2306
+
2307
+ # Optional. Set to true in order to generalize the imported image. The
2308
+ # generalization process enables co-existence of multiple VMs created from the
2309
+ # same image. For Windows, generalizing the image removes computer-specific
2310
+ # information such as installed drivers and the computer security identifier (
2311
+ # SID).
2312
+ # Corresponds to the JSON property `generalize`
2313
+ # @return [Boolean]
2314
+ attr_accessor :generalize
2315
+ alias_method :generalize?, :generalize
2316
+
2317
+ # Optional. Choose which type of license to apply to the imported image.
2318
+ # Corresponds to the JSON property `licenseType`
2319
+ # @return [String]
2320
+ attr_accessor :license_type
2321
+
2322
+ def initialize(**args)
2323
+ update!(**args)
2324
+ end
2325
+
2326
+ # Update properties of this object
2327
+ def update!(**args)
2328
+ @generalize = args[:generalize] if args.key?(:generalize)
2329
+ @license_type = args[:license_type] if args.key?(:license_type)
2330
+ end
2331
+ end
2332
+
2333
+ # ImageImportStep holds information about the image import step progress.
2334
+ class ImageImportStep
2335
+ include Google::Apis::Core::Hashable
2336
+
2337
+ # AdaptingOSStep contains specific step details.
2338
+ # Corresponds to the JSON property `adaptingOs`
2339
+ # @return [Google::Apis::VmmigrationV1alpha1::AdaptingOsStep]
2340
+ attr_accessor :adapting_os
2341
+
2342
+ # CreatingImageStep contains specific step details.
2343
+ # Corresponds to the JSON property `creatingImage`
2344
+ # @return [Google::Apis::VmmigrationV1alpha1::CreatingImageStep]
2345
+ attr_accessor :creating_image
2346
+
2347
+ # Output only. The time the step has ended.
2348
+ # Corresponds to the JSON property `endTime`
2349
+ # @return [String]
2350
+ attr_accessor :end_time
2351
+
2352
+ # InitializingImageImportStep contains specific step details.
2353
+ # Corresponds to the JSON property `initializing`
2354
+ # @return [Google::Apis::VmmigrationV1alpha1::InitializingImageImportStep]
2355
+ attr_accessor :initializing
2356
+
2357
+ # LoadingImageSourceFilesStep contains specific step details.
2358
+ # Corresponds to the JSON property `loadingSourceFiles`
2359
+ # @return [Google::Apis::VmmigrationV1alpha1::LoadingImageSourceFilesStep]
2360
+ attr_accessor :loading_source_files
2361
+
2362
+ # Output only. The time the step has started.
2363
+ # Corresponds to the JSON property `startTime`
2364
+ # @return [String]
2365
+ attr_accessor :start_time
2366
+
2367
+ def initialize(**args)
2368
+ update!(**args)
2369
+ end
2370
+
2371
+ # Update properties of this object
2372
+ def update!(**args)
2373
+ @adapting_os = args[:adapting_os] if args.key?(:adapting_os)
2374
+ @creating_image = args[:creating_image] if args.key?(:creating_image)
2375
+ @end_time = args[:end_time] if args.key?(:end_time)
2376
+ @initializing = args[:initializing] if args.key?(:initializing)
2377
+ @loading_source_files = args[:loading_source_files] if args.key?(:loading_source_files)
2378
+ @start_time = args[:start_time] if args.key?(:start_time)
2379
+ end
2380
+ end
2381
+
2382
+ # InitializingImageImportStep contains specific step details.
2383
+ class InitializingImageImportStep
2384
+ include Google::Apis::Core::Hashable
2385
+
2386
+ def initialize(**args)
2387
+ update!(**args)
2388
+ end
2389
+
2390
+ # Update properties of this object
2391
+ def update!(**args)
2392
+ end
2393
+ end
2394
+
2057
2395
  # InitializingReplicationStep contains specific step details.
2058
2396
  class InitializingReplicationStep
2059
2397
  include Google::Apis::Core::Hashable
@@ -2233,6 +2571,70 @@ module Google
2233
2571
  end
2234
2572
  end
2235
2573
 
2574
+ # Response message for 'ListImageImportJobs' call.
2575
+ class ListImageImportJobsResponse
2576
+ include Google::Apis::Core::Hashable
2577
+
2578
+ # Output only. The list of target response.
2579
+ # Corresponds to the JSON property `imageImportJobs`
2580
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::ImageImportJob>]
2581
+ attr_accessor :image_import_jobs
2582
+
2583
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
2584
+ # page. If this field is omitted, there are no subsequent pages.
2585
+ # Corresponds to the JSON property `nextPageToken`
2586
+ # @return [String]
2587
+ attr_accessor :next_page_token
2588
+
2589
+ # Output only. Locations that could not be reached.
2590
+ # Corresponds to the JSON property `unreachable`
2591
+ # @return [Array<String>]
2592
+ attr_accessor :unreachable
2593
+
2594
+ def initialize(**args)
2595
+ update!(**args)
2596
+ end
2597
+
2598
+ # Update properties of this object
2599
+ def update!(**args)
2600
+ @image_import_jobs = args[:image_import_jobs] if args.key?(:image_import_jobs)
2601
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2602
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2603
+ end
2604
+ end
2605
+
2606
+ # Response message for 'ListImageImports' call.
2607
+ class ListImageImportsResponse
2608
+ include Google::Apis::Core::Hashable
2609
+
2610
+ # Output only. The list of target response.
2611
+ # Corresponds to the JSON property `imageImports`
2612
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::ImageImport>]
2613
+ attr_accessor :image_imports
2614
+
2615
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
2616
+ # page. If this field is omitted, there are no subsequent pages.
2617
+ # Corresponds to the JSON property `nextPageToken`
2618
+ # @return [String]
2619
+ attr_accessor :next_page_token
2620
+
2621
+ # Output only. Locations that could not be reached.
2622
+ # Corresponds to the JSON property `unreachable`
2623
+ # @return [Array<String>]
2624
+ attr_accessor :unreachable
2625
+
2626
+ def initialize(**args)
2627
+ update!(**args)
2628
+ end
2629
+
2630
+ # Update properties of this object
2631
+ def update!(**args)
2632
+ @image_imports = args[:image_imports] if args.key?(:image_imports)
2633
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2634
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2635
+ end
2636
+ end
2637
+
2236
2638
  # The response message for Locations.ListLocations.
2237
2639
  class ListLocationsResponse
2238
2640
  include Google::Apis::Core::Hashable
@@ -2443,6 +2845,19 @@ module Google
2443
2845
  end
2444
2846
  end
2445
2847
 
2848
+ # LoadingImageSourceFilesStep contains specific step details.
2849
+ class LoadingImageSourceFilesStep
2850
+ include Google::Apis::Core::Hashable
2851
+
2852
+ def initialize(**args)
2853
+ update!(**args)
2854
+ end
2855
+
2856
+ # Update properties of this object
2857
+ def update!(**args)
2858
+ end
2859
+ end
2860
+
2446
2861
  # Provides a localized error message that is safe to return to the user which
2447
2862
  # can be attached to an RPC error.
2448
2863
  class LocalizedMessage
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmmigrationV1alpha1
18
18
  # Version of the google-apis-vmmigration_v1alpha1 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240509"
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
 
@@ -842,6 +914,12 @@ module Google
842
914
  end
843
915
  end
844
916
 
917
+ class CancelImageImportJobRequest
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ end
921
+ end
922
+
845
923
  class CancelOperationRequest
846
924
  # @private
847
925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -990,6 +1068,12 @@ module Google
990
1068
  end
991
1069
  end
992
1070
 
1071
+ class CreatingImageStep
1072
+ # @private
1073
+ class Representation < Google::Apis::Core::JsonRepresentation
1074
+ end
1075
+ end
1076
+
993
1077
  class CutoverForecast
994
1078
  # @private
995
1079
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1055,6 +1139,12 @@ module Google
1055
1139
  end
1056
1140
  end
1057
1141
 
1142
+ class DataDiskImageImport
1143
+ # @private
1144
+ class Representation < Google::Apis::Core::JsonRepresentation
1145
+ end
1146
+ end
1147
+
1058
1148
  class DatacenterConnector
1059
1149
  # @private
1060
1150
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1094,6 +1184,25 @@ module Google
1094
1184
  end
1095
1185
  end
1096
1186
 
1187
+ class DiskImageTargetDetails
1188
+ # @private
1189
+ class Representation < Google::Apis::Core::JsonRepresentation
1190
+ collection :additional_licenses, as: 'additionalLicenses'
1191
+ property :data_disk_image_import, as: 'dataDiskImageImport', class: Google::Apis::VmmigrationV1alpha1::DataDiskImageImport, decorator: Google::Apis::VmmigrationV1alpha1::DataDiskImageImport::Representation
1192
+
1193
+ property :description, as: 'description'
1194
+ property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
1195
+
1196
+ property :family_name, as: 'familyName'
1197
+ property :image_name, as: 'imageName'
1198
+ hash :labels, as: 'labels'
1199
+ property :os_adaptation_parameters, as: 'osAdaptationParameters', class: Google::Apis::VmmigrationV1alpha1::ImageImportOsAdaptationParameters, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportOsAdaptationParameters::Representation
1200
+
1201
+ property :single_region_storage, as: 'singleRegionStorage'
1202
+ property :target_project, as: 'targetProject'
1203
+ end
1204
+ end
1205
+
1097
1206
  class DisksMigrationDisksTargetDefaults
1098
1207
  # @private
1099
1208
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1182,6 +1291,71 @@ module Google
1182
1291
  end
1183
1292
  end
1184
1293
 
1294
+ class ImageImport
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ property :cloud_storage_uri, as: 'cloudStorageUri'
1298
+ property :create_time, as: 'createTime'
1299
+ property :disk_image_target_defaults, as: 'diskImageTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::DiskImageTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::DiskImageTargetDetails::Representation
1300
+
1301
+ property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1alpha1::Encryption, decorator: Google::Apis::VmmigrationV1alpha1::Encryption::Representation
1302
+
1303
+ property :name, as: 'name'
1304
+ collection :recent_image_import_jobs, as: 'recentImageImportJobs', class: Google::Apis::VmmigrationV1alpha1::ImageImportJob, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportJob::Representation
1305
+
1306
+ end
1307
+ end
1308
+
1309
+ class ImageImportJob
1310
+ # @private
1311
+ class Representation < Google::Apis::Core::JsonRepresentation
1312
+ property :cloud_storage_uri, as: 'cloudStorageUri'
1313
+ property :create_time, as: 'createTime'
1314
+ collection :created_resources, as: 'createdResources'
1315
+ property :disk_image_target_details, as: 'diskImageTargetDetails', class: Google::Apis::VmmigrationV1alpha1::DiskImageTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::DiskImageTargetDetails::Representation
1316
+
1317
+ property :end_time, as: 'endTime'
1318
+ collection :errors, as: 'errors', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
1319
+
1320
+ property :name, as: 'name'
1321
+ property :state, as: 'state'
1322
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::ImageImportStep, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportStep::Representation
1323
+
1324
+ collection :warnings, as: 'warnings', class: Google::Apis::VmmigrationV1alpha1::MigrationWarning, decorator: Google::Apis::VmmigrationV1alpha1::MigrationWarning::Representation
1325
+
1326
+ end
1327
+ end
1328
+
1329
+ class ImageImportOsAdaptationParameters
1330
+ # @private
1331
+ class Representation < Google::Apis::Core::JsonRepresentation
1332
+ property :generalize, as: 'generalize'
1333
+ property :license_type, as: 'licenseType'
1334
+ end
1335
+ end
1336
+
1337
+ class ImageImportStep
1338
+ # @private
1339
+ class Representation < Google::Apis::Core::JsonRepresentation
1340
+ property :adapting_os, as: 'adaptingOs', class: Google::Apis::VmmigrationV1alpha1::AdaptingOsStep, decorator: Google::Apis::VmmigrationV1alpha1::AdaptingOsStep::Representation
1341
+
1342
+ property :creating_image, as: 'creatingImage', class: Google::Apis::VmmigrationV1alpha1::CreatingImageStep, decorator: Google::Apis::VmmigrationV1alpha1::CreatingImageStep::Representation
1343
+
1344
+ property :end_time, as: 'endTime'
1345
+ property :initializing, as: 'initializing', class: Google::Apis::VmmigrationV1alpha1::InitializingImageImportStep, decorator: Google::Apis::VmmigrationV1alpha1::InitializingImageImportStep::Representation
1346
+
1347
+ property :loading_source_files, as: 'loadingSourceFiles', class: Google::Apis::VmmigrationV1alpha1::LoadingImageSourceFilesStep, decorator: Google::Apis::VmmigrationV1alpha1::LoadingImageSourceFilesStep::Representation
1348
+
1349
+ property :start_time, as: 'startTime'
1350
+ end
1351
+ end
1352
+
1353
+ class InitializingImageImportStep
1354
+ # @private
1355
+ class Representation < Google::Apis::Core::JsonRepresentation
1356
+ end
1357
+ end
1358
+
1185
1359
  class InitializingReplicationStep
1186
1360
  # @private
1187
1361
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1242,6 +1416,26 @@ module Google
1242
1416
  end
1243
1417
  end
1244
1418
 
1419
+ class ListImageImportJobsResponse
1420
+ # @private
1421
+ class Representation < Google::Apis::Core::JsonRepresentation
1422
+ collection :image_import_jobs, as: 'imageImportJobs', class: Google::Apis::VmmigrationV1alpha1::ImageImportJob, decorator: Google::Apis::VmmigrationV1alpha1::ImageImportJob::Representation
1423
+
1424
+ property :next_page_token, as: 'nextPageToken'
1425
+ collection :unreachable, as: 'unreachable'
1426
+ end
1427
+ end
1428
+
1429
+ class ListImageImportsResponse
1430
+ # @private
1431
+ class Representation < Google::Apis::Core::JsonRepresentation
1432
+ collection :image_imports, as: 'imageImports', class: Google::Apis::VmmigrationV1alpha1::ImageImport, decorator: Google::Apis::VmmigrationV1alpha1::ImageImport::Representation
1433
+
1434
+ property :next_page_token, as: 'nextPageToken'
1435
+ collection :unreachable, as: 'unreachable'
1436
+ end
1437
+ end
1438
+
1245
1439
  class ListLocationsResponse
1246
1440
  # @private
1247
1441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1310,6 +1504,12 @@ module Google
1310
1504
  end
1311
1505
  end
1312
1506
 
1507
+ class LoadingImageSourceFilesStep
1508
+ # @private
1509
+ class Representation < Google::Apis::Core::JsonRepresentation
1510
+ end
1511
+ end
1512
+
1313
1513
  class LocalizedMessage
1314
1514
  # @private
1315
1515
  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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::Operation] parsed result object
440
+ # @yieldparam err [StandardError] error object if request failed
441
+ #
442
+ # @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+parent}/imageImports', options)
449
+ command.request_representation = Google::Apis::VmmigrationV1alpha1::ImageImport::Representation
450
+ command.request_object = image_import_object
451
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
452
+ command.response_class = Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::Operation] parsed result object
485
+ # @yieldparam err [StandardError] error object if request failed
486
+ #
487
+ # @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+name}', options)
494
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
495
+ command.response_class = Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::ImageImport] parsed result object
516
+ # @yieldparam err [StandardError] error object if request failed
517
+ #
518
+ # @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+name}', options)
525
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::ImageImport::Representation
526
+ command.response_class = Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::ListImageImportsResponse] parsed result object
560
+ # @yieldparam err [StandardError] error object if request failed
561
+ #
562
+ # @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+parent}/imageImports', options)
569
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::ListImageImportsResponse::Representation
570
+ command.response_class = Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::Operation] parsed result object
595
+ # @yieldparam err [StandardError] error object if request failed
596
+ #
597
+ # @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+name}:cancel', options)
604
+ command.request_representation = Google::Apis::VmmigrationV1alpha1::CancelImageImportJobRequest::Representation
605
+ command.request_object = cancel_image_import_job_request_object
606
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
607
+ command.response_class = Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::ImageImportJob] parsed result object
627
+ # @yieldparam err [StandardError] error object if request failed
628
+ #
629
+ # @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+name}', options)
636
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::ImageImportJob::Representation
637
+ command.response_class = Google::Apis::VmmigrationV1alpha1::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::VmmigrationV1alpha1::ListImageImportJobsResponse] parsed result object
671
+ # @yieldparam err [StandardError] error object if request failed
672
+ #
673
+ # @return [Google::Apis::VmmigrationV1alpha1::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, 'v1alpha1/{+parent}/imageImportJobs', options)
680
+ command.response_representation = Google::Apis::VmmigrationV1alpha1::ListImageImportJobsResponse::Representation
681
+ command.response_class = Google::Apis::VmmigrationV1alpha1::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_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.48.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-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []