google-apis-vmmigration_v1 0.23.0 → 0.24.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: 304fb34dfc399ff5ed67827275572c7fc574ab28a48cb0d5dcef88e0f07a5544
4
- data.tar.gz: c5e08baca21bc45e6775863e72f955e584ae9d1622670d3e28360bcbce941aa2
3
+ metadata.gz: bda04e74046fef358925ba0011665d8f6e6da7bc3f5edef26e281c848999d52c
4
+ data.tar.gz: 86e9117f72aaa0b1b0534eb6f4013df077e2adf1866ebc73e49dd6ddfb98f3ec
5
5
  SHA512:
6
- metadata.gz: 91c6077c8a21113c6058eac4d240f2ab8872c1736654aaf45747bfcfc9560e642f3586263294995faadd1d791f1e2ebae6881b06b4c6c3aebdb2edac36949a70
7
- data.tar.gz: cd0797bf074ec502825621a6ed76f7ffd822ff734a590d0f16b83263f3bd70dd963b384301c460bf14f19e5576dbe5ba390b096350defb77ad0367dff6a00341
6
+ metadata.gz: ad6de887b129e28298de42e0face8e4a8f357c6be75a2e41f181a5c8bc743b98c77e9acb406cba73f82876301b45d0cc22bdf1451ce0ced6cb3a4da21405a4e0
7
+ data.tar.gz: 35832226ddb8ca5c90c65f1c0d6493ec4235c138062b876e8412f273630b5e0af8eedce97daa85b00ac33d027c0ffcaccdc01eb27b60e3db7eef5c5e6725835d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.24.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230105
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.23.0 (2022-12-18)
4
9
 
5
10
  * Regenerated from discovery document revision 20221213
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V1 of the Migrate to Virtual Machines API
1
+ # Simple REST client for version V1 of the VM Migration API
2
2
 
3
- This is a simple client library for version V1 of the Migrate to Virtual Machines API. It provides:
3
+ This is a simple client library for version V1 of the VM Migration API. It provides:
4
4
 
5
5
  * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
6
  * Ruby objects for data structures related to the service.
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Vmmigration service in particular.)
67
67
 
68
- For reference information on specific calls in the Migrate to Virtual Machines API, see the {Google::Apis::VmmigrationV1::VMMigrationServiceService class reference docs}.
68
+ For reference information on specific calls in the VM Migration API, see the {Google::Apis::VmmigrationV1::VMMigrationServiceService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
@@ -22,6 +22,31 @@ module Google
22
22
  module Apis
23
23
  module VmmigrationV1
24
24
 
25
+ # Message describing AWS Credentials using access key id and secret.
26
+ class AccessKeyCredentials
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # AWS access key ID.
30
+ # Corresponds to the JSON property `accessKeyId`
31
+ # @return [String]
32
+ attr_accessor :access_key_id
33
+
34
+ # Input only. AWS secret access key.
35
+ # Corresponds to the JSON property `secretAccessKey`
36
+ # @return [String]
37
+ attr_accessor :secret_access_key
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
46
+ @secret_access_key = args[:secret_access_key] if args.key?(:secret_access_key)
47
+ end
48
+ end
49
+
25
50
  # AdaptingOSStep contains specific step details.
26
51
  class AdaptingOsStep
27
52
  include Google::Apis::Core::Hashable
@@ -142,6 +167,266 @@ module Google
142
167
  end
143
168
  end
144
169
 
170
+ # AwsSecurityGroup describes a security group of an AWS VM.
171
+ class AwsSecurityGroup
172
+ include Google::Apis::Core::Hashable
173
+
174
+ # The AWS security group id.
175
+ # Corresponds to the JSON property `id`
176
+ # @return [String]
177
+ attr_accessor :id
178
+
179
+ # The AWS security group name.
180
+ # Corresponds to the JSON property `name`
181
+ # @return [String]
182
+ attr_accessor :name
183
+
184
+ def initialize(**args)
185
+ update!(**args)
186
+ end
187
+
188
+ # Update properties of this object
189
+ def update!(**args)
190
+ @id = args[:id] if args.key?(:id)
191
+ @name = args[:name] if args.key?(:name)
192
+ end
193
+ end
194
+
195
+ # AwsSourceDetails message describes a specific source details for the AWS
196
+ # source type.
197
+ class AwsSourceDetails
198
+ include Google::Apis::Core::Hashable
199
+
200
+ # Message describing AWS Credentials using access key id and secret.
201
+ # Corresponds to the JSON property `accessKeyCreds`
202
+ # @return [Google::Apis::VmmigrationV1::AccessKeyCredentials]
203
+ attr_accessor :access_key_creds
204
+
205
+ # Immutable. The AWS region that the source VMs will be migrated from.
206
+ # Corresponds to the JSON property `awsRegion`
207
+ # @return [String]
208
+ attr_accessor :aws_region
209
+
210
+ # The `Status` type defines a logical error model that is suitable for different
211
+ # programming environments, including REST APIs and RPC APIs. It is used by [
212
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
213
+ # data: error code, error message, and error details. You can find out more
214
+ # about this error model and how to work with it in the [API Design Guide](https:
215
+ # //cloud.google.com/apis/design/errors).
216
+ # Corresponds to the JSON property `error`
217
+ # @return [Google::Apis::VmmigrationV1::Status]
218
+ attr_accessor :error
219
+
220
+ # AWS security group names to limit the scope of the source inventory.
221
+ # Corresponds to the JSON property `inventorySecurityGroupNames`
222
+ # @return [Array<String>]
223
+ attr_accessor :inventory_security_group_names
224
+
225
+ # AWS resource tags to limit the scope of the source inventory.
226
+ # Corresponds to the JSON property `inventoryTagList`
227
+ # @return [Array<Google::Apis::VmmigrationV1::Tag>]
228
+ attr_accessor :inventory_tag_list
229
+
230
+ # User specified tags to add to every M2VM generated resource in AWS. These tags
231
+ # will be set in addition to the default tags that are set as part of the
232
+ # migration process. The tags must not begin with the reserved prefix `m2vm`.
233
+ # Corresponds to the JSON property `migrationResourcesUserTags`
234
+ # @return [Hash<String,String>]
235
+ attr_accessor :migration_resources_user_tags
236
+
237
+ # Output only. The source's public IP. All communication initiated by this
238
+ # source will originate from this IP.
239
+ # Corresponds to the JSON property `publicIp`
240
+ # @return [String]
241
+ attr_accessor :public_ip
242
+
243
+ # Output only. State of the source as determined by the health check.
244
+ # Corresponds to the JSON property `state`
245
+ # @return [String]
246
+ attr_accessor :state
247
+
248
+ def initialize(**args)
249
+ update!(**args)
250
+ end
251
+
252
+ # Update properties of this object
253
+ def update!(**args)
254
+ @access_key_creds = args[:access_key_creds] if args.key?(:access_key_creds)
255
+ @aws_region = args[:aws_region] if args.key?(:aws_region)
256
+ @error = args[:error] if args.key?(:error)
257
+ @inventory_security_group_names = args[:inventory_security_group_names] if args.key?(:inventory_security_group_names)
258
+ @inventory_tag_list = args[:inventory_tag_list] if args.key?(:inventory_tag_list)
259
+ @migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags)
260
+ @public_ip = args[:public_ip] if args.key?(:public_ip)
261
+ @state = args[:state] if args.key?(:state)
262
+ end
263
+ end
264
+
265
+ # Represent the source AWS VM details.
266
+ class AwsSourceVmDetails
267
+ include Google::Apis::Core::Hashable
268
+
269
+ # The total size of the disks being migrated in bytes.
270
+ # Corresponds to the JSON property `committedStorageBytes`
271
+ # @return [Fixnum]
272
+ attr_accessor :committed_storage_bytes
273
+
274
+ # The firmware type of the source VM.
275
+ # Corresponds to the JSON property `firmware`
276
+ # @return [String]
277
+ attr_accessor :firmware
278
+
279
+ def initialize(**args)
280
+ update!(**args)
281
+ end
282
+
283
+ # Update properties of this object
284
+ def update!(**args)
285
+ @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
286
+ @firmware = args[:firmware] if args.key?(:firmware)
287
+ end
288
+ end
289
+
290
+ # AwsVmDetails describes a VM in AWS.
291
+ class AwsVmDetails
292
+ include Google::Apis::Core::Hashable
293
+
294
+ # The CPU architecture.
295
+ # Corresponds to the JSON property `architecture`
296
+ # @return [String]
297
+ attr_accessor :architecture
298
+
299
+ # The VM Boot Option.
300
+ # Corresponds to the JSON property `bootOption`
301
+ # @return [String]
302
+ attr_accessor :boot_option
303
+
304
+ # The total size of the storage allocated to the VM in MB.
305
+ # Corresponds to the JSON property `committedStorageMb`
306
+ # @return [Fixnum]
307
+ attr_accessor :committed_storage_mb
308
+
309
+ # The number of cpus the VM has.
310
+ # Corresponds to the JSON property `cpuCount`
311
+ # @return [Fixnum]
312
+ attr_accessor :cpu_count
313
+
314
+ # The number of disks the VM has.
315
+ # Corresponds to the JSON property `diskCount`
316
+ # @return [Fixnum]
317
+ attr_accessor :disk_count
318
+
319
+ # The display name of the VM. Note that this value is not necessarily unique.
320
+ # Corresponds to the JSON property `displayName`
321
+ # @return [String]
322
+ attr_accessor :display_name
323
+
324
+ # The instance type of the VM.
325
+ # Corresponds to the JSON property `instanceType`
326
+ # @return [String]
327
+ attr_accessor :instance_type
328
+
329
+ # The memory size of the VM in MB.
330
+ # Corresponds to the JSON property `memoryMb`
331
+ # @return [Fixnum]
332
+ attr_accessor :memory_mb
333
+
334
+ # The VM's OS.
335
+ # Corresponds to the JSON property `osDescription`
336
+ # @return [String]
337
+ attr_accessor :os_description
338
+
339
+ # Output only. The power state of the VM at the moment list was taken.
340
+ # Corresponds to the JSON property `powerState`
341
+ # @return [String]
342
+ attr_accessor :power_state
343
+
344
+ # The security groups the VM belongs to.
345
+ # Corresponds to the JSON property `securityGroups`
346
+ # @return [Array<Google::Apis::VmmigrationV1::AwsSecurityGroup>]
347
+ attr_accessor :security_groups
348
+
349
+ # The descriptive name of the AWS's source this VM is connected to.
350
+ # Corresponds to the JSON property `sourceDescription`
351
+ # @return [String]
352
+ attr_accessor :source_description
353
+
354
+ # The id of the AWS's source this VM is connected to.
355
+ # Corresponds to the JSON property `sourceId`
356
+ # @return [String]
357
+ attr_accessor :source_id
358
+
359
+ # The tags of the VM.
360
+ # Corresponds to the JSON property `tags`
361
+ # @return [Hash<String,String>]
362
+ attr_accessor :tags
363
+
364
+ # The virtualization type.
365
+ # Corresponds to the JSON property `virtualizationType`
366
+ # @return [String]
367
+ attr_accessor :virtualization_type
368
+
369
+ # The VM ID in AWS.
370
+ # Corresponds to the JSON property `vmId`
371
+ # @return [String]
372
+ attr_accessor :vm_id
373
+
374
+ # The VPC ID the VM belongs to.
375
+ # Corresponds to the JSON property `vpcId`
376
+ # @return [String]
377
+ attr_accessor :vpc_id
378
+
379
+ # The AWS zone of the VM.
380
+ # Corresponds to the JSON property `zone`
381
+ # @return [String]
382
+ attr_accessor :zone
383
+
384
+ def initialize(**args)
385
+ update!(**args)
386
+ end
387
+
388
+ # Update properties of this object
389
+ def update!(**args)
390
+ @architecture = args[:architecture] if args.key?(:architecture)
391
+ @boot_option = args[:boot_option] if args.key?(:boot_option)
392
+ @committed_storage_mb = args[:committed_storage_mb] if args.key?(:committed_storage_mb)
393
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
394
+ @disk_count = args[:disk_count] if args.key?(:disk_count)
395
+ @display_name = args[:display_name] if args.key?(:display_name)
396
+ @instance_type = args[:instance_type] if args.key?(:instance_type)
397
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
398
+ @os_description = args[:os_description] if args.key?(:os_description)
399
+ @power_state = args[:power_state] if args.key?(:power_state)
400
+ @security_groups = args[:security_groups] if args.key?(:security_groups)
401
+ @source_description = args[:source_description] if args.key?(:source_description)
402
+ @source_id = args[:source_id] if args.key?(:source_id)
403
+ @tags = args[:tags] if args.key?(:tags)
404
+ @virtualization_type = args[:virtualization_type] if args.key?(:virtualization_type)
405
+ @vm_id = args[:vm_id] if args.key?(:vm_id)
406
+ @vpc_id = args[:vpc_id] if args.key?(:vpc_id)
407
+ @zone = args[:zone] if args.key?(:zone)
408
+ end
409
+ end
410
+
411
+ # AWSVmsDetails describes VMs in AWS.
412
+ class AwsVmsDetails
413
+ include Google::Apis::Core::Hashable
414
+
415
+ # The details of the AWS VMs.
416
+ # Corresponds to the JSON property `details`
417
+ # @return [Array<Google::Apis::VmmigrationV1::AwsVmDetails>]
418
+ attr_accessor :details
419
+
420
+ def initialize(**args)
421
+ update!(**args)
422
+ end
423
+
424
+ # Update properties of this object
425
+ def update!(**args)
426
+ @details = args[:details] if args.key?(:details)
427
+ end
428
+ end
429
+
145
430
  # Request message for 'CancelCloneJob' request.
146
431
  class CancelCloneJobRequest
147
432
  include Google::Apis::Core::Hashable
@@ -912,6 +1197,11 @@ module Google
912
1197
  class FetchInventoryResponse
913
1198
  include Google::Apis::Core::Hashable
914
1199
 
1200
+ # AWSVmsDetails describes VMs in AWS.
1201
+ # Corresponds to the JSON property `awsVms`
1202
+ # @return [Google::Apis::VmmigrationV1::AwsVmsDetails]
1203
+ attr_accessor :aws_vms
1204
+
915
1205
  # Output only. A token, which can be sent as `page_token` to retrieve the next
916
1206
  # page. If this field is omitted, there are no subsequent pages.
917
1207
  # Corresponds to the JSON property `nextPageToken`
@@ -935,6 +1225,7 @@ module Google
935
1225
 
936
1226
  # Update properties of this object
937
1227
  def update!(**args)
1228
+ @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
938
1229
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
939
1230
  @update_time = args[:update_time] if args.key?(:update_time)
940
1231
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
@@ -1466,6 +1757,11 @@ module Google
1466
1757
  class MigratingVm
1467
1758
  include Google::Apis::Core::Hashable
1468
1759
 
1760
+ # Represent the source AWS VM details.
1761
+ # Corresponds to the JSON property `awsSourceVmDetails`
1762
+ # @return [Google::Apis::VmmigrationV1::AwsSourceVmDetails]
1763
+ attr_accessor :aws_source_vm_details
1764
+
1469
1765
  # ComputeEngineTargetDefaults is a collection of details for creating a VM in a
1470
1766
  # target Compute Engine project.
1471
1767
  # Corresponds to the JSON property `computeEngineTargetDefaults`
@@ -1574,6 +1870,7 @@ module Google
1574
1870
 
1575
1871
  # Update properties of this object
1576
1872
  def update!(**args)
1873
+ @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
1577
1874
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
1578
1875
  @create_time = args[:create_time] if args.key?(:create_time)
1579
1876
  @current_sync_info = args[:current_sync_info] if args.key?(:current_sync_info)
@@ -2081,6 +2378,12 @@ module Google
2081
2378
  class Source
2082
2379
  include Google::Apis::Core::Hashable
2083
2380
 
2381
+ # AwsSourceDetails message describes a specific source details for the AWS
2382
+ # source type.
2383
+ # Corresponds to the JSON property `aws`
2384
+ # @return [Google::Apis::VmmigrationV1::AwsSourceDetails]
2385
+ attr_accessor :aws
2386
+
2084
2387
  # Output only. The create time timestamp.
2085
2388
  # Corresponds to the JSON property `createTime`
2086
2389
  # @return [String]
@@ -2118,6 +2421,7 @@ module Google
2118
2421
 
2119
2422
  # Update properties of this object
2120
2423
  def update!(**args)
2424
+ @aws = args[:aws] if args.key?(:aws)
2121
2425
  @create_time = args[:create_time] if args.key?(:create_time)
2122
2426
  @description = args[:description] if args.key?(:description)
2123
2427
  @labels = args[:labels] if args.key?(:labels)
@@ -2179,6 +2483,31 @@ module Google
2179
2483
  end
2180
2484
  end
2181
2485
 
2486
+ # Tag is an AWS tag representation.
2487
+ class Tag
2488
+ include Google::Apis::Core::Hashable
2489
+
2490
+ # Key of tag.
2491
+ # Corresponds to the JSON property `key`
2492
+ # @return [String]
2493
+ attr_accessor :key
2494
+
2495
+ # Value of tag.
2496
+ # Corresponds to the JSON property `value`
2497
+ # @return [String]
2498
+ attr_accessor :value
2499
+
2500
+ def initialize(**args)
2501
+ update!(**args)
2502
+ end
2503
+
2504
+ # Update properties of this object
2505
+ def update!(**args)
2506
+ @key = args[:key] if args.key?(:key)
2507
+ @value = args[:value] if args.key?(:value)
2508
+ end
2509
+ end
2510
+
2182
2511
  # TargetProject message represents a target Compute Engine project for a
2183
2512
  # migration or a clone.
2184
2513
  class TargetProject
@@ -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.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221213"
25
+ REVISION = "20230105"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module VmmigrationV1
24
24
 
25
+ class AccessKeyCredentials
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AdaptingOsStep
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -52,6 +58,36 @@ module Google
52
58
  include Google::Apis::Core::JsonObjectSupport
53
59
  end
54
60
 
61
+ class AwsSecurityGroup
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AwsSourceDetails
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class AwsSourceVmDetails
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AwsVmDetails
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class AwsVmsDetails
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
55
91
  class CancelCloneJobRequest
56
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
93
 
@@ -358,6 +394,12 @@ module Google
358
394
  include Google::Apis::Core::JsonObjectSupport
359
395
  end
360
396
 
397
+ class Tag
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
361
403
  class TargetProject
362
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
405
 
@@ -412,6 +454,14 @@ module Google
412
454
  include Google::Apis::Core::JsonObjectSupport
413
455
  end
414
456
 
457
+ class AccessKeyCredentials
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :access_key_id, as: 'accessKeyId'
461
+ property :secret_access_key, as: 'secretAccessKey'
462
+ end
463
+ end
464
+
415
465
  class AdaptingOsStep
416
466
  # @private
417
467
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -453,6 +503,72 @@ module Google
453
503
  end
454
504
  end
455
505
 
506
+ class AwsSecurityGroup
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ property :id, as: 'id'
510
+ property :name, as: 'name'
511
+ end
512
+ end
513
+
514
+ class AwsSourceDetails
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :access_key_creds, as: 'accessKeyCreds', class: Google::Apis::VmmigrationV1::AccessKeyCredentials, decorator: Google::Apis::VmmigrationV1::AccessKeyCredentials::Representation
518
+
519
+ property :aws_region, as: 'awsRegion'
520
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
521
+
522
+ collection :inventory_security_group_names, as: 'inventorySecurityGroupNames'
523
+ collection :inventory_tag_list, as: 'inventoryTagList', class: Google::Apis::VmmigrationV1::Tag, decorator: Google::Apis::VmmigrationV1::Tag::Representation
524
+
525
+ hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
526
+ property :public_ip, as: 'publicIp'
527
+ property :state, as: 'state'
528
+ end
529
+ end
530
+
531
+ class AwsSourceVmDetails
532
+ # @private
533
+ class Representation < Google::Apis::Core::JsonRepresentation
534
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
535
+ property :firmware, as: 'firmware'
536
+ end
537
+ end
538
+
539
+ class AwsVmDetails
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :architecture, as: 'architecture'
543
+ property :boot_option, as: 'bootOption'
544
+ property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
545
+ property :cpu_count, as: 'cpuCount'
546
+ property :disk_count, as: 'diskCount'
547
+ property :display_name, as: 'displayName'
548
+ property :instance_type, as: 'instanceType'
549
+ property :memory_mb, as: 'memoryMb'
550
+ property :os_description, as: 'osDescription'
551
+ property :power_state, as: 'powerState'
552
+ collection :security_groups, as: 'securityGroups', class: Google::Apis::VmmigrationV1::AwsSecurityGroup, decorator: Google::Apis::VmmigrationV1::AwsSecurityGroup::Representation
553
+
554
+ property :source_description, as: 'sourceDescription'
555
+ property :source_id, as: 'sourceId'
556
+ hash :tags, as: 'tags'
557
+ property :virtualization_type, as: 'virtualizationType'
558
+ property :vm_id, as: 'vmId'
559
+ property :vpc_id, as: 'vpcId'
560
+ property :zone, as: 'zone'
561
+ end
562
+ end
563
+
564
+ class AwsVmsDetails
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ collection :details, as: 'details', class: Google::Apis::VmmigrationV1::AwsVmDetails, decorator: Google::Apis::VmmigrationV1::AwsVmDetails::Representation
568
+
569
+ end
570
+ end
571
+
456
572
  class CancelCloneJobRequest
457
573
  # @private
458
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -650,6 +766,8 @@ module Google
650
766
  class FetchInventoryResponse
651
767
  # @private
652
768
  class Representation < Google::Apis::Core::JsonRepresentation
769
+ property :aws_vms, as: 'awsVms', class: Google::Apis::VmmigrationV1::AwsVmsDetails, decorator: Google::Apis::VmmigrationV1::AwsVmsDetails::Representation
770
+
653
771
  property :next_page_token, as: 'nextPageToken'
654
772
  property :update_time, as: 'updateTime'
655
773
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1::VmwareVmsDetails::Representation
@@ -824,6 +942,8 @@ module Google
824
942
  class MigratingVm
825
943
  # @private
826
944
  class Representation < Google::Apis::Core::JsonRepresentation
945
+ property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceVmDetails::Representation
946
+
827
947
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults::Representation
828
948
 
829
949
  property :create_time, as: 'createTime'
@@ -991,6 +1111,8 @@ module Google
991
1111
  class Source
992
1112
  # @private
993
1113
  class Representation < Google::Apis::Core::JsonRepresentation
1114
+ property :aws, as: 'aws', class: Google::Apis::VmmigrationV1::AwsSourceDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceDetails::Representation
1115
+
994
1116
  property :create_time, as: 'createTime'
995
1117
  property :description, as: 'description'
996
1118
  hash :labels, as: 'labels'
@@ -1016,6 +1138,14 @@ module Google
1016
1138
  end
1017
1139
  end
1018
1140
 
1141
+ class Tag
1142
+ # @private
1143
+ class Representation < Google::Apis::Core::JsonRepresentation
1144
+ property :key, as: 'key'
1145
+ property :value, as: 'value'
1146
+ end
1147
+ end
1148
+
1019
1149
  class TargetProject
1020
1150
  # @private
1021
1151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module VmmigrationV1
23
- # Migrate to Virtual Machines API
23
+ # VM Migration API
24
24
  #
25
25
  # Use the Migrate to Virtual Machines API to programmatically migrate workloads.
26
26
  #
@@ -19,13 +19,13 @@ require 'google/apis/vmmigration_v1/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # Migrate to Virtual Machines API
22
+ # VM Migration API
23
23
  #
24
24
  # Use the Migrate to Virtual Machines API to programmatically migrate workloads.
25
25
  #
26
26
  # @see https://cloud.google.com/migrate/virtual-machines
27
27
  module VmmigrationV1
28
- # Version of the Migrate to Virtual Machines API this client connects to.
28
+ # Version of the VM Migration API this client connects to.
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
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.23.0
4
+ version: 0.24.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: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -30,13 +30,13 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
33
- description: This is the simple REST client for Migrate to Virtual Machines API V1.
34
- Simple REST clients are Ruby client libraries that provide access to Google services
35
- via their HTTP REST API endpoints. These libraries are generated and updated automatically
36
- based on the discovery documents published by the service, and they handle most
37
- concerns such as authentication, pagination, retry, timeouts, and logging. You can
38
- use this client to access the Migrate to Virtual Machines API, but note that some
39
- services may provide a separate modern client that is easier to use.
33
+ description: This is the simple REST client for VM Migration API V1. Simple REST clients
34
+ are Ruby client libraries that provide access to Google services via their HTTP
35
+ REST API endpoints. These libraries are generated and updated automatically based
36
+ on the discovery documents published by the service, and they handle most concerns
37
+ such as authentication, pagination, retry, timeouts, and logging. You can use this
38
+ client to access the VM Migration API, but note that some services may provide a
39
+ separate modern client that is easier to use.
40
40
  email: googleapis-packages@google.com
41
41
  executables: []
42
42
  extensions: []
@@ -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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.24.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: []
@@ -75,8 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
- summary: Simple REST client for Migrate to Virtual Machines API V1
81
+ summary: Simple REST client for VM Migration API V1
82
82
  test_files: []