google-apis-vmmigration_v1 0.36.0 → 0.38.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: 6547a2245a987832d13dda08680ba5460f127f59dd04723e34bfe5ffac54e8b2
4
- data.tar.gz: f9e34feb8ca6744dab3c27dec9b73e6f06bcda3043a680fd2824766027738171
3
+ metadata.gz: 3ea89e15bad3ec87c72e682e1e329243818a34f06d1f93d7426c289e4db2bdd9
4
+ data.tar.gz: ece0d30369f46ded756784ca35346213260b4b8471a1f104129be5ac598cc3ff
5
5
  SHA512:
6
- metadata.gz: ac7aeb2c7efc3875717bcd46e650267ad05aa45becc3647f420896eb69af44653bb1213194a4b03f8959fe0d658d62375ba0ab25032c632ed87a7575319418ab
7
- data.tar.gz: f7c5f1f16bf0a5638914d65ee36270c2092453d098dfaf61dcbe0c0975ed5ed7ba9aa1a50ab8652e6a3f1d43bd4f00befc69b372418f87cb14bd5cc5a3c56018
6
+ metadata.gz: d617f6bacc29b82761c5b532f020c2a8489031e160e5d0d9f7666d08e53ae097bb4a997ebd14f916e8024189dc51817340666d2425a4c283c4c3e956af0f578e
7
+ data.tar.gz: f36b33b501b8411cdaa42e6bc8653178a44a77e69b36edc8da73d7176b9eace4ba5247caeee74151195cdfd7d4011f067fac15a22ffc4d2e6807a611f2e04f36
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.38.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230914
6
+
7
+ ### v0.37.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230831
10
+
3
11
  ### v0.36.0 (2023-08-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20230817
@@ -319,6 +319,12 @@ module Google
319
319
  # @return [String]
320
320
  attr_accessor :firmware
321
321
 
322
+ # Migrating VM source information about the VM capabilities needed for some
323
+ # Compute Engine features.
324
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
325
+ # @return [Google::Apis::VmmigrationV1::VmCapabilities]
326
+ attr_accessor :vm_capabilities_info
327
+
322
328
  def initialize(**args)
323
329
  update!(**args)
324
330
  end
@@ -328,6 +334,7 @@ module Google
328
334
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
329
335
  @disks = args[:disks] if args.key?(:disks)
330
336
  @firmware = args[:firmware] if args.key?(:firmware)
337
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
331
338
  end
332
339
  end
333
340
 
@@ -471,6 +478,294 @@ module Google
471
478
  end
472
479
  end
473
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
+
727
+ # BootDiskDefaults hold information about the boot disk of a VM.
728
+ class BootDiskDefaults
729
+ include Google::Apis::Core::Hashable
730
+
731
+ # Optional. Specifies a unique device name of your choice that is reflected into
732
+ # the /dev/disk/by-id/google-* tree of a Linux operating system running within
733
+ # the instance. If not specified, the server chooses a default device name to
734
+ # apply to this disk, in the form persistent-disk-x, where x is a number
735
+ # assigned by Google Compute Engine. This field is only applicable for
736
+ # persistent disks.
737
+ # Corresponds to the JSON property `deviceName`
738
+ # @return [String]
739
+ attr_accessor :device_name
740
+
741
+ # Optional. The name of the disk.
742
+ # Corresponds to the JSON property `diskName`
743
+ # @return [String]
744
+ attr_accessor :disk_name
745
+
746
+ # Optional. The type of disk provisioning to use for the VM.
747
+ # Corresponds to the JSON property `diskType`
748
+ # @return [String]
749
+ attr_accessor :disk_type
750
+
751
+ # Contains details about the image source used to create the disk.
752
+ # Corresponds to the JSON property `image`
753
+ # @return [Google::Apis::VmmigrationV1::DiskImageDefaults]
754
+ attr_accessor :image
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ @device_name = args[:device_name] if args.key?(:device_name)
763
+ @disk_name = args[:disk_name] if args.key?(:disk_name)
764
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
765
+ @image = args[:image] if args.key?(:image)
766
+ end
767
+ end
768
+
474
769
  # Request message for 'CancelCloneJob' request.
475
770
  class CancelCloneJobRequest
476
771
  include Google::Apis::Core::Hashable
@@ -510,6 +805,37 @@ module Google
510
805
  end
511
806
  end
512
807
 
808
+ # Message describing Azure Credentials using tenant ID, client ID and secret.
809
+ class ClientSecretCredentials
810
+ include Google::Apis::Core::Hashable
811
+
812
+ # Azure client ID.
813
+ # Corresponds to the JSON property `clientId`
814
+ # @return [String]
815
+ attr_accessor :client_id
816
+
817
+ # Input only. Azure client secret.
818
+ # Corresponds to the JSON property `clientSecret`
819
+ # @return [String]
820
+ attr_accessor :client_secret
821
+
822
+ # Azure tenant ID.
823
+ # Corresponds to the JSON property `tenantId`
824
+ # @return [String]
825
+ attr_accessor :tenant_id
826
+
827
+ def initialize(**args)
828
+ update!(**args)
829
+ end
830
+
831
+ # Update properties of this object
832
+ def update!(**args)
833
+ @client_id = args[:client_id] if args.key?(:client_id)
834
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
835
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
836
+ end
837
+ end
838
+
513
839
  # CloneJob describes the process of creating a clone of a MigratingVM to the
514
840
  # requested target based on the latest successful uploaded snapshots. While the
515
841
  # migration cycles of a MigratingVm take place, it is possible to verify the
@@ -646,12 +972,22 @@ module Google
646
972
  # @return [Array<Google::Apis::VmmigrationV1::PersistentDiskDefaults>]
647
973
  attr_accessor :disks
648
974
 
975
+ # Details for a disk only migration.
976
+ # Corresponds to the JSON property `disksTargetDefaults`
977
+ # @return [Google::Apis::VmmigrationV1::DisksMigrationDisksTargetDefaults]
978
+ attr_accessor :disks_target_defaults
979
+
649
980
  # The full path of the resource of type TargetProject which represents the
650
981
  # Compute Engine project in which to create the Persistent Disks.
651
982
  # Corresponds to the JSON property `targetProject`
652
983
  # @return [String]
653
984
  attr_accessor :target_project
654
985
 
986
+ # Details for creation of a VM that migrated data disks will be attached to.
987
+ # Corresponds to the JSON property `vmTargetDefaults`
988
+ # @return [Google::Apis::VmmigrationV1::DisksMigrationVmTargetDefaults]
989
+ attr_accessor :vm_target_defaults
990
+
655
991
  # The zone in which to create the Persistent Disks.
656
992
  # Corresponds to the JSON property `zone`
657
993
  # @return [String]
@@ -664,7 +1000,9 @@ module Google
664
1000
  # Update properties of this object
665
1001
  def update!(**args)
666
1002
  @disks = args[:disks] if args.key?(:disks)
1003
+ @disks_target_defaults = args[:disks_target_defaults] if args.key?(:disks_target_defaults)
667
1004
  @target_project = args[:target_project] if args.key?(:target_project)
1005
+ @vm_target_defaults = args[:vm_target_defaults] if args.key?(:vm_target_defaults)
668
1006
  @zone = args[:zone] if args.key?(:zone)
669
1007
  end
670
1008
  end
@@ -679,6 +1017,16 @@ module Google
679
1017
  # @return [Array<Google::Apis::VmmigrationV1::PersistentDisk>]
680
1018
  attr_accessor :disks
681
1019
 
1020
+ # Details for a disks-only migration.
1021
+ # Corresponds to the JSON property `disksTargetDetails`
1022
+ # @return [Google::Apis::VmmigrationV1::DisksMigrationDisksTargetDetails]
1023
+ attr_accessor :disks_target_details
1024
+
1025
+ # Details for the VM created VM as part of disks migration.
1026
+ # Corresponds to the JSON property `vmTargetDetails`
1027
+ # @return [Google::Apis::VmmigrationV1::DisksMigrationVmTargetDetails]
1028
+ attr_accessor :vm_target_details
1029
+
682
1030
  def initialize(**args)
683
1031
  update!(**args)
684
1032
  end
@@ -686,6 +1034,8 @@ module Google
686
1034
  # Update properties of this object
687
1035
  def update!(**args)
688
1036
  @disks = args[:disks] if args.key?(:disks)
1037
+ @disks_target_details = args[:disks_target_details] if args.key?(:disks_target_details)
1038
+ @vm_target_details = args[:vm_target_details] if args.key?(:vm_target_details)
689
1039
  end
690
1040
  end
691
1041
 
@@ -1307,6 +1657,195 @@ module Google
1307
1657
  end
1308
1658
  end
1309
1659
 
1660
+ # A message describing a data disk.
1661
+ class Disk
1662
+ include Google::Apis::Core::Hashable
1663
+
1664
+ # The disk's Logical Unit Number (LUN).
1665
+ # Corresponds to the JSON property `lun`
1666
+ # @return [Fixnum]
1667
+ attr_accessor :lun
1668
+
1669
+ # The disk name.
1670
+ # Corresponds to the JSON property `name`
1671
+ # @return [String]
1672
+ attr_accessor :name
1673
+
1674
+ # The disk size in GB.
1675
+ # Corresponds to the JSON property `sizeGb`
1676
+ # @return [Fixnum]
1677
+ attr_accessor :size_gb
1678
+
1679
+ def initialize(**args)
1680
+ update!(**args)
1681
+ end
1682
+
1683
+ # Update properties of this object
1684
+ def update!(**args)
1685
+ @lun = args[:lun] if args.key?(:lun)
1686
+ @name = args[:name] if args.key?(:name)
1687
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
1688
+ end
1689
+ end
1690
+
1691
+ # Contains details about the image source used to create the disk.
1692
+ class DiskImageDefaults
1693
+ include Google::Apis::Core::Hashable
1694
+
1695
+ # Required. The Image resource used when creating the disk.
1696
+ # Corresponds to the JSON property `sourceImage`
1697
+ # @return [String]
1698
+ attr_accessor :source_image
1699
+
1700
+ def initialize(**args)
1701
+ update!(**args)
1702
+ end
1703
+
1704
+ # Update properties of this object
1705
+ def update!(**args)
1706
+ @source_image = args[:source_image] if args.key?(:source_image)
1707
+ end
1708
+ end
1709
+
1710
+ # Details for a disk only migration.
1711
+ class DisksMigrationDisksTargetDefaults
1712
+ include Google::Apis::Core::Hashable
1713
+
1714
+ def initialize(**args)
1715
+ update!(**args)
1716
+ end
1717
+
1718
+ # Update properties of this object
1719
+ def update!(**args)
1720
+ end
1721
+ end
1722
+
1723
+ # Details for a disks-only migration.
1724
+ class DisksMigrationDisksTargetDetails
1725
+ include Google::Apis::Core::Hashable
1726
+
1727
+ def initialize(**args)
1728
+ update!(**args)
1729
+ end
1730
+
1731
+ # Update properties of this object
1732
+ def update!(**args)
1733
+ end
1734
+ end
1735
+
1736
+ # Details for creation of a VM that migrated data disks will be attached to.
1737
+ class DisksMigrationVmTargetDefaults
1738
+ include Google::Apis::Core::Hashable
1739
+
1740
+ # Optional. Additional licenses to assign to the VM.
1741
+ # Corresponds to the JSON property `additionalLicenses`
1742
+ # @return [Array<String>]
1743
+ attr_accessor :additional_licenses
1744
+
1745
+ # BootDiskDefaults hold information about the boot disk of a VM.
1746
+ # Corresponds to the JSON property `bootDiskDefaults`
1747
+ # @return [Google::Apis::VmmigrationV1::BootDiskDefaults]
1748
+ attr_accessor :boot_disk_defaults
1749
+
1750
+ # Scheduling information for VM on maintenance/restart behaviour and node
1751
+ # allocation in sole tenant nodes.
1752
+ # Corresponds to the JSON property `computeScheduling`
1753
+ # @return [Google::Apis::VmmigrationV1::ComputeScheduling]
1754
+ attr_accessor :compute_scheduling
1755
+
1756
+ # Optional. The hostname to assign to the VM.
1757
+ # Corresponds to the JSON property `hostname`
1758
+ # @return [String]
1759
+ attr_accessor :hostname
1760
+
1761
+ # Optional. A map of labels to associate with the VM.
1762
+ # Corresponds to the JSON property `labels`
1763
+ # @return [Hash<String,String>]
1764
+ attr_accessor :labels
1765
+
1766
+ # Required. The machine type to create the VM with.
1767
+ # Corresponds to the JSON property `machineType`
1768
+ # @return [String]
1769
+ attr_accessor :machine_type
1770
+
1771
+ # Optional. The machine type series to create the VM with. For presentation only.
1772
+ # Corresponds to the JSON property `machineTypeSeries`
1773
+ # @return [String]
1774
+ attr_accessor :machine_type_series
1775
+
1776
+ # Optional. The metadata key/value pairs to assign to the VM.
1777
+ # Corresponds to the JSON property `metadata`
1778
+ # @return [Hash<String,String>]
1779
+ attr_accessor :metadata
1780
+
1781
+ # Optional. NICs to attach to the VM.
1782
+ # Corresponds to the JSON property `networkInterfaces`
1783
+ # @return [Array<Google::Apis::VmmigrationV1::NetworkInterface>]
1784
+ attr_accessor :network_interfaces
1785
+
1786
+ # Optional. A list of network tags to associate with the VM.
1787
+ # Corresponds to the JSON property `networkTags`
1788
+ # @return [Array<String>]
1789
+ attr_accessor :network_tags
1790
+
1791
+ # Optional. Defines whether the instance has Secure Boot enabled. This can be
1792
+ # set to true only if the VM boot option is EFI.
1793
+ # Corresponds to the JSON property `secureBoot`
1794
+ # @return [Boolean]
1795
+ attr_accessor :secure_boot
1796
+ alias_method :secure_boot?, :secure_boot
1797
+
1798
+ # Optional. The service account to associate the VM with.
1799
+ # Corresponds to the JSON property `serviceAccount`
1800
+ # @return [String]
1801
+ attr_accessor :service_account
1802
+
1803
+ # Required. The name of the VM to create.
1804
+ # Corresponds to the JSON property `vmName`
1805
+ # @return [String]
1806
+ attr_accessor :vm_name
1807
+
1808
+ def initialize(**args)
1809
+ update!(**args)
1810
+ end
1811
+
1812
+ # Update properties of this object
1813
+ def update!(**args)
1814
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1815
+ @boot_disk_defaults = args[:boot_disk_defaults] if args.key?(:boot_disk_defaults)
1816
+ @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
1817
+ @hostname = args[:hostname] if args.key?(:hostname)
1818
+ @labels = args[:labels] if args.key?(:labels)
1819
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1820
+ @machine_type_series = args[:machine_type_series] if args.key?(:machine_type_series)
1821
+ @metadata = args[:metadata] if args.key?(:metadata)
1822
+ @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
1823
+ @network_tags = args[:network_tags] if args.key?(:network_tags)
1824
+ @secure_boot = args[:secure_boot] if args.key?(:secure_boot)
1825
+ @service_account = args[:service_account] if args.key?(:service_account)
1826
+ @vm_name = args[:vm_name] if args.key?(:vm_name)
1827
+ end
1828
+ end
1829
+
1830
+ # Details for the VM created VM as part of disks migration.
1831
+ class DisksMigrationVmTargetDetails
1832
+ include Google::Apis::Core::Hashable
1833
+
1834
+ # Output only. The URI of the Compute Engine VM.
1835
+ # Corresponds to the JSON property `vmUri`
1836
+ # @return [String]
1837
+ attr_accessor :vm_uri
1838
+
1839
+ def initialize(**args)
1840
+ update!(**args)
1841
+ end
1842
+
1843
+ # Update properties of this object
1844
+ def update!(**args)
1845
+ @vm_uri = args[:vm_uri] if args.key?(:vm_uri)
1846
+ end
1847
+ end
1848
+
1310
1849
  # A generic empty message that you can re-use to avoid defining duplicated empty
1311
1850
  # messages in your APIs. A typical example is to use it as the request or the
1312
1851
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1332,6 +1871,11 @@ module Google
1332
1871
  # @return [Google::Apis::VmmigrationV1::AwsVmsDetails]
1333
1872
  attr_accessor :aws_vms
1334
1873
 
1874
+ # AzureVmsDetails describes VMs in Azure.
1875
+ # Corresponds to the JSON property `azureVms`
1876
+ # @return [Google::Apis::VmmigrationV1::AzureVmsDetails]
1877
+ attr_accessor :azure_vms
1878
+
1335
1879
  # Output only. A token, which can be sent as `page_token` to retrieve the next
1336
1880
  # page. If this field is omitted, there are no subsequent pages.
1337
1881
  # Corresponds to the JSON property `nextPageToken`
@@ -1356,6 +1900,7 @@ module Google
1356
1900
  # Update properties of this object
1357
1901
  def update!(**args)
1358
1902
  @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
1903
+ @azure_vms = args[:azure_vms] if args.key?(:azure_vms)
1359
1904
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1360
1905
  @update_time = args[:update_time] if args.key?(:update_time)
1361
1906
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
@@ -1898,6 +2443,11 @@ module Google
1898
2443
  # @return [Google::Apis::VmmigrationV1::AwsSourceVmDetails]
1899
2444
  attr_accessor :aws_source_vm_details
1900
2445
 
2446
+ # Represent the source Azure VM details.
2447
+ # Corresponds to the JSON property `azureSourceVmDetails`
2448
+ # @return [Google::Apis::VmmigrationV1::AzureSourceVmDetails]
2449
+ attr_accessor :azure_source_vm_details
2450
+
1901
2451
  # ComputeEngineDisksTargetDefaults is a collection of details for creating
1902
2452
  # Persistent Disks in a target Compute Engine project.
1903
2453
  # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
@@ -2029,6 +2579,7 @@ module Google
2029
2579
  # Update properties of this object
2030
2580
  def update!(**args)
2031
2581
  @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
2582
+ @azure_source_vm_details = args[:azure_source_vm_details] if args.key?(:azure_source_vm_details)
2032
2583
  @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
2033
2584
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
2034
2585
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -2186,6 +2737,75 @@ module Google
2186
2737
  end
2187
2738
  end
2188
2739
 
2740
+ # A message describing the VM's OS. Including OS, Publisher, Offer and Plan if
2741
+ # applicable.
2742
+ class OsDescription
2743
+ include Google::Apis::Core::Hashable
2744
+
2745
+ # OS offer.
2746
+ # Corresponds to the JSON property `offer`
2747
+ # @return [String]
2748
+ attr_accessor :offer
2749
+
2750
+ # OS plan.
2751
+ # Corresponds to the JSON property `plan`
2752
+ # @return [String]
2753
+ attr_accessor :plan
2754
+
2755
+ # OS publisher.
2756
+ # Corresponds to the JSON property `publisher`
2757
+ # @return [String]
2758
+ attr_accessor :publisher
2759
+
2760
+ # OS type.
2761
+ # Corresponds to the JSON property `type`
2762
+ # @return [String]
2763
+ attr_accessor :type
2764
+
2765
+ def initialize(**args)
2766
+ update!(**args)
2767
+ end
2768
+
2769
+ # Update properties of this object
2770
+ def update!(**args)
2771
+ @offer = args[:offer] if args.key?(:offer)
2772
+ @plan = args[:plan] if args.key?(:plan)
2773
+ @publisher = args[:publisher] if args.key?(:publisher)
2774
+ @type = args[:type] if args.key?(:type)
2775
+ end
2776
+ end
2777
+
2778
+ # A message describing the OS disk.
2779
+ class OsDisk
2780
+ include Google::Apis::Core::Hashable
2781
+
2782
+ # The disk's full name.
2783
+ # Corresponds to the JSON property `name`
2784
+ # @return [String]
2785
+ attr_accessor :name
2786
+
2787
+ # The disk's size in GB.
2788
+ # Corresponds to the JSON property `sizeGb`
2789
+ # @return [Fixnum]
2790
+ attr_accessor :size_gb
2791
+
2792
+ # The disk's type.
2793
+ # Corresponds to the JSON property `type`
2794
+ # @return [String]
2795
+ attr_accessor :type
2796
+
2797
+ def initialize(**args)
2798
+ update!(**args)
2799
+ end
2800
+
2801
+ # Update properties of this object
2802
+ def update!(**args)
2803
+ @name = args[:name] if args.key?(:name)
2804
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2805
+ @type = args[:type] if args.key?(:type)
2806
+ end
2807
+ end
2808
+
2189
2809
  # This resource represents a long-running operation that is the result of a
2190
2810
  # network API call.
2191
2811
  class Operation
@@ -2369,6 +2989,11 @@ module Google
2369
2989
  # @return [Fixnum]
2370
2990
  attr_accessor :source_disk_number
2371
2991
 
2992
+ # Details for attachment of the disk to a VM.
2993
+ # Corresponds to the JSON property `vmAttachmentDetails`
2994
+ # @return [Google::Apis::VmmigrationV1::VmAttachmentDetails]
2995
+ attr_accessor :vm_attachment_details
2996
+
2372
2997
  def initialize(**args)
2373
2998
  update!(**args)
2374
2999
  end
@@ -2379,6 +3004,7 @@ module Google
2379
3004
  @disk_name = args[:disk_name] if args.key?(:disk_name)
2380
3005
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2381
3006
  @source_disk_number = args[:source_disk_number] if args.key?(:source_disk_number)
3007
+ @vm_attachment_details = args[:vm_attachment_details] if args.key?(:vm_attachment_details)
2382
3008
  end
2383
3009
  end
2384
3010
 
@@ -2661,6 +3287,12 @@ module Google
2661
3287
  # @return [Google::Apis::VmmigrationV1::AwsSourceDetails]
2662
3288
  attr_accessor :aws
2663
3289
 
3290
+ # AzureSourceDetails message describes a specific source details for the Azure
3291
+ # source type.
3292
+ # Corresponds to the JSON property `azure`
3293
+ # @return [Google::Apis::VmmigrationV1::AzureSourceDetails]
3294
+ attr_accessor :azure
3295
+
2664
3296
  # Output only. The create time timestamp.
2665
3297
  # Corresponds to the JSON property `createTime`
2666
3298
  # @return [String]
@@ -2699,6 +3331,7 @@ module Google
2699
3331
  # Update properties of this object
2700
3332
  def update!(**args)
2701
3333
  @aws = args[:aws] if args.key?(:aws)
3334
+ @azure = args[:azure] if args.key?(:azure)
2702
3335
  @create_time = args[:create_time] if args.key?(:create_time)
2703
3336
  @description = args[:description] if args.key?(:description)
2704
3337
  @labels = args[:labels] if args.key?(:labels)
@@ -2991,6 +3624,57 @@ module Google
2991
3624
  end
2992
3625
  end
2993
3626
 
3627
+ # Details for attachment of the disk to a VM.
3628
+ class VmAttachmentDetails
3629
+ include Google::Apis::Core::Hashable
3630
+
3631
+ # Optional. Specifies a unique device name of your choice that is reflected into
3632
+ # the /dev/disk/by-id/google-* tree of a Linux operating system running within
3633
+ # the instance. If not specified, the server chooses a default device name to
3634
+ # apply to this disk, in the form persistent-disk-x, where x is a number
3635
+ # assigned by Google Compute Engine. This field is only applicable for
3636
+ # persistent disks.
3637
+ # Corresponds to the JSON property `deviceName`
3638
+ # @return [String]
3639
+ attr_accessor :device_name
3640
+
3641
+ def initialize(**args)
3642
+ update!(**args)
3643
+ end
3644
+
3645
+ # Update properties of this object
3646
+ def update!(**args)
3647
+ @device_name = args[:device_name] if args.key?(:device_name)
3648
+ end
3649
+ end
3650
+
3651
+ # Migrating VM source information about the VM capabilities needed for some
3652
+ # Compute Engine features.
3653
+ class VmCapabilities
3654
+ include Google::Apis::Core::Hashable
3655
+
3656
+ # Output only. The last time OS capabilities list was updated.
3657
+ # Corresponds to the JSON property `lastOsCapabilitiesUpdateTime`
3658
+ # @return [String]
3659
+ attr_accessor :last_os_capabilities_update_time
3660
+
3661
+ # Output only. Unordered list. List of certain VM OS capabilities needed for
3662
+ # some Compute Engine features.
3663
+ # Corresponds to the JSON property `osCapabilities`
3664
+ # @return [Array<String>]
3665
+ attr_accessor :os_capabilities
3666
+
3667
+ def initialize(**args)
3668
+ update!(**args)
3669
+ end
3670
+
3671
+ # Update properties of this object
3672
+ def update!(**args)
3673
+ @last_os_capabilities_update_time = args[:last_os_capabilities_update_time] if args.key?(:last_os_capabilities_update_time)
3674
+ @os_capabilities = args[:os_capabilities] if args.key?(:os_capabilities)
3675
+ end
3676
+ end
3677
+
2994
3678
  # Utilization information of a single VM.
2995
3679
  class VmUtilizationInfo
2996
3680
  include Google::Apis::Core::Hashable
@@ -3180,6 +3864,12 @@ module Google
3180
3864
  # @return [String]
3181
3865
  attr_accessor :firmware
3182
3866
 
3867
+ # Migrating VM source information about the VM capabilities needed for some
3868
+ # Compute Engine features.
3869
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
3870
+ # @return [Google::Apis::VmmigrationV1::VmCapabilities]
3871
+ attr_accessor :vm_capabilities_info
3872
+
3183
3873
  def initialize(**args)
3184
3874
  update!(**args)
3185
3875
  end
@@ -3189,6 +3879,7 @@ module Google
3189
3879
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
3190
3880
  @disks = args[:disks] if args.key?(:disks)
3191
3881
  @firmware = args[:firmware] if args.key?(:firmware)
3882
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
3192
3883
  end
3193
3884
  end
3194
3885
 
@@ -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.36.0"
19
+ GEM_VERSION = "0.38.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 = "20230817"
25
+ REVISION = "20230914"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,42 @@ 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
+
127
+ class BootDiskDefaults
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
97
133
  class CancelCloneJobRequest
98
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
135
 
@@ -112,6 +148,12 @@ module Google
112
148
  include Google::Apis::Core::JsonObjectSupport
113
149
  end
114
150
 
151
+ class ClientSecretCredentials
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
115
157
  class CloneJob
116
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
159
 
@@ -184,6 +226,42 @@ module Google
184
226
  include Google::Apis::Core::JsonObjectSupport
185
227
  end
186
228
 
229
+ class Disk
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class DiskImageDefaults
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class DisksMigrationDisksTargetDefaults
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class DisksMigrationDisksTargetDetails
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class DisksMigrationVmTargetDefaults
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class DisksMigrationVmTargetDetails
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
187
265
  class Empty
188
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
267
 
@@ -328,6 +406,18 @@ module Google
328
406
  include Google::Apis::Core::JsonObjectSupport
329
407
  end
330
408
 
409
+ class OsDescription
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class OsDisk
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
331
421
  class Operation
332
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
423
 
@@ -466,6 +556,18 @@ module Google
466
556
  include Google::Apis::Core::JsonObjectSupport
467
557
  end
468
558
 
559
+ class VmAttachmentDetails
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class VmCapabilities
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
469
571
  class VmUtilizationInfo
470
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
573
 
@@ -599,6 +701,8 @@ module Google
599
701
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1::AwsDiskDetails::Representation
600
702
 
601
703
  property :firmware, as: 'firmware'
704
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
705
+
602
706
  end
603
707
  end
604
708
 
@@ -635,6 +739,83 @@ module Google
635
739
  end
636
740
  end
637
741
 
742
+ class AzureDiskDetails
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :disk_id, as: 'diskId'
746
+ property :disk_number, as: 'diskNumber'
747
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
748
+ end
749
+ end
750
+
751
+ class AzureSourceDetails
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :azure_location, as: 'azureLocation'
755
+ property :client_secret_creds, as: 'clientSecretCreds', class: Google::Apis::VmmigrationV1::ClientSecretCredentials, decorator: Google::Apis::VmmigrationV1::ClientSecretCredentials::Representation
756
+
757
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
758
+
759
+ hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
760
+ property :resource_group_id, as: 'resourceGroupId'
761
+ property :state, as: 'state'
762
+ property :subscription_id, as: 'subscriptionId'
763
+ end
764
+ end
765
+
766
+ class AzureSourceVmDetails
767
+ # @private
768
+ class Representation < Google::Apis::Core::JsonRepresentation
769
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
770
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::AzureDiskDetails, decorator: Google::Apis::VmmigrationV1::AzureDiskDetails::Representation
771
+
772
+ property :firmware, as: 'firmware'
773
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
774
+
775
+ end
776
+ end
777
+
778
+ class AzureVmDetails
779
+ # @private
780
+ class Representation < Google::Apis::Core::JsonRepresentation
781
+ property :boot_option, as: 'bootOption'
782
+ property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
783
+ property :computer_name, as: 'computerName'
784
+ property :cpu_count, as: 'cpuCount'
785
+ property :disk_count, as: 'diskCount'
786
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::Disk, decorator: Google::Apis::VmmigrationV1::Disk::Representation
787
+
788
+ property :memory_mb, as: 'memoryMb'
789
+ property :os_description, as: 'osDescription', class: Google::Apis::VmmigrationV1::OsDescription, decorator: Google::Apis::VmmigrationV1::OsDescription::Representation
790
+
791
+ property :os_disk, as: 'osDisk', class: Google::Apis::VmmigrationV1::OsDisk, decorator: Google::Apis::VmmigrationV1::OsDisk::Representation
792
+
793
+ property :power_state, as: 'powerState'
794
+ hash :tags, as: 'tags'
795
+ property :vm_id, as: 'vmId'
796
+ property :vm_size, as: 'vmSize'
797
+ end
798
+ end
799
+
800
+ class AzureVmsDetails
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ collection :details, as: 'details', class: Google::Apis::VmmigrationV1::AzureVmDetails, decorator: Google::Apis::VmmigrationV1::AzureVmDetails::Representation
804
+
805
+ end
806
+ end
807
+
808
+ class BootDiskDefaults
809
+ # @private
810
+ class Representation < Google::Apis::Core::JsonRepresentation
811
+ property :device_name, as: 'deviceName'
812
+ property :disk_name, as: 'diskName'
813
+ property :disk_type, as: 'diskType'
814
+ property :image, as: 'image', class: Google::Apis::VmmigrationV1::DiskImageDefaults, decorator: Google::Apis::VmmigrationV1::DiskImageDefaults::Representation
815
+
816
+ end
817
+ end
818
+
638
819
  class CancelCloneJobRequest
639
820
  # @private
640
821
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -653,6 +834,15 @@ module Google
653
834
  end
654
835
  end
655
836
 
837
+ class ClientSecretCredentials
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :client_id, as: 'clientId'
841
+ property :client_secret, as: 'clientSecret'
842
+ property :tenant_id, as: 'tenantId'
843
+ end
844
+ end
845
+
656
846
  class CloneJob
657
847
  # @private
658
848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -691,7 +881,11 @@ module Google
691
881
  class Representation < Google::Apis::Core::JsonRepresentation
692
882
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::PersistentDiskDefaults, decorator: Google::Apis::VmmigrationV1::PersistentDiskDefaults::Representation
693
883
 
884
+ property :disks_target_defaults, as: 'disksTargetDefaults', class: Google::Apis::VmmigrationV1::DisksMigrationDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1::DisksMigrationDisksTargetDefaults::Representation
885
+
694
886
  property :target_project, as: 'targetProject'
887
+ property :vm_target_defaults, as: 'vmTargetDefaults', class: Google::Apis::VmmigrationV1::DisksMigrationVmTargetDefaults, decorator: Google::Apis::VmmigrationV1::DisksMigrationVmTargetDefaults::Representation
888
+
695
889
  property :zone, as: 'zone'
696
890
  end
697
891
  end
@@ -701,6 +895,10 @@ module Google
701
895
  class Representation < Google::Apis::Core::JsonRepresentation
702
896
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::PersistentDisk, decorator: Google::Apis::VmmigrationV1::PersistentDisk::Representation
703
897
 
898
+ property :disks_target_details, as: 'disksTargetDetails', class: Google::Apis::VmmigrationV1::DisksMigrationDisksTargetDetails, decorator: Google::Apis::VmmigrationV1::DisksMigrationDisksTargetDetails::Representation
899
+
900
+ property :vm_target_details, as: 'vmTargetDetails', class: Google::Apis::VmmigrationV1::DisksMigrationVmTargetDetails, decorator: Google::Apis::VmmigrationV1::DisksMigrationVmTargetDetails::Representation
901
+
704
902
  end
705
903
  end
706
904
 
@@ -852,6 +1050,63 @@ module Google
852
1050
  end
853
1051
  end
854
1052
 
1053
+ class Disk
1054
+ # @private
1055
+ class Representation < Google::Apis::Core::JsonRepresentation
1056
+ property :lun, as: 'lun'
1057
+ property :name, as: 'name'
1058
+ property :size_gb, as: 'sizeGb'
1059
+ end
1060
+ end
1061
+
1062
+ class DiskImageDefaults
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ property :source_image, as: 'sourceImage'
1066
+ end
1067
+ end
1068
+
1069
+ class DisksMigrationDisksTargetDefaults
1070
+ # @private
1071
+ class Representation < Google::Apis::Core::JsonRepresentation
1072
+ end
1073
+ end
1074
+
1075
+ class DisksMigrationDisksTargetDetails
1076
+ # @private
1077
+ class Representation < Google::Apis::Core::JsonRepresentation
1078
+ end
1079
+ end
1080
+
1081
+ class DisksMigrationVmTargetDefaults
1082
+ # @private
1083
+ class Representation < Google::Apis::Core::JsonRepresentation
1084
+ collection :additional_licenses, as: 'additionalLicenses'
1085
+ property :boot_disk_defaults, as: 'bootDiskDefaults', class: Google::Apis::VmmigrationV1::BootDiskDefaults, decorator: Google::Apis::VmmigrationV1::BootDiskDefaults::Representation
1086
+
1087
+ property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
1088
+
1089
+ property :hostname, as: 'hostname'
1090
+ hash :labels, as: 'labels'
1091
+ property :machine_type, as: 'machineType'
1092
+ property :machine_type_series, as: 'machineTypeSeries'
1093
+ hash :metadata, as: 'metadata'
1094
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1::NetworkInterface, decorator: Google::Apis::VmmigrationV1::NetworkInterface::Representation
1095
+
1096
+ collection :network_tags, as: 'networkTags'
1097
+ property :secure_boot, as: 'secureBoot'
1098
+ property :service_account, as: 'serviceAccount'
1099
+ property :vm_name, as: 'vmName'
1100
+ end
1101
+ end
1102
+
1103
+ class DisksMigrationVmTargetDetails
1104
+ # @private
1105
+ class Representation < Google::Apis::Core::JsonRepresentation
1106
+ property :vm_uri, as: 'vmUri'
1107
+ end
1108
+ end
1109
+
855
1110
  class Empty
856
1111
  # @private
857
1112
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -863,6 +1118,8 @@ module Google
863
1118
  class Representation < Google::Apis::Core::JsonRepresentation
864
1119
  property :aws_vms, as: 'awsVms', class: Google::Apis::VmmigrationV1::AwsVmsDetails, decorator: Google::Apis::VmmigrationV1::AwsVmsDetails::Representation
865
1120
 
1121
+ property :azure_vms, as: 'azureVms', class: Google::Apis::VmmigrationV1::AzureVmsDetails, decorator: Google::Apis::VmmigrationV1::AzureVmsDetails::Representation
1122
+
866
1123
  property :next_page_token, as: 'nextPageToken'
867
1124
  property :update_time, as: 'updateTime'
868
1125
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1::VmwareVmsDetails::Representation
@@ -1040,6 +1297,8 @@ module Google
1040
1297
  class Representation < Google::Apis::Core::JsonRepresentation
1041
1298
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceVmDetails::Representation
1042
1299
 
1300
+ property :azure_source_vm_details, as: 'azureSourceVmDetails', class: Google::Apis::VmmigrationV1::AzureSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AzureSourceVmDetails::Representation
1301
+
1043
1302
  property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults::Representation
1044
1303
 
1045
1304
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults::Representation
@@ -1113,6 +1372,25 @@ module Google
1113
1372
  end
1114
1373
  end
1115
1374
 
1375
+ class OsDescription
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ property :offer, as: 'offer'
1379
+ property :plan, as: 'plan'
1380
+ property :publisher, as: 'publisher'
1381
+ property :type, as: 'type'
1382
+ end
1383
+ end
1384
+
1385
+ class OsDisk
1386
+ # @private
1387
+ class Representation < Google::Apis::Core::JsonRepresentation
1388
+ property :name, as: 'name'
1389
+ property :size_gb, as: 'sizeGb'
1390
+ property :type, as: 'type'
1391
+ end
1392
+ end
1393
+
1116
1394
  class Operation
1117
1395
  # @private
1118
1396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1159,6 +1437,8 @@ module Google
1159
1437
  property :disk_name, as: 'diskName'
1160
1438
  property :disk_type, as: 'diskType'
1161
1439
  property :source_disk_number, as: 'sourceDiskNumber'
1440
+ property :vm_attachment_details, as: 'vmAttachmentDetails', class: Google::Apis::VmmigrationV1::VmAttachmentDetails, decorator: Google::Apis::VmmigrationV1::VmAttachmentDetails::Representation
1441
+
1162
1442
  end
1163
1443
  end
1164
1444
 
@@ -1251,6 +1531,8 @@ module Google
1251
1531
  class Representation < Google::Apis::Core::JsonRepresentation
1252
1532
  property :aws, as: 'aws', class: Google::Apis::VmmigrationV1::AwsSourceDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceDetails::Representation
1253
1533
 
1534
+ property :azure, as: 'azure', class: Google::Apis::VmmigrationV1::AzureSourceDetails, decorator: Google::Apis::VmmigrationV1::AzureSourceDetails::Representation
1535
+
1254
1536
  property :create_time, as: 'createTime'
1255
1537
  property :description, as: 'description'
1256
1538
  hash :labels, as: 'labels'
@@ -1332,6 +1614,21 @@ module Google
1332
1614
  end
1333
1615
  end
1334
1616
 
1617
+ class VmAttachmentDetails
1618
+ # @private
1619
+ class Representation < Google::Apis::Core::JsonRepresentation
1620
+ property :device_name, as: 'deviceName'
1621
+ end
1622
+ end
1623
+
1624
+ class VmCapabilities
1625
+ # @private
1626
+ class Representation < Google::Apis::Core::JsonRepresentation
1627
+ property :last_os_capabilities_update_time, as: 'lastOsCapabilitiesUpdateTime'
1628
+ collection :os_capabilities, as: 'osCapabilities'
1629
+ end
1630
+ end
1631
+
1335
1632
  class VmUtilizationInfo
1336
1633
  # @private
1337
1634
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1384,6 +1681,8 @@ module Google
1384
1681
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::VmwareDiskDetails, decorator: Google::Apis::VmmigrationV1::VmwareDiskDetails::Representation
1385
1682
 
1386
1683
  property :firmware, as: 'firmware'
1684
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
1685
+
1387
1686
  end
1388
1687
  end
1389
1688
 
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.36.0
4
+ version: 0.38.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-27 00:00:00.000000000 Z
11
+ date: 2023-09-24 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.38.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: []