google-apis-vmmigration_v1 0.35.0 → 0.37.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: 7618ff080e8d87ca299f5560057235c2ac38e7d6a5ee96c6ca9485f21fe32288
4
- data.tar.gz: dc9597df0482c84c9244c8680032d6b5d9d3b890ee61a19ccfe60593f816f9ff
3
+ metadata.gz: a40ccd7d34bd52133d75e5df9a31799c0225e62d6a53bc0ad32788508e67452d
4
+ data.tar.gz: 110053aa85a1e7ff4e8b951dd084d32a6581d2f5c7d7a940ceb137780354aecb
5
5
  SHA512:
6
- metadata.gz: fc91ced802e5c61ae94689e3ba12fe2fb98a7fdea3f8ff85c65498f67903b73b8a684c7d7644778c431a47ef13ca5bf2293d279726b2f317a0dc50bc6521ee9d
7
- data.tar.gz: 52fcf64e512defacf264bfd8dd207886d32a2747b246cb00def04cbdb6271be5ef493666585e75ec0d6ac101fd679cc283d9a43f281447a2f39915409b3cc05e
6
+ metadata.gz: b8e409517ff87be5f818e525c1f47f08caf07d1674e279c64ff97f680febb797a73ee5d97600452525a36e2ad421a9ea3f5ff3fc3e749314a268ab7f6f630d30
7
+ data.tar.gz: 3cf5c6bf5bcad18c384cddbf5976f65f3a71965c19e78bc6ba97a0b7a91ef9d2c31bc92ab39ffa128a7f81af867f3c7e5f07d3dd18ea78d99d55c203a4275cac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.37.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
7
+ ### v0.36.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230817
10
+
3
11
  ### v0.35.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230803
@@ -319,11 +319,11 @@ module Google
319
319
  # @return [String]
320
320
  attr_accessor :firmware
321
321
 
322
- # Output only. Unordered list. List of VM certain capabilities needed for some
322
+ # Migrating VM source information about the VM capabilities needed for some
323
323
  # Compute Engine features.
324
- # Corresponds to the JSON property `vmCapabilities`
325
- # @return [Array<String>]
326
- attr_accessor :vm_capabilities
324
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
325
+ # @return [Google::Apis::VmmigrationV1::VmCapabilities]
326
+ attr_accessor :vm_capabilities_info
327
327
 
328
328
  def initialize(**args)
329
329
  update!(**args)
@@ -334,7 +334,7 @@ module Google
334
334
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
335
335
  @disks = args[:disks] if args.key?(:disks)
336
336
  @firmware = args[:firmware] if args.key?(:firmware)
337
- @vm_capabilities = args[:vm_capabilities] if args.key?(:vm_capabilities)
337
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
338
338
  end
339
339
  end
340
340
 
@@ -478,6 +478,252 @@ module Google
478
478
  end
479
479
  end
480
480
 
481
+ # The details of an Azure VM disk.
482
+ class AzureDiskDetails
483
+ include Google::Apis::Core::Hashable
484
+
485
+ # Azure disk ID.
486
+ # Corresponds to the JSON property `diskId`
487
+ # @return [String]
488
+ attr_accessor :disk_id
489
+
490
+ # The ordinal number of the disk.
491
+ # Corresponds to the JSON property `diskNumber`
492
+ # @return [Fixnum]
493
+ attr_accessor :disk_number
494
+
495
+ # Size in GB.
496
+ # Corresponds to the JSON property `sizeGb`
497
+ # @return [Fixnum]
498
+ attr_accessor :size_gb
499
+
500
+ def initialize(**args)
501
+ update!(**args)
502
+ end
503
+
504
+ # Update properties of this object
505
+ def update!(**args)
506
+ @disk_id = args[:disk_id] if args.key?(:disk_id)
507
+ @disk_number = args[:disk_number] if args.key?(:disk_number)
508
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
509
+ end
510
+ end
511
+
512
+ # AzureSourceDetails message describes a specific source details for the Azure
513
+ # source type.
514
+ class AzureSourceDetails
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # Immutable. The Azure location (region) that the source VMs will be migrated
518
+ # from.
519
+ # Corresponds to the JSON property `azureLocation`
520
+ # @return [String]
521
+ attr_accessor :azure_location
522
+
523
+ # Message describing Azure Credentials using tenant ID, client ID and secret.
524
+ # Corresponds to the JSON property `clientSecretCreds`
525
+ # @return [Google::Apis::VmmigrationV1::ClientSecretCredentials]
526
+ attr_accessor :client_secret_creds
527
+
528
+ # The `Status` type defines a logical error model that is suitable for different
529
+ # programming environments, including REST APIs and RPC APIs. It is used by [
530
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
531
+ # data: error code, error message, and error details. You can find out more
532
+ # about this error model and how to work with it in the [API Design Guide](https:
533
+ # //cloud.google.com/apis/design/errors).
534
+ # Corresponds to the JSON property `error`
535
+ # @return [Google::Apis::VmmigrationV1::Status]
536
+ attr_accessor :error
537
+
538
+ # User specified tags to add to every M2VM generated resource in Azure. These
539
+ # tags will be set in addition to the default tags that are set as part of the
540
+ # migration process. The tags must not begin with the reserved prefix `m4ce` or `
541
+ # m2vm`.
542
+ # Corresponds to the JSON property `migrationResourcesUserTags`
543
+ # @return [Hash<String,String>]
544
+ attr_accessor :migration_resources_user_tags
545
+
546
+ # Output only. The ID of the Azure resource group that contains all resources
547
+ # related to the migration process of this source.
548
+ # Corresponds to the JSON property `resourceGroupId`
549
+ # @return [String]
550
+ attr_accessor :resource_group_id
551
+
552
+ # Output only. State of the source as determined by the health check.
553
+ # Corresponds to the JSON property `state`
554
+ # @return [String]
555
+ attr_accessor :state
556
+
557
+ # Immutable. Azure subscription ID.
558
+ # Corresponds to the JSON property `subscriptionId`
559
+ # @return [String]
560
+ attr_accessor :subscription_id
561
+
562
+ def initialize(**args)
563
+ update!(**args)
564
+ end
565
+
566
+ # Update properties of this object
567
+ def update!(**args)
568
+ @azure_location = args[:azure_location] if args.key?(:azure_location)
569
+ @client_secret_creds = args[:client_secret_creds] if args.key?(:client_secret_creds)
570
+ @error = args[:error] if args.key?(:error)
571
+ @migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags)
572
+ @resource_group_id = args[:resource_group_id] if args.key?(:resource_group_id)
573
+ @state = args[:state] if args.key?(:state)
574
+ @subscription_id = args[:subscription_id] if args.key?(:subscription_id)
575
+ end
576
+ end
577
+
578
+ # Represent the source Azure VM details.
579
+ class AzureSourceVmDetails
580
+ include Google::Apis::Core::Hashable
581
+
582
+ # The total size of the disks being migrated in bytes.
583
+ # Corresponds to the JSON property `committedStorageBytes`
584
+ # @return [Fixnum]
585
+ attr_accessor :committed_storage_bytes
586
+
587
+ # The disks attached to the source VM.
588
+ # Corresponds to the JSON property `disks`
589
+ # @return [Array<Google::Apis::VmmigrationV1::AzureDiskDetails>]
590
+ attr_accessor :disks
591
+
592
+ # The firmware type of the source VM.
593
+ # Corresponds to the JSON property `firmware`
594
+ # @return [String]
595
+ attr_accessor :firmware
596
+
597
+ # Migrating VM source information about the VM capabilities needed for some
598
+ # Compute Engine features.
599
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
600
+ # @return [Google::Apis::VmmigrationV1::VmCapabilities]
601
+ attr_accessor :vm_capabilities_info
602
+
603
+ def initialize(**args)
604
+ update!(**args)
605
+ end
606
+
607
+ # Update properties of this object
608
+ def update!(**args)
609
+ @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
610
+ @disks = args[:disks] if args.key?(:disks)
611
+ @firmware = args[:firmware] if args.key?(:firmware)
612
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
613
+ end
614
+ end
615
+
616
+ # AwsVmDetails describes a VM in AWS.
617
+ class AzureVmDetails
618
+ include Google::Apis::Core::Hashable
619
+
620
+ # The VM Boot Option.
621
+ # Corresponds to the JSON property `bootOption`
622
+ # @return [String]
623
+ attr_accessor :boot_option
624
+
625
+ # The total size of the storage allocated to the VM in MB.
626
+ # Corresponds to the JSON property `committedStorageMb`
627
+ # @return [Fixnum]
628
+ attr_accessor :committed_storage_mb
629
+
630
+ # The VM's ComputerName.
631
+ # Corresponds to the JSON property `computerName`
632
+ # @return [String]
633
+ attr_accessor :computer_name
634
+
635
+ # The number of cpus the VM has.
636
+ # Corresponds to the JSON property `cpuCount`
637
+ # @return [Fixnum]
638
+ attr_accessor :cpu_count
639
+
640
+ # The number of disks the VM has, including OS disk.
641
+ # Corresponds to the JSON property `diskCount`
642
+ # @return [Fixnum]
643
+ attr_accessor :disk_count
644
+
645
+ # Description of the data disks.
646
+ # Corresponds to the JSON property `disks`
647
+ # @return [Array<Google::Apis::VmmigrationV1::Disk>]
648
+ attr_accessor :disks
649
+
650
+ # The memory size of the VM in MB.
651
+ # Corresponds to the JSON property `memoryMb`
652
+ # @return [Fixnum]
653
+ attr_accessor :memory_mb
654
+
655
+ # A message describing the VM's OS. Including OS, Publisher, Offer and Plan if
656
+ # applicable.
657
+ # Corresponds to the JSON property `osDescription`
658
+ # @return [Google::Apis::VmmigrationV1::OsDescription]
659
+ attr_accessor :os_description
660
+
661
+ # A message describing the OS disk.
662
+ # Corresponds to the JSON property `osDisk`
663
+ # @return [Google::Apis::VmmigrationV1::OsDisk]
664
+ attr_accessor :os_disk
665
+
666
+ # The power state of the VM at the moment list was taken.
667
+ # Corresponds to the JSON property `powerState`
668
+ # @return [String]
669
+ attr_accessor :power_state
670
+
671
+ # The tags of the VM.
672
+ # Corresponds to the JSON property `tags`
673
+ # @return [Hash<String,String>]
674
+ attr_accessor :tags
675
+
676
+ # The VM full path in Azure.
677
+ # Corresponds to the JSON property `vmId`
678
+ # @return [String]
679
+ attr_accessor :vm_id
680
+
681
+ # VM size as configured in Azure. Determines the VM's hardware spec.
682
+ # Corresponds to the JSON property `vmSize`
683
+ # @return [String]
684
+ attr_accessor :vm_size
685
+
686
+ def initialize(**args)
687
+ update!(**args)
688
+ end
689
+
690
+ # Update properties of this object
691
+ def update!(**args)
692
+ @boot_option = args[:boot_option] if args.key?(:boot_option)
693
+ @committed_storage_mb = args[:committed_storage_mb] if args.key?(:committed_storage_mb)
694
+ @computer_name = args[:computer_name] if args.key?(:computer_name)
695
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
696
+ @disk_count = args[:disk_count] if args.key?(:disk_count)
697
+ @disks = args[:disks] if args.key?(:disks)
698
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
699
+ @os_description = args[:os_description] if args.key?(:os_description)
700
+ @os_disk = args[:os_disk] if args.key?(:os_disk)
701
+ @power_state = args[:power_state] if args.key?(:power_state)
702
+ @tags = args[:tags] if args.key?(:tags)
703
+ @vm_id = args[:vm_id] if args.key?(:vm_id)
704
+ @vm_size = args[:vm_size] if args.key?(:vm_size)
705
+ end
706
+ end
707
+
708
+ # AzureVmsDetails describes VMs in Azure.
709
+ class AzureVmsDetails
710
+ include Google::Apis::Core::Hashable
711
+
712
+ # The details of the Azure VMs.
713
+ # Corresponds to the JSON property `details`
714
+ # @return [Array<Google::Apis::VmmigrationV1::AzureVmDetails>]
715
+ attr_accessor :details
716
+
717
+ def initialize(**args)
718
+ update!(**args)
719
+ end
720
+
721
+ # Update properties of this object
722
+ def update!(**args)
723
+ @details = args[:details] if args.key?(:details)
724
+ end
725
+ end
726
+
481
727
  # Request message for 'CancelCloneJob' request.
482
728
  class CancelCloneJobRequest
483
729
  include Google::Apis::Core::Hashable
@@ -517,6 +763,37 @@ module Google
517
763
  end
518
764
  end
519
765
 
766
+ # Message describing Azure Credentials using tenant ID, client ID and secret.
767
+ class ClientSecretCredentials
768
+ include Google::Apis::Core::Hashable
769
+
770
+ # Azure client ID.
771
+ # Corresponds to the JSON property `clientId`
772
+ # @return [String]
773
+ attr_accessor :client_id
774
+
775
+ # Input only. Azure client secret.
776
+ # Corresponds to the JSON property `clientSecret`
777
+ # @return [String]
778
+ attr_accessor :client_secret
779
+
780
+ # Azure tenant ID.
781
+ # Corresponds to the JSON property `tenantId`
782
+ # @return [String]
783
+ attr_accessor :tenant_id
784
+
785
+ def initialize(**args)
786
+ update!(**args)
787
+ end
788
+
789
+ # Update properties of this object
790
+ def update!(**args)
791
+ @client_id = args[:client_id] if args.key?(:client_id)
792
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
793
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
794
+ end
795
+ end
796
+
520
797
  # CloneJob describes the process of creating a clone of a MigratingVM to the
521
798
  # requested target based on the latest successful uploaded snapshots. While the
522
799
  # migration cycles of a MigratingVm take place, it is possible to verify the
@@ -1314,6 +1591,37 @@ module Google
1314
1591
  end
1315
1592
  end
1316
1593
 
1594
+ # A message describing a data disk.
1595
+ class Disk
1596
+ include Google::Apis::Core::Hashable
1597
+
1598
+ # The disk's Logical Unit Number (LUN).
1599
+ # Corresponds to the JSON property `lun`
1600
+ # @return [Fixnum]
1601
+ attr_accessor :lun
1602
+
1603
+ # The disk name.
1604
+ # Corresponds to the JSON property `name`
1605
+ # @return [String]
1606
+ attr_accessor :name
1607
+
1608
+ # The disk size in GB.
1609
+ # Corresponds to the JSON property `sizeGb`
1610
+ # @return [Fixnum]
1611
+ attr_accessor :size_gb
1612
+
1613
+ def initialize(**args)
1614
+ update!(**args)
1615
+ end
1616
+
1617
+ # Update properties of this object
1618
+ def update!(**args)
1619
+ @lun = args[:lun] if args.key?(:lun)
1620
+ @name = args[:name] if args.key?(:name)
1621
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
1622
+ end
1623
+ end
1624
+
1317
1625
  # A generic empty message that you can re-use to avoid defining duplicated empty
1318
1626
  # messages in your APIs. A typical example is to use it as the request or the
1319
1627
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1339,6 +1647,11 @@ module Google
1339
1647
  # @return [Google::Apis::VmmigrationV1::AwsVmsDetails]
1340
1648
  attr_accessor :aws_vms
1341
1649
 
1650
+ # AzureVmsDetails describes VMs in Azure.
1651
+ # Corresponds to the JSON property `azureVms`
1652
+ # @return [Google::Apis::VmmigrationV1::AzureVmsDetails]
1653
+ attr_accessor :azure_vms
1654
+
1342
1655
  # Output only. A token, which can be sent as `page_token` to retrieve the next
1343
1656
  # page. If this field is omitted, there are no subsequent pages.
1344
1657
  # Corresponds to the JSON property `nextPageToken`
@@ -1363,6 +1676,7 @@ module Google
1363
1676
  # Update properties of this object
1364
1677
  def update!(**args)
1365
1678
  @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
1679
+ @azure_vms = args[:azure_vms] if args.key?(:azure_vms)
1366
1680
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1367
1681
  @update_time = args[:update_time] if args.key?(:update_time)
1368
1682
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
@@ -1905,6 +2219,11 @@ module Google
1905
2219
  # @return [Google::Apis::VmmigrationV1::AwsSourceVmDetails]
1906
2220
  attr_accessor :aws_source_vm_details
1907
2221
 
2222
+ # Represent the source Azure VM details.
2223
+ # Corresponds to the JSON property `azureSourceVmDetails`
2224
+ # @return [Google::Apis::VmmigrationV1::AzureSourceVmDetails]
2225
+ attr_accessor :azure_source_vm_details
2226
+
1908
2227
  # ComputeEngineDisksTargetDefaults is a collection of details for creating
1909
2228
  # Persistent Disks in a target Compute Engine project.
1910
2229
  # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
@@ -2024,6 +2343,11 @@ module Google
2024
2343
  # @return [String]
2025
2344
  attr_accessor :update_time
2026
2345
 
2346
+ # Represent the source Vmware VM details.
2347
+ # Corresponds to the JSON property `vmwareSourceVmDetails`
2348
+ # @return [Google::Apis::VmmigrationV1::VmwareSourceVmDetails]
2349
+ attr_accessor :vmware_source_vm_details
2350
+
2027
2351
  def initialize(**args)
2028
2352
  update!(**args)
2029
2353
  end
@@ -2031,6 +2355,7 @@ module Google
2031
2355
  # Update properties of this object
2032
2356
  def update!(**args)
2033
2357
  @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
2358
+ @azure_source_vm_details = args[:azure_source_vm_details] if args.key?(:azure_source_vm_details)
2034
2359
  @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
2035
2360
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
2036
2361
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -2051,6 +2376,7 @@ module Google
2051
2376
  @state = args[:state] if args.key?(:state)
2052
2377
  @state_time = args[:state_time] if args.key?(:state_time)
2053
2378
  @update_time = args[:update_time] if args.key?(:update_time)
2379
+ @vmware_source_vm_details = args[:vmware_source_vm_details] if args.key?(:vmware_source_vm_details)
2054
2380
  end
2055
2381
  end
2056
2382
 
@@ -2187,6 +2513,75 @@ module Google
2187
2513
  end
2188
2514
  end
2189
2515
 
2516
+ # A message describing the VM's OS. Including OS, Publisher, Offer and Plan if
2517
+ # applicable.
2518
+ class OsDescription
2519
+ include Google::Apis::Core::Hashable
2520
+
2521
+ # OS offer.
2522
+ # Corresponds to the JSON property `offer`
2523
+ # @return [String]
2524
+ attr_accessor :offer
2525
+
2526
+ # OS plan.
2527
+ # Corresponds to the JSON property `plan`
2528
+ # @return [String]
2529
+ attr_accessor :plan
2530
+
2531
+ # OS publisher.
2532
+ # Corresponds to the JSON property `publisher`
2533
+ # @return [String]
2534
+ attr_accessor :publisher
2535
+
2536
+ # OS type.
2537
+ # Corresponds to the JSON property `type`
2538
+ # @return [String]
2539
+ attr_accessor :type
2540
+
2541
+ def initialize(**args)
2542
+ update!(**args)
2543
+ end
2544
+
2545
+ # Update properties of this object
2546
+ def update!(**args)
2547
+ @offer = args[:offer] if args.key?(:offer)
2548
+ @plan = args[:plan] if args.key?(:plan)
2549
+ @publisher = args[:publisher] if args.key?(:publisher)
2550
+ @type = args[:type] if args.key?(:type)
2551
+ end
2552
+ end
2553
+
2554
+ # A message describing the OS disk.
2555
+ class OsDisk
2556
+ include Google::Apis::Core::Hashable
2557
+
2558
+ # The disk's full name.
2559
+ # Corresponds to the JSON property `name`
2560
+ # @return [String]
2561
+ attr_accessor :name
2562
+
2563
+ # The disk's size in GB.
2564
+ # Corresponds to the JSON property `sizeGb`
2565
+ # @return [Fixnum]
2566
+ attr_accessor :size_gb
2567
+
2568
+ # The disk's type.
2569
+ # Corresponds to the JSON property `type`
2570
+ # @return [String]
2571
+ attr_accessor :type
2572
+
2573
+ def initialize(**args)
2574
+ update!(**args)
2575
+ end
2576
+
2577
+ # Update properties of this object
2578
+ def update!(**args)
2579
+ @name = args[:name] if args.key?(:name)
2580
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2581
+ @type = args[:type] if args.key?(:type)
2582
+ end
2583
+ end
2584
+
2190
2585
  # This resource represents a long-running operation that is the result of a
2191
2586
  # network API call.
2192
2587
  class Operation
@@ -2662,6 +3057,12 @@ module Google
2662
3057
  # @return [Google::Apis::VmmigrationV1::AwsSourceDetails]
2663
3058
  attr_accessor :aws
2664
3059
 
3060
+ # AzureSourceDetails message describes a specific source details for the Azure
3061
+ # source type.
3062
+ # Corresponds to the JSON property `azure`
3063
+ # @return [Google::Apis::VmmigrationV1::AzureSourceDetails]
3064
+ attr_accessor :azure
3065
+
2665
3066
  # Output only. The create time timestamp.
2666
3067
  # Corresponds to the JSON property `createTime`
2667
3068
  # @return [String]
@@ -2700,6 +3101,7 @@ module Google
2700
3101
  # Update properties of this object
2701
3102
  def update!(**args)
2702
3103
  @aws = args[:aws] if args.key?(:aws)
3104
+ @azure = args[:azure] if args.key?(:azure)
2703
3105
  @create_time = args[:create_time] if args.key?(:create_time)
2704
3106
  @description = args[:description] if args.key?(:description)
2705
3107
  @labels = args[:labels] if args.key?(:labels)
@@ -2992,6 +3394,33 @@ module Google
2992
3394
  end
2993
3395
  end
2994
3396
 
3397
+ # Migrating VM source information about the VM capabilities needed for some
3398
+ # Compute Engine features.
3399
+ class VmCapabilities
3400
+ include Google::Apis::Core::Hashable
3401
+
3402
+ # Output only. The last time OS capabilities list was updated.
3403
+ # Corresponds to the JSON property `lastOsCapabilitiesUpdateTime`
3404
+ # @return [String]
3405
+ attr_accessor :last_os_capabilities_update_time
3406
+
3407
+ # Output only. Unordered list. List of certain VM OS capabilities needed for
3408
+ # some Compute Engine features.
3409
+ # Corresponds to the JSON property `osCapabilities`
3410
+ # @return [Array<String>]
3411
+ attr_accessor :os_capabilities
3412
+
3413
+ def initialize(**args)
3414
+ update!(**args)
3415
+ end
3416
+
3417
+ # Update properties of this object
3418
+ def update!(**args)
3419
+ @last_os_capabilities_update_time = args[:last_os_capabilities_update_time] if args.key?(:last_os_capabilities_update_time)
3420
+ @os_capabilities = args[:os_capabilities] if args.key?(:os_capabilities)
3421
+ end
3422
+ end
3423
+
2995
3424
  # Utilization information of a single VM.
2996
3425
  class VmUtilizationInfo
2997
3426
  include Google::Apis::Core::Hashable
@@ -3086,6 +3515,37 @@ module Google
3086
3515
  end
3087
3516
  end
3088
3517
 
3518
+ # The details of a Vmware VM disk.
3519
+ class VmwareDiskDetails
3520
+ include Google::Apis::Core::Hashable
3521
+
3522
+ # The ordinal number of the disk.
3523
+ # Corresponds to the JSON property `diskNumber`
3524
+ # @return [Fixnum]
3525
+ attr_accessor :disk_number
3526
+
3527
+ # The disk label.
3528
+ # Corresponds to the JSON property `label`
3529
+ # @return [String]
3530
+ attr_accessor :label
3531
+
3532
+ # Size in GB.
3533
+ # Corresponds to the JSON property `sizeGb`
3534
+ # @return [Fixnum]
3535
+ attr_accessor :size_gb
3536
+
3537
+ def initialize(**args)
3538
+ update!(**args)
3539
+ end
3540
+
3541
+ # Update properties of this object
3542
+ def update!(**args)
3543
+ @disk_number = args[:disk_number] if args.key?(:disk_number)
3544
+ @label = args[:label] if args.key?(:label)
3545
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
3546
+ end
3547
+ end
3548
+
3089
3549
  # VmwareSourceDetails message describes a specific source details for the vmware
3090
3550
  # source type.
3091
3551
  class VmwareSourceDetails
@@ -3131,6 +3591,44 @@ module Google
3131
3591
  end
3132
3592
  end
3133
3593
 
3594
+ # Represent the source Vmware VM details.
3595
+ class VmwareSourceVmDetails
3596
+ include Google::Apis::Core::Hashable
3597
+
3598
+ # The total size of the disks being migrated in bytes.
3599
+ # Corresponds to the JSON property `committedStorageBytes`
3600
+ # @return [Fixnum]
3601
+ attr_accessor :committed_storage_bytes
3602
+
3603
+ # The disks attached to the source VM.
3604
+ # Corresponds to the JSON property `disks`
3605
+ # @return [Array<Google::Apis::VmmigrationV1::VmwareDiskDetails>]
3606
+ attr_accessor :disks
3607
+
3608
+ # The firmware type of the source VM.
3609
+ # Corresponds to the JSON property `firmware`
3610
+ # @return [String]
3611
+ attr_accessor :firmware
3612
+
3613
+ # Migrating VM source information about the VM capabilities needed for some
3614
+ # Compute Engine features.
3615
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
3616
+ # @return [Google::Apis::VmmigrationV1::VmCapabilities]
3617
+ attr_accessor :vm_capabilities_info
3618
+
3619
+ def initialize(**args)
3620
+ update!(**args)
3621
+ end
3622
+
3623
+ # Update properties of this object
3624
+ def update!(**args)
3625
+ @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
3626
+ @disks = args[:disks] if args.key?(:disks)
3627
+ @firmware = args[:firmware] if args.key?(:firmware)
3628
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
3629
+ end
3630
+ end
3631
+
3134
3632
  # VmwareVmDetails describes a VM in vCenter.
3135
3633
  class VmwareVmDetails
3136
3634
  include Google::Apis::Core::Hashable
@@ -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.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230803"
25
+ REVISION = "20230831"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,36 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class AzureDiskDetails
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class AzureSourceDetails
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class AzureSourceVmDetails
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class AzureVmDetails
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class AzureVmsDetails
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
97
127
  class CancelCloneJobRequest
98
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
129
 
@@ -112,6 +142,12 @@ module Google
112
142
  include Google::Apis::Core::JsonObjectSupport
113
143
  end
114
144
 
145
+ class ClientSecretCredentials
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
115
151
  class CloneJob
116
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
153
 
@@ -184,6 +220,12 @@ module Google
184
220
  include Google::Apis::Core::JsonObjectSupport
185
221
  end
186
222
 
223
+ class Disk
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
187
229
  class Empty
188
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
231
 
@@ -328,6 +370,18 @@ module Google
328
370
  include Google::Apis::Core::JsonObjectSupport
329
371
  end
330
372
 
373
+ class OsDescription
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class OsDisk
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
331
385
  class Operation
332
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
387
 
@@ -466,6 +520,12 @@ module Google
466
520
  include Google::Apis::Core::JsonObjectSupport
467
521
  end
468
522
 
523
+ class VmCapabilities
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
469
529
  class VmUtilizationInfo
470
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
531
 
@@ -478,12 +538,24 @@ module Google
478
538
  include Google::Apis::Core::JsonObjectSupport
479
539
  end
480
540
 
541
+ class VmwareDiskDetails
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
481
547
  class VmwareSourceDetails
482
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
549
 
484
550
  include Google::Apis::Core::JsonObjectSupport
485
551
  end
486
552
 
553
+ class VmwareSourceVmDetails
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
487
559
  class VmwareVmDetails
488
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
561
 
@@ -587,7 +659,8 @@ module Google
587
659
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1::AwsDiskDetails::Representation
588
660
 
589
661
  property :firmware, as: 'firmware'
590
- collection :vm_capabilities, as: 'vmCapabilities'
662
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
663
+
591
664
  end
592
665
  end
593
666
 
@@ -624,6 +697,72 @@ module Google
624
697
  end
625
698
  end
626
699
 
700
+ class AzureDiskDetails
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :disk_id, as: 'diskId'
704
+ property :disk_number, as: 'diskNumber'
705
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
706
+ end
707
+ end
708
+
709
+ class AzureSourceDetails
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :azure_location, as: 'azureLocation'
713
+ property :client_secret_creds, as: 'clientSecretCreds', class: Google::Apis::VmmigrationV1::ClientSecretCredentials, decorator: Google::Apis::VmmigrationV1::ClientSecretCredentials::Representation
714
+
715
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
716
+
717
+ hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
718
+ property :resource_group_id, as: 'resourceGroupId'
719
+ property :state, as: 'state'
720
+ property :subscription_id, as: 'subscriptionId'
721
+ end
722
+ end
723
+
724
+ class AzureSourceVmDetails
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
728
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::AzureDiskDetails, decorator: Google::Apis::VmmigrationV1::AzureDiskDetails::Representation
729
+
730
+ property :firmware, as: 'firmware'
731
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
732
+
733
+ end
734
+ end
735
+
736
+ class AzureVmDetails
737
+ # @private
738
+ class Representation < Google::Apis::Core::JsonRepresentation
739
+ property :boot_option, as: 'bootOption'
740
+ property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
741
+ property :computer_name, as: 'computerName'
742
+ property :cpu_count, as: 'cpuCount'
743
+ property :disk_count, as: 'diskCount'
744
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::Disk, decorator: Google::Apis::VmmigrationV1::Disk::Representation
745
+
746
+ property :memory_mb, as: 'memoryMb'
747
+ property :os_description, as: 'osDescription', class: Google::Apis::VmmigrationV1::OsDescription, decorator: Google::Apis::VmmigrationV1::OsDescription::Representation
748
+
749
+ property :os_disk, as: 'osDisk', class: Google::Apis::VmmigrationV1::OsDisk, decorator: Google::Apis::VmmigrationV1::OsDisk::Representation
750
+
751
+ property :power_state, as: 'powerState'
752
+ hash :tags, as: 'tags'
753
+ property :vm_id, as: 'vmId'
754
+ property :vm_size, as: 'vmSize'
755
+ end
756
+ end
757
+
758
+ class AzureVmsDetails
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ collection :details, as: 'details', class: Google::Apis::VmmigrationV1::AzureVmDetails, decorator: Google::Apis::VmmigrationV1::AzureVmDetails::Representation
762
+
763
+ end
764
+ end
765
+
627
766
  class CancelCloneJobRequest
628
767
  # @private
629
768
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -642,6 +781,15 @@ module Google
642
781
  end
643
782
  end
644
783
 
784
+ class ClientSecretCredentials
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :client_id, as: 'clientId'
788
+ property :client_secret, as: 'clientSecret'
789
+ property :tenant_id, as: 'tenantId'
790
+ end
791
+ end
792
+
645
793
  class CloneJob
646
794
  # @private
647
795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -841,6 +989,15 @@ module Google
841
989
  end
842
990
  end
843
991
 
992
+ class Disk
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ property :lun, as: 'lun'
996
+ property :name, as: 'name'
997
+ property :size_gb, as: 'sizeGb'
998
+ end
999
+ end
1000
+
844
1001
  class Empty
845
1002
  # @private
846
1003
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -852,6 +1009,8 @@ module Google
852
1009
  class Representation < Google::Apis::Core::JsonRepresentation
853
1010
  property :aws_vms, as: 'awsVms', class: Google::Apis::VmmigrationV1::AwsVmsDetails, decorator: Google::Apis::VmmigrationV1::AwsVmsDetails::Representation
854
1011
 
1012
+ property :azure_vms, as: 'azureVms', class: Google::Apis::VmmigrationV1::AzureVmsDetails, decorator: Google::Apis::VmmigrationV1::AzureVmsDetails::Representation
1013
+
855
1014
  property :next_page_token, as: 'nextPageToken'
856
1015
  property :update_time, as: 'updateTime'
857
1016
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1::VmwareVmsDetails::Representation
@@ -1029,6 +1188,8 @@ module Google
1029
1188
  class Representation < Google::Apis::Core::JsonRepresentation
1030
1189
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceVmDetails::Representation
1031
1190
 
1191
+ property :azure_source_vm_details, as: 'azureSourceVmDetails', class: Google::Apis::VmmigrationV1::AzureSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AzureSourceVmDetails::Representation
1192
+
1032
1193
  property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults::Representation
1033
1194
 
1034
1195
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults::Representation
@@ -1059,6 +1220,8 @@ module Google
1059
1220
  property :state, as: 'state'
1060
1221
  property :state_time, as: 'stateTime'
1061
1222
  property :update_time, as: 'updateTime'
1223
+ property :vmware_source_vm_details, as: 'vmwareSourceVmDetails', class: Google::Apis::VmmigrationV1::VmwareSourceVmDetails, decorator: Google::Apis::VmmigrationV1::VmwareSourceVmDetails::Representation
1224
+
1062
1225
  end
1063
1226
  end
1064
1227
 
@@ -1100,6 +1263,25 @@ module Google
1100
1263
  end
1101
1264
  end
1102
1265
 
1266
+ class OsDescription
1267
+ # @private
1268
+ class Representation < Google::Apis::Core::JsonRepresentation
1269
+ property :offer, as: 'offer'
1270
+ property :plan, as: 'plan'
1271
+ property :publisher, as: 'publisher'
1272
+ property :type, as: 'type'
1273
+ end
1274
+ end
1275
+
1276
+ class OsDisk
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ property :name, as: 'name'
1280
+ property :size_gb, as: 'sizeGb'
1281
+ property :type, as: 'type'
1282
+ end
1283
+ end
1284
+
1103
1285
  class Operation
1104
1286
  # @private
1105
1287
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1238,6 +1420,8 @@ module Google
1238
1420
  class Representation < Google::Apis::Core::JsonRepresentation
1239
1421
  property :aws, as: 'aws', class: Google::Apis::VmmigrationV1::AwsSourceDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceDetails::Representation
1240
1422
 
1423
+ property :azure, as: 'azure', class: Google::Apis::VmmigrationV1::AzureSourceDetails, decorator: Google::Apis::VmmigrationV1::AzureSourceDetails::Representation
1424
+
1241
1425
  property :create_time, as: 'createTime'
1242
1426
  property :description, as: 'description'
1243
1427
  hash :labels, as: 'labels'
@@ -1319,6 +1503,14 @@ module Google
1319
1503
  end
1320
1504
  end
1321
1505
 
1506
+ class VmCapabilities
1507
+ # @private
1508
+ class Representation < Google::Apis::Core::JsonRepresentation
1509
+ property :last_os_capabilities_update_time, as: 'lastOsCapabilitiesUpdateTime'
1510
+ collection :os_capabilities, as: 'osCapabilities'
1511
+ end
1512
+ end
1513
+
1322
1514
  class VmUtilizationInfo
1323
1515
  # @private
1324
1516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1344,6 +1536,15 @@ module Google
1344
1536
  end
1345
1537
  end
1346
1538
 
1539
+ class VmwareDiskDetails
1540
+ # @private
1541
+ class Representation < Google::Apis::Core::JsonRepresentation
1542
+ property :disk_number, as: 'diskNumber'
1543
+ property :label, as: 'label'
1544
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
1545
+ end
1546
+ end
1547
+
1347
1548
  class VmwareSourceDetails
1348
1549
  # @private
1349
1550
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1355,6 +1556,18 @@ module Google
1355
1556
  end
1356
1557
  end
1357
1558
 
1559
+ class VmwareSourceVmDetails
1560
+ # @private
1561
+ class Representation < Google::Apis::Core::JsonRepresentation
1562
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
1563
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::VmwareDiskDetails, decorator: Google::Apis::VmmigrationV1::VmwareDiskDetails::Representation
1564
+
1565
+ property :firmware, as: 'firmware'
1566
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
1567
+
1568
+ end
1569
+ end
1570
+
1358
1571
  class VmwareVmDetails
1359
1572
  # @private
1360
1573
  class Representation < Google::Apis::Core::JsonRepresentation
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.35.0
4
+ version: 0.37.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-08-20 00:00:00.000000000 Z
11
+ date: 2023-09-10 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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.37.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,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for VM Migration API V1