google-apis-vmmigration_v1alpha1 0.37.0 → 0.39.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: a333ab0ab0113c5c647e5723bed074f0e8c5994f2e634850bb1461987d864882
4
- data.tar.gz: 794849573d48ab6cd84097b7ab8bde97ff91efe6a2537607c5a5c1e697141bfe
3
+ metadata.gz: 93d0abfd2632a197be0d450dda698d1ff430f6aab6aac5825dfe699142d9d947
4
+ data.tar.gz: 41d07afc1acf532df611755f8fea3fe3b7fc59d3a596207a11b92a98b7ed6c3f
5
5
  SHA512:
6
- metadata.gz: 3d70af60c5c7b27fdc7a9b82069958f22e9f91e7a5c5208ecae9f64465dcd38be7131bd58596e48d529ba227eae26281946fdf8f39e77ebd5747a2715b45986e
7
- data.tar.gz: efd39c387ab8754d5fcdb13b34655f9838549004ccd99352c5338762b88979dc9c1be20085912921b068d51b710df305e347b1c8e7186996398589c0ee57a00e
6
+ metadata.gz: 72887008f70b96b6d67f6faef5dc65e1ef03fd6da24c861205144635812dc38aa0945bc13ae157cb135b207183114212f2b700648f6cb077f6d29790f3fae814
7
+ data.tar.gz: fe329ed32374432a68bd6dab0fe7a8b48afee07d4ad083feb41ae63a515e77c2d42e5e229cd77f83358b95537cda90dd0304cba3f49a0300f26f34cb6d078b37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.39.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230914
6
+
7
+ ### v0.38.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230831
10
+
3
11
  ### v0.37.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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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::VmmigrationV1alpha1::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
@@ -660,12 +986,22 @@ module Google
660
986
  # @return [Array<Google::Apis::VmmigrationV1alpha1::PersistentDiskDefaults>]
661
987
  attr_accessor :disks
662
988
 
989
+ # Details for a disk only migration.
990
+ # Corresponds to the JSON property `disksTargetDefaults`
991
+ # @return [Google::Apis::VmmigrationV1alpha1::DisksMigrationDisksTargetDefaults]
992
+ attr_accessor :disks_target_defaults
993
+
663
994
  # The full path of the resource of type TargetProject which represents the
664
995
  # Compute Engine project in which to create the Persistent Disks.
665
996
  # Corresponds to the JSON property `targetProject`
666
997
  # @return [String]
667
998
  attr_accessor :target_project
668
999
 
1000
+ # Details for creation of a VM that migrated data disks will be attached to.
1001
+ # Corresponds to the JSON property `vmTargetDefaults`
1002
+ # @return [Google::Apis::VmmigrationV1alpha1::DisksMigrationVmTargetDefaults]
1003
+ attr_accessor :vm_target_defaults
1004
+
669
1005
  # The zone in which to create the Persistent Disks.
670
1006
  # Corresponds to the JSON property `zone`
671
1007
  # @return [String]
@@ -678,7 +1014,9 @@ module Google
678
1014
  # Update properties of this object
679
1015
  def update!(**args)
680
1016
  @disks = args[:disks] if args.key?(:disks)
1017
+ @disks_target_defaults = args[:disks_target_defaults] if args.key?(:disks_target_defaults)
681
1018
  @target_project = args[:target_project] if args.key?(:target_project)
1019
+ @vm_target_defaults = args[:vm_target_defaults] if args.key?(:vm_target_defaults)
682
1020
  @zone = args[:zone] if args.key?(:zone)
683
1021
  end
684
1022
  end
@@ -693,6 +1031,16 @@ module Google
693
1031
  # @return [Array<Google::Apis::VmmigrationV1alpha1::PersistentDisk>]
694
1032
  attr_accessor :disks
695
1033
 
1034
+ # Details for a disks-only migration.
1035
+ # Corresponds to the JSON property `disksTargetDetails`
1036
+ # @return [Google::Apis::VmmigrationV1alpha1::DisksMigrationDisksTargetDetails]
1037
+ attr_accessor :disks_target_details
1038
+
1039
+ # Details for the VM created VM as part of disks migration.
1040
+ # Corresponds to the JSON property `vmTargetDetails`
1041
+ # @return [Google::Apis::VmmigrationV1alpha1::DisksMigrationVmTargetDetails]
1042
+ attr_accessor :vm_target_details
1043
+
696
1044
  def initialize(**args)
697
1045
  update!(**args)
698
1046
  end
@@ -700,6 +1048,8 @@ module Google
700
1048
  # Update properties of this object
701
1049
  def update!(**args)
702
1050
  @disks = args[:disks] if args.key?(:disks)
1051
+ @disks_target_details = args[:disks_target_details] if args.key?(:disks_target_details)
1052
+ @vm_target_details = args[:vm_target_details] if args.key?(:vm_target_details)
703
1053
  end
704
1054
  end
705
1055
 
@@ -1348,6 +1698,195 @@ module Google
1348
1698
  end
1349
1699
  end
1350
1700
 
1701
+ # A message describing a data disk.
1702
+ class Disk
1703
+ include Google::Apis::Core::Hashable
1704
+
1705
+ # The disk's Logical Unit Number (LUN).
1706
+ # Corresponds to the JSON property `lun`
1707
+ # @return [Fixnum]
1708
+ attr_accessor :lun
1709
+
1710
+ # The disk name.
1711
+ # Corresponds to the JSON property `name`
1712
+ # @return [String]
1713
+ attr_accessor :name
1714
+
1715
+ # The disk size in GB.
1716
+ # Corresponds to the JSON property `sizeGb`
1717
+ # @return [Fixnum]
1718
+ attr_accessor :size_gb
1719
+
1720
+ def initialize(**args)
1721
+ update!(**args)
1722
+ end
1723
+
1724
+ # Update properties of this object
1725
+ def update!(**args)
1726
+ @lun = args[:lun] if args.key?(:lun)
1727
+ @name = args[:name] if args.key?(:name)
1728
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
1729
+ end
1730
+ end
1731
+
1732
+ # Contains details about the image source used to create the disk.
1733
+ class DiskImageDefaults
1734
+ include Google::Apis::Core::Hashable
1735
+
1736
+ # Required. The Image resource used when creating the disk.
1737
+ # Corresponds to the JSON property `sourceImage`
1738
+ # @return [String]
1739
+ attr_accessor :source_image
1740
+
1741
+ def initialize(**args)
1742
+ update!(**args)
1743
+ end
1744
+
1745
+ # Update properties of this object
1746
+ def update!(**args)
1747
+ @source_image = args[:source_image] if args.key?(:source_image)
1748
+ end
1749
+ end
1750
+
1751
+ # Details for a disk only migration.
1752
+ class DisksMigrationDisksTargetDefaults
1753
+ include Google::Apis::Core::Hashable
1754
+
1755
+ def initialize(**args)
1756
+ update!(**args)
1757
+ end
1758
+
1759
+ # Update properties of this object
1760
+ def update!(**args)
1761
+ end
1762
+ end
1763
+
1764
+ # Details for a disks-only migration.
1765
+ class DisksMigrationDisksTargetDetails
1766
+ include Google::Apis::Core::Hashable
1767
+
1768
+ def initialize(**args)
1769
+ update!(**args)
1770
+ end
1771
+
1772
+ # Update properties of this object
1773
+ def update!(**args)
1774
+ end
1775
+ end
1776
+
1777
+ # Details for creation of a VM that migrated data disks will be attached to.
1778
+ class DisksMigrationVmTargetDefaults
1779
+ include Google::Apis::Core::Hashable
1780
+
1781
+ # Optional. Additional licenses to assign to the VM.
1782
+ # Corresponds to the JSON property `additionalLicenses`
1783
+ # @return [Array<String>]
1784
+ attr_accessor :additional_licenses
1785
+
1786
+ # BootDiskDefaults hold information about the boot disk of a VM.
1787
+ # Corresponds to the JSON property `bootDiskDefaults`
1788
+ # @return [Google::Apis::VmmigrationV1alpha1::BootDiskDefaults]
1789
+ attr_accessor :boot_disk_defaults
1790
+
1791
+ # Scheduling information for VM on maintenance/restart behaviour and node
1792
+ # allocation in sole tenant nodes.
1793
+ # Corresponds to the JSON property `computeScheduling`
1794
+ # @return [Google::Apis::VmmigrationV1alpha1::ComputeScheduling]
1795
+ attr_accessor :compute_scheduling
1796
+
1797
+ # Optional. The hostname to assign to the VM.
1798
+ # Corresponds to the JSON property `hostname`
1799
+ # @return [String]
1800
+ attr_accessor :hostname
1801
+
1802
+ # Optional. A map of labels to associate with the VM.
1803
+ # Corresponds to the JSON property `labels`
1804
+ # @return [Hash<String,String>]
1805
+ attr_accessor :labels
1806
+
1807
+ # Required. The machine type to create the VM with.
1808
+ # Corresponds to the JSON property `machineType`
1809
+ # @return [String]
1810
+ attr_accessor :machine_type
1811
+
1812
+ # Optional. The machine type series to create the VM with. For presentation only.
1813
+ # Corresponds to the JSON property `machineTypeSeries`
1814
+ # @return [String]
1815
+ attr_accessor :machine_type_series
1816
+
1817
+ # Optional. The metadata key/value pairs to assign to the VM.
1818
+ # Corresponds to the JSON property `metadata`
1819
+ # @return [Hash<String,String>]
1820
+ attr_accessor :metadata
1821
+
1822
+ # Optional. NICs to attach to the VM.
1823
+ # Corresponds to the JSON property `networkInterfaces`
1824
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::NetworkInterface>]
1825
+ attr_accessor :network_interfaces
1826
+
1827
+ # Optional. A list of network tags to associate with the VM.
1828
+ # Corresponds to the JSON property `networkTags`
1829
+ # @return [Array<String>]
1830
+ attr_accessor :network_tags
1831
+
1832
+ # Optional. Defines whether the instance has Secure Boot enabled. This can be
1833
+ # set to true only if the VM boot option is EFI.
1834
+ # Corresponds to the JSON property `secureBoot`
1835
+ # @return [Boolean]
1836
+ attr_accessor :secure_boot
1837
+ alias_method :secure_boot?, :secure_boot
1838
+
1839
+ # Optional. The service account to associate the VM with.
1840
+ # Corresponds to the JSON property `serviceAccount`
1841
+ # @return [String]
1842
+ attr_accessor :service_account
1843
+
1844
+ # Required. The name of the VM to create.
1845
+ # Corresponds to the JSON property `vmName`
1846
+ # @return [String]
1847
+ attr_accessor :vm_name
1848
+
1849
+ def initialize(**args)
1850
+ update!(**args)
1851
+ end
1852
+
1853
+ # Update properties of this object
1854
+ def update!(**args)
1855
+ @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1856
+ @boot_disk_defaults = args[:boot_disk_defaults] if args.key?(:boot_disk_defaults)
1857
+ @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
1858
+ @hostname = args[:hostname] if args.key?(:hostname)
1859
+ @labels = args[:labels] if args.key?(:labels)
1860
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1861
+ @machine_type_series = args[:machine_type_series] if args.key?(:machine_type_series)
1862
+ @metadata = args[:metadata] if args.key?(:metadata)
1863
+ @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
1864
+ @network_tags = args[:network_tags] if args.key?(:network_tags)
1865
+ @secure_boot = args[:secure_boot] if args.key?(:secure_boot)
1866
+ @service_account = args[:service_account] if args.key?(:service_account)
1867
+ @vm_name = args[:vm_name] if args.key?(:vm_name)
1868
+ end
1869
+ end
1870
+
1871
+ # Details for the VM created VM as part of disks migration.
1872
+ class DisksMigrationVmTargetDetails
1873
+ include Google::Apis::Core::Hashable
1874
+
1875
+ # Output only. The URI of the Compute Engine VM.
1876
+ # Corresponds to the JSON property `vmUri`
1877
+ # @return [String]
1878
+ attr_accessor :vm_uri
1879
+
1880
+ def initialize(**args)
1881
+ update!(**args)
1882
+ end
1883
+
1884
+ # Update properties of this object
1885
+ def update!(**args)
1886
+ @vm_uri = args[:vm_uri] if args.key?(:vm_uri)
1887
+ end
1888
+ end
1889
+
1351
1890
  # A generic empty message that you can re-use to avoid defining duplicated empty
1352
1891
  # messages in your APIs. A typical example is to use it as the request or the
1353
1892
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1373,6 +1912,11 @@ module Google
1373
1912
  # @return [Google::Apis::VmmigrationV1alpha1::AwsVmsDetails]
1374
1913
  attr_accessor :aws_vms
1375
1914
 
1915
+ # AzureVmsDetails describes VMs in Azure.
1916
+ # Corresponds to the JSON property `azureVms`
1917
+ # @return [Google::Apis::VmmigrationV1alpha1::AzureVmsDetails]
1918
+ attr_accessor :azure_vms
1919
+
1376
1920
  # Output only. A token, which can be sent as `page_token` to retrieve the next
1377
1921
  # page. If this field is omitted, there are no subsequent pages.
1378
1922
  # Corresponds to the JSON property `nextPageToken`
@@ -1397,6 +1941,7 @@ module Google
1397
1941
  # Update properties of this object
1398
1942
  def update!(**args)
1399
1943
  @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
1944
+ @azure_vms = args[:azure_vms] if args.key?(:azure_vms)
1400
1945
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1401
1946
  @update_time = args[:update_time] if args.key?(:update_time)
1402
1947
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
@@ -1939,6 +2484,11 @@ module Google
1939
2484
  # @return [Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails]
1940
2485
  attr_accessor :aws_source_vm_details
1941
2486
 
2487
+ # Represent the source Azure VM details.
2488
+ # Corresponds to the JSON property `azureSourceVmDetails`
2489
+ # @return [Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails]
2490
+ attr_accessor :azure_source_vm_details
2491
+
1942
2492
  # ComputeEngineDisksTargetDefaults is a collection of details for creating
1943
2493
  # Persistent Disks in a target Compute Engine project.
1944
2494
  # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
@@ -2082,6 +2632,7 @@ module Google
2082
2632
  # Update properties of this object
2083
2633
  def update!(**args)
2084
2634
  @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
2635
+ @azure_source_vm_details = args[:azure_source_vm_details] if args.key?(:azure_source_vm_details)
2085
2636
  @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
2086
2637
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
2087
2638
  @compute_engine_vm_defaults = args[:compute_engine_vm_defaults] if args.key?(:compute_engine_vm_defaults)
@@ -2241,6 +2792,75 @@ module Google
2241
2792
  end
2242
2793
  end
2243
2794
 
2795
+ # A message describing the VM's OS. Including OS, Publisher, Offer and Plan if
2796
+ # applicable.
2797
+ class OsDescription
2798
+ include Google::Apis::Core::Hashable
2799
+
2800
+ # OS offer.
2801
+ # Corresponds to the JSON property `offer`
2802
+ # @return [String]
2803
+ attr_accessor :offer
2804
+
2805
+ # OS plan.
2806
+ # Corresponds to the JSON property `plan`
2807
+ # @return [String]
2808
+ attr_accessor :plan
2809
+
2810
+ # OS publisher.
2811
+ # Corresponds to the JSON property `publisher`
2812
+ # @return [String]
2813
+ attr_accessor :publisher
2814
+
2815
+ # OS type.
2816
+ # Corresponds to the JSON property `type`
2817
+ # @return [String]
2818
+ attr_accessor :type
2819
+
2820
+ def initialize(**args)
2821
+ update!(**args)
2822
+ end
2823
+
2824
+ # Update properties of this object
2825
+ def update!(**args)
2826
+ @offer = args[:offer] if args.key?(:offer)
2827
+ @plan = args[:plan] if args.key?(:plan)
2828
+ @publisher = args[:publisher] if args.key?(:publisher)
2829
+ @type = args[:type] if args.key?(:type)
2830
+ end
2831
+ end
2832
+
2833
+ # A message describing the OS disk.
2834
+ class OsDisk
2835
+ include Google::Apis::Core::Hashable
2836
+
2837
+ # The disk's full name.
2838
+ # Corresponds to the JSON property `name`
2839
+ # @return [String]
2840
+ attr_accessor :name
2841
+
2842
+ # The disk's size in GB.
2843
+ # Corresponds to the JSON property `sizeGb`
2844
+ # @return [Fixnum]
2845
+ attr_accessor :size_gb
2846
+
2847
+ # The disk's type.
2848
+ # Corresponds to the JSON property `type`
2849
+ # @return [String]
2850
+ attr_accessor :type
2851
+
2852
+ def initialize(**args)
2853
+ update!(**args)
2854
+ end
2855
+
2856
+ # Update properties of this object
2857
+ def update!(**args)
2858
+ @name = args[:name] if args.key?(:name)
2859
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2860
+ @type = args[:type] if args.key?(:type)
2861
+ end
2862
+ end
2863
+
2244
2864
  # This resource represents a long-running operation that is the result of a
2245
2865
  # network API call.
2246
2866
  class Operation
@@ -2424,6 +3044,11 @@ module Google
2424
3044
  # @return [Fixnum]
2425
3045
  attr_accessor :source_disk_number
2426
3046
 
3047
+ # Details for attachment of the disk to a VM.
3048
+ # Corresponds to the JSON property `vmAttachmentDetails`
3049
+ # @return [Google::Apis::VmmigrationV1alpha1::VmAttachmentDetails]
3050
+ attr_accessor :vm_attachment_details
3051
+
2427
3052
  def initialize(**args)
2428
3053
  update!(**args)
2429
3054
  end
@@ -2434,6 +3059,7 @@ module Google
2434
3059
  @disk_name = args[:disk_name] if args.key?(:disk_name)
2435
3060
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2436
3061
  @source_disk_number = args[:source_disk_number] if args.key?(:source_disk_number)
3062
+ @vm_attachment_details = args[:vm_attachment_details] if args.key?(:vm_attachment_details)
2437
3063
  end
2438
3064
  end
2439
3065
 
@@ -2722,6 +3348,12 @@ module Google
2722
3348
  # @return [Google::Apis::VmmigrationV1alpha1::AwsSourceDetails]
2723
3349
  attr_accessor :aws
2724
3350
 
3351
+ # AzureSourceDetails message describes a specific source details for the Azure
3352
+ # source type.
3353
+ # Corresponds to the JSON property `azure`
3354
+ # @return [Google::Apis::VmmigrationV1alpha1::AzureSourceDetails]
3355
+ attr_accessor :azure
3356
+
2725
3357
  # Output only. The create time timestamp.
2726
3358
  # Corresponds to the JSON property `createTime`
2727
3359
  # @return [String]
@@ -2770,6 +3402,7 @@ module Google
2770
3402
  # Update properties of this object
2771
3403
  def update!(**args)
2772
3404
  @aws = args[:aws] if args.key?(:aws)
3405
+ @azure = args[:azure] if args.key?(:azure)
2773
3406
  @create_time = args[:create_time] if args.key?(:create_time)
2774
3407
  @description = args[:description] if args.key?(:description)
2775
3408
  @error = args[:error] if args.key?(:error)
@@ -3214,6 +3847,57 @@ module Google
3214
3847
  end
3215
3848
  end
3216
3849
 
3850
+ # Details for attachment of the disk to a VM.
3851
+ class VmAttachmentDetails
3852
+ include Google::Apis::Core::Hashable
3853
+
3854
+ # Optional. Specifies a unique device name of your choice that is reflected into
3855
+ # the /dev/disk/by-id/google-* tree of a Linux operating system running within
3856
+ # the instance. If not specified, the server chooses a default device name to
3857
+ # apply to this disk, in the form persistent-disk-x, where x is a number
3858
+ # assigned by Google Compute Engine. This field is only applicable for
3859
+ # persistent disks.
3860
+ # Corresponds to the JSON property `deviceName`
3861
+ # @return [String]
3862
+ attr_accessor :device_name
3863
+
3864
+ def initialize(**args)
3865
+ update!(**args)
3866
+ end
3867
+
3868
+ # Update properties of this object
3869
+ def update!(**args)
3870
+ @device_name = args[:device_name] if args.key?(:device_name)
3871
+ end
3872
+ end
3873
+
3874
+ # Migrating VM source information about the VM capabilities needed for some
3875
+ # Compute Engine features.
3876
+ class VmCapabilities
3877
+ include Google::Apis::Core::Hashable
3878
+
3879
+ # Output only. The last time OS capabilities list was updated.
3880
+ # Corresponds to the JSON property `lastOsCapabilitiesUpdateTime`
3881
+ # @return [String]
3882
+ attr_accessor :last_os_capabilities_update_time
3883
+
3884
+ # Output only. Unordered list. List of certain VM OS capabilities needed for
3885
+ # some Compute Engine features.
3886
+ # Corresponds to the JSON property `osCapabilities`
3887
+ # @return [Array<String>]
3888
+ attr_accessor :os_capabilities
3889
+
3890
+ def initialize(**args)
3891
+ update!(**args)
3892
+ end
3893
+
3894
+ # Update properties of this object
3895
+ def update!(**args)
3896
+ @last_os_capabilities_update_time = args[:last_os_capabilities_update_time] if args.key?(:last_os_capabilities_update_time)
3897
+ @os_capabilities = args[:os_capabilities] if args.key?(:os_capabilities)
3898
+ end
3899
+ end
3900
+
3217
3901
  # Utilization information of a single VM.
3218
3902
  class VmUtilizationInfo
3219
3903
  include Google::Apis::Core::Hashable
@@ -3453,6 +4137,12 @@ module Google
3453
4137
  # @return [String]
3454
4138
  attr_accessor :firmware
3455
4139
 
4140
+ # Migrating VM source information about the VM capabilities needed for some
4141
+ # Compute Engine features.
4142
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
4143
+ # @return [Google::Apis::VmmigrationV1alpha1::VmCapabilities]
4144
+ attr_accessor :vm_capabilities_info
4145
+
3456
4146
  def initialize(**args)
3457
4147
  update!(**args)
3458
4148
  end
@@ -3462,6 +4152,7 @@ module Google
3462
4152
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
3463
4153
  @disks = args[:disks] if args.key?(:disks)
3464
4154
  @firmware = args[:firmware] if args.key?(:firmware)
4155
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
3465
4156
  end
3466
4157
  end
3467
4158
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmmigrationV1alpha1
18
18
  # Version of the google-apis-vmmigration_v1alpha1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.39.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
 
@@ -472,6 +562,18 @@ module Google
472
562
  include Google::Apis::Core::JsonObjectSupport
473
563
  end
474
564
 
565
+ class VmAttachmentDetails
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class VmCapabilities
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
475
577
  class VmUtilizationInfo
476
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
579
 
@@ -605,6 +707,8 @@ module Google
605
707
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails::Representation
606
708
 
607
709
  property :firmware, as: 'firmware'
710
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
711
+
608
712
  end
609
713
  end
610
714
 
@@ -641,6 +745,83 @@ module Google
641
745
  end
642
746
  end
643
747
 
748
+ class AzureDiskDetails
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :disk_id, as: 'diskId'
752
+ property :disk_number, as: 'diskNumber'
753
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
754
+ end
755
+ end
756
+
757
+ class AzureSourceDetails
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :azure_location, as: 'azureLocation'
761
+ property :client_secret_creds, as: 'clientSecretCreds', class: Google::Apis::VmmigrationV1alpha1::ClientSecretCredentials, decorator: Google::Apis::VmmigrationV1alpha1::ClientSecretCredentials::Representation
762
+
763
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
764
+
765
+ hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
766
+ property :resource_group_id, as: 'resourceGroupId'
767
+ property :state, as: 'state'
768
+ property :subscription_id, as: 'subscriptionId'
769
+ end
770
+ end
771
+
772
+ class AzureSourceVmDetails
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
776
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::AzureDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureDiskDetails::Representation
777
+
778
+ property :firmware, as: 'firmware'
779
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
780
+
781
+ end
782
+ end
783
+
784
+ class AzureVmDetails
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :boot_option, as: 'bootOption'
788
+ property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
789
+ property :computer_name, as: 'computerName'
790
+ property :cpu_count, as: 'cpuCount'
791
+ property :disk_count, as: 'diskCount'
792
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::Disk, decorator: Google::Apis::VmmigrationV1alpha1::Disk::Representation
793
+
794
+ property :memory_mb, as: 'memoryMb'
795
+ property :os_description, as: 'osDescription', class: Google::Apis::VmmigrationV1alpha1::OsDescription, decorator: Google::Apis::VmmigrationV1alpha1::OsDescription::Representation
796
+
797
+ property :os_disk, as: 'osDisk', class: Google::Apis::VmmigrationV1alpha1::OsDisk, decorator: Google::Apis::VmmigrationV1alpha1::OsDisk::Representation
798
+
799
+ property :power_state, as: 'powerState'
800
+ hash :tags, as: 'tags'
801
+ property :vm_id, as: 'vmId'
802
+ property :vm_size, as: 'vmSize'
803
+ end
804
+ end
805
+
806
+ class AzureVmsDetails
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ collection :details, as: 'details', class: Google::Apis::VmmigrationV1alpha1::AzureVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureVmDetails::Representation
810
+
811
+ end
812
+ end
813
+
814
+ class BootDiskDefaults
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :device_name, as: 'deviceName'
818
+ property :disk_name, as: 'diskName'
819
+ property :disk_type, as: 'diskType'
820
+ property :image, as: 'image', class: Google::Apis::VmmigrationV1alpha1::DiskImageDefaults, decorator: Google::Apis::VmmigrationV1alpha1::DiskImageDefaults::Representation
821
+
822
+ end
823
+ end
824
+
644
825
  class CancelCloneJobRequest
645
826
  # @private
646
827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,6 +840,15 @@ module Google
659
840
  end
660
841
  end
661
842
 
843
+ class ClientSecretCredentials
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ property :client_id, as: 'clientId'
847
+ property :client_secret, as: 'clientSecret'
848
+ property :tenant_id, as: 'tenantId'
849
+ end
850
+ end
851
+
662
852
  class CloneJob
663
853
  # @private
664
854
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -701,7 +891,11 @@ module Google
701
891
  class Representation < Google::Apis::Core::JsonRepresentation
702
892
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::PersistentDiskDefaults, decorator: Google::Apis::VmmigrationV1alpha1::PersistentDiskDefaults::Representation
703
893
 
894
+ property :disks_target_defaults, as: 'disksTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::DisksMigrationDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::DisksMigrationDisksTargetDefaults::Representation
895
+
704
896
  property :target_project, as: 'targetProject'
897
+ property :vm_target_defaults, as: 'vmTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::DisksMigrationVmTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::DisksMigrationVmTargetDefaults::Representation
898
+
705
899
  property :zone, as: 'zone'
706
900
  end
707
901
  end
@@ -711,6 +905,10 @@ module Google
711
905
  class Representation < Google::Apis::Core::JsonRepresentation
712
906
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::PersistentDisk, decorator: Google::Apis::VmmigrationV1alpha1::PersistentDisk::Representation
713
907
 
908
+ property :disks_target_details, as: 'disksTargetDetails', class: Google::Apis::VmmigrationV1alpha1::DisksMigrationDisksTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::DisksMigrationDisksTargetDetails::Representation
909
+
910
+ property :vm_target_details, as: 'vmTargetDetails', class: Google::Apis::VmmigrationV1alpha1::DisksMigrationVmTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::DisksMigrationVmTargetDetails::Representation
911
+
714
912
  end
715
913
  end
716
914
 
@@ -868,6 +1066,63 @@ module Google
868
1066
  end
869
1067
  end
870
1068
 
1069
+ class Disk
1070
+ # @private
1071
+ class Representation < Google::Apis::Core::JsonRepresentation
1072
+ property :lun, as: 'lun'
1073
+ property :name, as: 'name'
1074
+ property :size_gb, as: 'sizeGb'
1075
+ end
1076
+ end
1077
+
1078
+ class DiskImageDefaults
1079
+ # @private
1080
+ class Representation < Google::Apis::Core::JsonRepresentation
1081
+ property :source_image, as: 'sourceImage'
1082
+ end
1083
+ end
1084
+
1085
+ class DisksMigrationDisksTargetDefaults
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ end
1089
+ end
1090
+
1091
+ class DisksMigrationDisksTargetDetails
1092
+ # @private
1093
+ class Representation < Google::Apis::Core::JsonRepresentation
1094
+ end
1095
+ end
1096
+
1097
+ class DisksMigrationVmTargetDefaults
1098
+ # @private
1099
+ class Representation < Google::Apis::Core::JsonRepresentation
1100
+ collection :additional_licenses, as: 'additionalLicenses'
1101
+ property :boot_disk_defaults, as: 'bootDiskDefaults', class: Google::Apis::VmmigrationV1alpha1::BootDiskDefaults, decorator: Google::Apis::VmmigrationV1alpha1::BootDiskDefaults::Representation
1102
+
1103
+ property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1alpha1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1alpha1::ComputeScheduling::Representation
1104
+
1105
+ property :hostname, as: 'hostname'
1106
+ hash :labels, as: 'labels'
1107
+ property :machine_type, as: 'machineType'
1108
+ property :machine_type_series, as: 'machineTypeSeries'
1109
+ hash :metadata, as: 'metadata'
1110
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::VmmigrationV1alpha1::NetworkInterface, decorator: Google::Apis::VmmigrationV1alpha1::NetworkInterface::Representation
1111
+
1112
+ collection :network_tags, as: 'networkTags'
1113
+ property :secure_boot, as: 'secureBoot'
1114
+ property :service_account, as: 'serviceAccount'
1115
+ property :vm_name, as: 'vmName'
1116
+ end
1117
+ end
1118
+
1119
+ class DisksMigrationVmTargetDetails
1120
+ # @private
1121
+ class Representation < Google::Apis::Core::JsonRepresentation
1122
+ property :vm_uri, as: 'vmUri'
1123
+ end
1124
+ end
1125
+
871
1126
  class Empty
872
1127
  # @private
873
1128
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -879,6 +1134,8 @@ module Google
879
1134
  class Representation < Google::Apis::Core::JsonRepresentation
880
1135
  property :aws_vms, as: 'awsVms', class: Google::Apis::VmmigrationV1alpha1::AwsVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsVmsDetails::Representation
881
1136
 
1137
+ property :azure_vms, as: 'azureVms', class: Google::Apis::VmmigrationV1alpha1::AzureVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureVmsDetails::Representation
1138
+
882
1139
  property :next_page_token, as: 'nextPageToken'
883
1140
  property :update_time, as: 'updateTime'
884
1141
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
@@ -1056,6 +1313,8 @@ module Google
1056
1313
  class Representation < Google::Apis::Core::JsonRepresentation
1057
1314
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails::Representation
1058
1315
 
1316
+ property :azure_source_vm_details, as: 'azureSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails::Representation
1317
+
1059
1318
  property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults::Representation
1060
1319
 
1061
1320
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults::Representation
@@ -1133,6 +1392,25 @@ module Google
1133
1392
  end
1134
1393
  end
1135
1394
 
1395
+ class OsDescription
1396
+ # @private
1397
+ class Representation < Google::Apis::Core::JsonRepresentation
1398
+ property :offer, as: 'offer'
1399
+ property :plan, as: 'plan'
1400
+ property :publisher, as: 'publisher'
1401
+ property :type, as: 'type'
1402
+ end
1403
+ end
1404
+
1405
+ class OsDisk
1406
+ # @private
1407
+ class Representation < Google::Apis::Core::JsonRepresentation
1408
+ property :name, as: 'name'
1409
+ property :size_gb, as: 'sizeGb'
1410
+ property :type, as: 'type'
1411
+ end
1412
+ end
1413
+
1136
1414
  class Operation
1137
1415
  # @private
1138
1416
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1179,6 +1457,8 @@ module Google
1179
1457
  property :disk_name, as: 'diskName'
1180
1458
  property :disk_type, as: 'diskType'
1181
1459
  property :source_disk_number, as: 'sourceDiskNumber'
1460
+ property :vm_attachment_details, as: 'vmAttachmentDetails', class: Google::Apis::VmmigrationV1alpha1::VmAttachmentDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmAttachmentDetails::Representation
1461
+
1182
1462
  end
1183
1463
  end
1184
1464
 
@@ -1272,6 +1552,8 @@ module Google
1272
1552
  class Representation < Google::Apis::Core::JsonRepresentation
1273
1553
  property :aws, as: 'aws', class: Google::Apis::VmmigrationV1alpha1::AwsSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceDetails::Representation
1274
1554
 
1555
+ property :azure, as: 'azure', class: Google::Apis::VmmigrationV1alpha1::AzureSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureSourceDetails::Representation
1556
+
1275
1557
  property :create_time, as: 'createTime'
1276
1558
  property :description, as: 'description'
1277
1559
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
@@ -1386,6 +1668,21 @@ module Google
1386
1668
  end
1387
1669
  end
1388
1670
 
1671
+ class VmAttachmentDetails
1672
+ # @private
1673
+ class Representation < Google::Apis::Core::JsonRepresentation
1674
+ property :device_name, as: 'deviceName'
1675
+ end
1676
+ end
1677
+
1678
+ class VmCapabilities
1679
+ # @private
1680
+ class Representation < Google::Apis::Core::JsonRepresentation
1681
+ property :last_os_capabilities_update_time, as: 'lastOsCapabilitiesUpdateTime'
1682
+ collection :os_capabilities, as: 'osCapabilities'
1683
+ end
1684
+ end
1685
+
1389
1686
  class VmUtilizationInfo
1390
1687
  # @private
1391
1688
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1446,6 +1743,8 @@ module Google
1446
1743
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails::Representation
1447
1744
 
1448
1745
  property :firmware, as: 'firmware'
1746
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
1747
+
1449
1748
  end
1450
1749
  end
1451
1750
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmmigration_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.39.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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []