google-apis-vmmigration_v1alpha1 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: e268fdc1e23fe359c765654aed9470f62691695e2a068bb775aacf6f9cd66612
4
- data.tar.gz: c6fefed4821531eb334fc490a8796ea01698fbd863498aa6eabbf91c4ae4c01b
3
+ metadata.gz: c26ee091d53732c20f0361ef5ed21f1aad2ba529b8db8e67be7b764e6731a836
4
+ data.tar.gz: df173459e9aa86afa458b4e2d087ee1a4035e5d65925ccdf4278a32235be8c02
5
5
  SHA512:
6
- metadata.gz: 74aded7721eb36acc74c6bc39f6ee2bfb303eff09cb157c74b342d08682502e4e87d8e00f0bca8ac1d7b09238edf24dc634a4e6ffcc0cb7e45c60c76b8ed051b
7
- data.tar.gz: 9706fc988d11fc25e26ae8885980fbcff04de0125075069309af3921bbd383e48f68d2c0f2b4932896cec9f91683d61c18ca54a12796f0698c2de59ff7c885bd
6
+ metadata.gz: 7fad527c418fbdf7970b4ed9a627e4b4eb03ed13de645ad24b20e3c4e30472815995b8ac9bb15ed7828a776d6577d206c5b469548fef5d41a345b6bca7a74089
7
+ data.tar.gz: 9087d36121b50b1a1ec1266267464f68f4f8edb40c68321b8d0150addc7dcecf41b8e086292b885af3d8b880807749fd2949129559fea76278b497641bc83353
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.38.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
7
+ ### v0.37.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230817
10
+
3
11
  ### v0.36.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230803
@@ -319,11 +319,11 @@ module Google
319
319
  # @return [String]
320
320
  attr_accessor :firmware
321
321
 
322
- # Output only. Unordered list. List of VM certain capabilities needed for some
322
+ # Migrating VM source information about the VM capabilities needed for some
323
323
  # Compute Engine features.
324
- # Corresponds to the JSON property `vmCapabilities`
325
- # @return [Array<String>]
326
- attr_accessor :vm_capabilities
324
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
325
+ # @return [Google::Apis::VmmigrationV1alpha1::VmCapabilities]
326
+ attr_accessor :vm_capabilities_info
327
327
 
328
328
  def initialize(**args)
329
329
  update!(**args)
@@ -334,7 +334,7 @@ module Google
334
334
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
335
335
  @disks = args[:disks] if args.key?(:disks)
336
336
  @firmware = args[:firmware] if args.key?(:firmware)
337
- @vm_capabilities = args[:vm_capabilities] if args.key?(:vm_capabilities)
337
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
338
338
  end
339
339
  end
340
340
 
@@ -478,6 +478,252 @@ module Google
478
478
  end
479
479
  end
480
480
 
481
+ # The details of an Azure VM disk.
482
+ class AzureDiskDetails
483
+ include Google::Apis::Core::Hashable
484
+
485
+ # Azure disk ID.
486
+ # Corresponds to the JSON property `diskId`
487
+ # @return [String]
488
+ attr_accessor :disk_id
489
+
490
+ # The ordinal number of the disk.
491
+ # Corresponds to the JSON property `diskNumber`
492
+ # @return [Fixnum]
493
+ attr_accessor :disk_number
494
+
495
+ # Size in GB.
496
+ # Corresponds to the JSON property `sizeGb`
497
+ # @return [Fixnum]
498
+ attr_accessor :size_gb
499
+
500
+ def initialize(**args)
501
+ update!(**args)
502
+ end
503
+
504
+ # Update properties of this object
505
+ def update!(**args)
506
+ @disk_id = args[:disk_id] if args.key?(:disk_id)
507
+ @disk_number = args[:disk_number] if args.key?(:disk_number)
508
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
509
+ end
510
+ end
511
+
512
+ # AzureSourceDetails message describes a specific source details for the Azure
513
+ # source type.
514
+ class AzureSourceDetails
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # Immutable. The Azure location (region) that the source VMs will be migrated
518
+ # from.
519
+ # Corresponds to the JSON property `azureLocation`
520
+ # @return [String]
521
+ attr_accessor :azure_location
522
+
523
+ # Message describing Azure Credentials using tenant ID, client ID and secret.
524
+ # Corresponds to the JSON property `clientSecretCreds`
525
+ # @return [Google::Apis::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
+
481
727
  # Request message for 'CancelCloneJob' request.
482
728
  class CancelCloneJobRequest
483
729
  include Google::Apis::Core::Hashable
@@ -517,6 +763,37 @@ module Google
517
763
  end
518
764
  end
519
765
 
766
+ # Message describing Azure Credentials using tenant ID, client ID and secret.
767
+ class ClientSecretCredentials
768
+ include Google::Apis::Core::Hashable
769
+
770
+ # Azure client ID.
771
+ # Corresponds to the JSON property `clientId`
772
+ # @return [String]
773
+ attr_accessor :client_id
774
+
775
+ # Input only. Azure client secret.
776
+ # Corresponds to the JSON property `clientSecret`
777
+ # @return [String]
778
+ attr_accessor :client_secret
779
+
780
+ # Azure tenant ID.
781
+ # Corresponds to the JSON property `tenantId`
782
+ # @return [String]
783
+ attr_accessor :tenant_id
784
+
785
+ def initialize(**args)
786
+ update!(**args)
787
+ end
788
+
789
+ # Update properties of this object
790
+ def update!(**args)
791
+ @client_id = args[:client_id] if args.key?(:client_id)
792
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
793
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
794
+ end
795
+ end
796
+
520
797
  # CloneJob describes the process of creating a clone of a MigratingVM to the
521
798
  # requested target based on the latest successful uploaded snapshots. While the
522
799
  # migration cycles of a MigratingVm take place, it is possible to verify the
@@ -1355,6 +1632,37 @@ module Google
1355
1632
  end
1356
1633
  end
1357
1634
 
1635
+ # A message describing a data disk.
1636
+ class Disk
1637
+ include Google::Apis::Core::Hashable
1638
+
1639
+ # The disk's Logical Unit Number (LUN).
1640
+ # Corresponds to the JSON property `lun`
1641
+ # @return [Fixnum]
1642
+ attr_accessor :lun
1643
+
1644
+ # The disk name.
1645
+ # Corresponds to the JSON property `name`
1646
+ # @return [String]
1647
+ attr_accessor :name
1648
+
1649
+ # The disk size in GB.
1650
+ # Corresponds to the JSON property `sizeGb`
1651
+ # @return [Fixnum]
1652
+ attr_accessor :size_gb
1653
+
1654
+ def initialize(**args)
1655
+ update!(**args)
1656
+ end
1657
+
1658
+ # Update properties of this object
1659
+ def update!(**args)
1660
+ @lun = args[:lun] if args.key?(:lun)
1661
+ @name = args[:name] if args.key?(:name)
1662
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
1663
+ end
1664
+ end
1665
+
1358
1666
  # A generic empty message that you can re-use to avoid defining duplicated empty
1359
1667
  # messages in your APIs. A typical example is to use it as the request or the
1360
1668
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1380,6 +1688,11 @@ module Google
1380
1688
  # @return [Google::Apis::VmmigrationV1alpha1::AwsVmsDetails]
1381
1689
  attr_accessor :aws_vms
1382
1690
 
1691
+ # AzureVmsDetails describes VMs in Azure.
1692
+ # Corresponds to the JSON property `azureVms`
1693
+ # @return [Google::Apis::VmmigrationV1alpha1::AzureVmsDetails]
1694
+ attr_accessor :azure_vms
1695
+
1383
1696
  # Output only. A token, which can be sent as `page_token` to retrieve the next
1384
1697
  # page. If this field is omitted, there are no subsequent pages.
1385
1698
  # Corresponds to the JSON property `nextPageToken`
@@ -1404,6 +1717,7 @@ module Google
1404
1717
  # Update properties of this object
1405
1718
  def update!(**args)
1406
1719
  @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
1720
+ @azure_vms = args[:azure_vms] if args.key?(:azure_vms)
1407
1721
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1408
1722
  @update_time = args[:update_time] if args.key?(:update_time)
1409
1723
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
@@ -1946,6 +2260,11 @@ module Google
1946
2260
  # @return [Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails]
1947
2261
  attr_accessor :aws_source_vm_details
1948
2262
 
2263
+ # Represent the source Azure VM details.
2264
+ # Corresponds to the JSON property `azureSourceVmDetails`
2265
+ # @return [Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails]
2266
+ attr_accessor :azure_source_vm_details
2267
+
1949
2268
  # ComputeEngineDisksTargetDefaults is a collection of details for creating
1950
2269
  # Persistent Disks in a target Compute Engine project.
1951
2270
  # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
@@ -2077,6 +2396,11 @@ module Google
2077
2396
  # @return [String]
2078
2397
  attr_accessor :update_time
2079
2398
 
2399
+ # Represent the source Vmware VM details.
2400
+ # Corresponds to the JSON property `vmwareSourceVmDetails`
2401
+ # @return [Google::Apis::VmmigrationV1alpha1::VmwareSourceVmDetails]
2402
+ attr_accessor :vmware_source_vm_details
2403
+
2080
2404
  def initialize(**args)
2081
2405
  update!(**args)
2082
2406
  end
@@ -2084,6 +2408,7 @@ module Google
2084
2408
  # Update properties of this object
2085
2409
  def update!(**args)
2086
2410
  @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
2411
+ @azure_source_vm_details = args[:azure_source_vm_details] if args.key?(:azure_source_vm_details)
2087
2412
  @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
2088
2413
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
2089
2414
  @compute_engine_vm_defaults = args[:compute_engine_vm_defaults] if args.key?(:compute_engine_vm_defaults)
@@ -2106,6 +2431,7 @@ module Google
2106
2431
  @state_time = args[:state_time] if args.key?(:state_time)
2107
2432
  @target_defaults = args[:target_defaults] if args.key?(:target_defaults)
2108
2433
  @update_time = args[:update_time] if args.key?(:update_time)
2434
+ @vmware_source_vm_details = args[:vmware_source_vm_details] if args.key?(:vmware_source_vm_details)
2109
2435
  end
2110
2436
  end
2111
2437
 
@@ -2242,6 +2568,75 @@ module Google
2242
2568
  end
2243
2569
  end
2244
2570
 
2571
+ # A message describing the VM's OS. Including OS, Publisher, Offer and Plan if
2572
+ # applicable.
2573
+ class OsDescription
2574
+ include Google::Apis::Core::Hashable
2575
+
2576
+ # OS offer.
2577
+ # Corresponds to the JSON property `offer`
2578
+ # @return [String]
2579
+ attr_accessor :offer
2580
+
2581
+ # OS plan.
2582
+ # Corresponds to the JSON property `plan`
2583
+ # @return [String]
2584
+ attr_accessor :plan
2585
+
2586
+ # OS publisher.
2587
+ # Corresponds to the JSON property `publisher`
2588
+ # @return [String]
2589
+ attr_accessor :publisher
2590
+
2591
+ # OS type.
2592
+ # Corresponds to the JSON property `type`
2593
+ # @return [String]
2594
+ attr_accessor :type
2595
+
2596
+ def initialize(**args)
2597
+ update!(**args)
2598
+ end
2599
+
2600
+ # Update properties of this object
2601
+ def update!(**args)
2602
+ @offer = args[:offer] if args.key?(:offer)
2603
+ @plan = args[:plan] if args.key?(:plan)
2604
+ @publisher = args[:publisher] if args.key?(:publisher)
2605
+ @type = args[:type] if args.key?(:type)
2606
+ end
2607
+ end
2608
+
2609
+ # A message describing the OS disk.
2610
+ class OsDisk
2611
+ include Google::Apis::Core::Hashable
2612
+
2613
+ # The disk's full name.
2614
+ # Corresponds to the JSON property `name`
2615
+ # @return [String]
2616
+ attr_accessor :name
2617
+
2618
+ # The disk's size in GB.
2619
+ # Corresponds to the JSON property `sizeGb`
2620
+ # @return [Fixnum]
2621
+ attr_accessor :size_gb
2622
+
2623
+ # The disk's type.
2624
+ # Corresponds to the JSON property `type`
2625
+ # @return [String]
2626
+ attr_accessor :type
2627
+
2628
+ def initialize(**args)
2629
+ update!(**args)
2630
+ end
2631
+
2632
+ # Update properties of this object
2633
+ def update!(**args)
2634
+ @name = args[:name] if args.key?(:name)
2635
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2636
+ @type = args[:type] if args.key?(:type)
2637
+ end
2638
+ end
2639
+
2245
2640
  # This resource represents a long-running operation that is the result of a
2246
2641
  # network API call.
2247
2642
  class Operation
@@ -2723,6 +3118,12 @@ module Google
2723
3118
  # @return [Google::Apis::VmmigrationV1alpha1::AwsSourceDetails]
2724
3119
  attr_accessor :aws
2725
3120
 
3121
+ # AzureSourceDetails message describes a specific source details for the Azure
3122
+ # source type.
3123
+ # Corresponds to the JSON property `azure`
3124
+ # @return [Google::Apis::VmmigrationV1alpha1::AzureSourceDetails]
3125
+ attr_accessor :azure
3126
+
2726
3127
  # Output only. The create time timestamp.
2727
3128
  # Corresponds to the JSON property `createTime`
2728
3129
  # @return [String]
@@ -2771,6 +3172,7 @@ module Google
2771
3172
  # Update properties of this object
2772
3173
  def update!(**args)
2773
3174
  @aws = args[:aws] if args.key?(:aws)
3175
+ @azure = args[:azure] if args.key?(:azure)
2774
3176
  @create_time = args[:create_time] if args.key?(:create_time)
2775
3177
  @description = args[:description] if args.key?(:description)
2776
3178
  @error = args[:error] if args.key?(:error)
@@ -3215,6 +3617,33 @@ module Google
3215
3617
  end
3216
3618
  end
3217
3619
 
3620
+ # Migrating VM source information about the VM capabilities needed for some
3621
+ # Compute Engine features.
3622
+ class VmCapabilities
3623
+ include Google::Apis::Core::Hashable
3624
+
3625
+ # Output only. The last time OS capabilities list was updated.
3626
+ # Corresponds to the JSON property `lastOsCapabilitiesUpdateTime`
3627
+ # @return [String]
3628
+ attr_accessor :last_os_capabilities_update_time
3629
+
3630
+ # Output only. Unordered list. List of certain VM OS capabilities needed for
3631
+ # some Compute Engine features.
3632
+ # Corresponds to the JSON property `osCapabilities`
3633
+ # @return [Array<String>]
3634
+ attr_accessor :os_capabilities
3635
+
3636
+ def initialize(**args)
3637
+ update!(**args)
3638
+ end
3639
+
3640
+ # Update properties of this object
3641
+ def update!(**args)
3642
+ @last_os_capabilities_update_time = args[:last_os_capabilities_update_time] if args.key?(:last_os_capabilities_update_time)
3643
+ @os_capabilities = args[:os_capabilities] if args.key?(:os_capabilities)
3644
+ end
3645
+ end
3646
+
3218
3647
  # Utilization information of a single VM.
3219
3648
  class VmUtilizationInfo
3220
3649
  include Google::Apis::Core::Hashable
@@ -3359,6 +3788,37 @@ module Google
3359
3788
  end
3360
3789
  end
3361
3790
 
3791
+ # The details of a Vmware VM disk.
3792
+ class VmwareDiskDetails
3793
+ include Google::Apis::Core::Hashable
3794
+
3795
+ # The ordinal number of the disk.
3796
+ # Corresponds to the JSON property `diskNumber`
3797
+ # @return [Fixnum]
3798
+ attr_accessor :disk_number
3799
+
3800
+ # The disk label.
3801
+ # Corresponds to the JSON property `label`
3802
+ # @return [String]
3803
+ attr_accessor :label
3804
+
3805
+ # Size in GB.
3806
+ # Corresponds to the JSON property `sizeGb`
3807
+ # @return [Fixnum]
3808
+ attr_accessor :size_gb
3809
+
3810
+ def initialize(**args)
3811
+ update!(**args)
3812
+ end
3813
+
3814
+ # Update properties of this object
3815
+ def update!(**args)
3816
+ @disk_number = args[:disk_number] if args.key?(:disk_number)
3817
+ @label = args[:label] if args.key?(:label)
3818
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
3819
+ end
3820
+ end
3821
+
3362
3822
  # VmwareSourceDetails message describes a specific source details for the vmware
3363
3823
  # source type.
3364
3824
  class VmwareSourceDetails
@@ -3404,6 +3864,44 @@ module Google
3404
3864
  end
3405
3865
  end
3406
3866
 
3867
+ # Represent the source Vmware VM details.
3868
+ class VmwareSourceVmDetails
3869
+ include Google::Apis::Core::Hashable
3870
+
3871
+ # The total size of the disks being migrated in bytes.
3872
+ # Corresponds to the JSON property `committedStorageBytes`
3873
+ # @return [Fixnum]
3874
+ attr_accessor :committed_storage_bytes
3875
+
3876
+ # The disks attached to the source VM.
3877
+ # Corresponds to the JSON property `disks`
3878
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails>]
3879
+ attr_accessor :disks
3880
+
3881
+ # The firmware type of the source VM.
3882
+ # Corresponds to the JSON property `firmware`
3883
+ # @return [String]
3884
+ attr_accessor :firmware
3885
+
3886
+ # Migrating VM source information about the VM capabilities needed for some
3887
+ # Compute Engine features.
3888
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
3889
+ # @return [Google::Apis::VmmigrationV1alpha1::VmCapabilities]
3890
+ attr_accessor :vm_capabilities_info
3891
+
3892
+ def initialize(**args)
3893
+ update!(**args)
3894
+ end
3895
+
3896
+ # Update properties of this object
3897
+ def update!(**args)
3898
+ @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
3899
+ @disks = args[:disks] if args.key?(:disks)
3900
+ @firmware = args[:firmware] if args.key?(:firmware)
3901
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
3902
+ end
3903
+ end
3904
+
3407
3905
  # VmwareVmDetails describes a VM in vCenter.
3408
3906
  class VmwareVmDetails
3409
3907
  include Google::Apis::Core::Hashable
@@ -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.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 = "20230803"
25
+ REVISION = "20230831"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,36 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class AzureDiskDetails
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class AzureSourceDetails
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class AzureSourceVmDetails
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class AzureVmDetails
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class AzureVmsDetails
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
97
127
  class CancelCloneJobRequest
98
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
129
 
@@ -112,6 +142,12 @@ module Google
112
142
  include Google::Apis::Core::JsonObjectSupport
113
143
  end
114
144
 
145
+ class ClientSecretCredentials
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
115
151
  class CloneJob
116
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
153
 
@@ -184,6 +220,12 @@ module Google
184
220
  include Google::Apis::Core::JsonObjectSupport
185
221
  end
186
222
 
223
+ class Disk
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
187
229
  class Empty
188
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
231
 
@@ -328,6 +370,18 @@ module Google
328
370
  include Google::Apis::Core::JsonObjectSupport
329
371
  end
330
372
 
373
+ class OsDescription
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class OsDisk
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
331
385
  class Operation
332
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
387
 
@@ -472,6 +526,12 @@ module Google
472
526
  include Google::Apis::Core::JsonObjectSupport
473
527
  end
474
528
 
529
+ class VmCapabilities
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
475
535
  class VmUtilizationInfo
476
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
537
 
@@ -484,12 +544,24 @@ module Google
484
544
  include Google::Apis::Core::JsonObjectSupport
485
545
  end
486
546
 
547
+ class VmwareDiskDetails
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
487
553
  class VmwareSourceDetails
488
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
555
 
490
556
  include Google::Apis::Core::JsonObjectSupport
491
557
  end
492
558
 
559
+ class VmwareSourceVmDetails
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
493
565
  class VmwareVmDetails
494
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
567
 
@@ -593,7 +665,8 @@ module Google
593
665
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails::Representation
594
666
 
595
667
  property :firmware, as: 'firmware'
596
- collection :vm_capabilities, as: 'vmCapabilities'
668
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
669
+
597
670
  end
598
671
  end
599
672
 
@@ -630,6 +703,72 @@ module Google
630
703
  end
631
704
  end
632
705
 
706
+ class AzureDiskDetails
707
+ # @private
708
+ class Representation < Google::Apis::Core::JsonRepresentation
709
+ property :disk_id, as: 'diskId'
710
+ property :disk_number, as: 'diskNumber'
711
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
712
+ end
713
+ end
714
+
715
+ class AzureSourceDetails
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :azure_location, as: 'azureLocation'
719
+ property :client_secret_creds, as: 'clientSecretCreds', class: Google::Apis::VmmigrationV1alpha1::ClientSecretCredentials, decorator: Google::Apis::VmmigrationV1alpha1::ClientSecretCredentials::Representation
720
+
721
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
722
+
723
+ hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
724
+ property :resource_group_id, as: 'resourceGroupId'
725
+ property :state, as: 'state'
726
+ property :subscription_id, as: 'subscriptionId'
727
+ end
728
+ end
729
+
730
+ class AzureSourceVmDetails
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
734
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::AzureDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureDiskDetails::Representation
735
+
736
+ property :firmware, as: 'firmware'
737
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
738
+
739
+ end
740
+ end
741
+
742
+ class AzureVmDetails
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :boot_option, as: 'bootOption'
746
+ property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
747
+ property :computer_name, as: 'computerName'
748
+ property :cpu_count, as: 'cpuCount'
749
+ property :disk_count, as: 'diskCount'
750
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::Disk, decorator: Google::Apis::VmmigrationV1alpha1::Disk::Representation
751
+
752
+ property :memory_mb, as: 'memoryMb'
753
+ property :os_description, as: 'osDescription', class: Google::Apis::VmmigrationV1alpha1::OsDescription, decorator: Google::Apis::VmmigrationV1alpha1::OsDescription::Representation
754
+
755
+ property :os_disk, as: 'osDisk', class: Google::Apis::VmmigrationV1alpha1::OsDisk, decorator: Google::Apis::VmmigrationV1alpha1::OsDisk::Representation
756
+
757
+ property :power_state, as: 'powerState'
758
+ hash :tags, as: 'tags'
759
+ property :vm_id, as: 'vmId'
760
+ property :vm_size, as: 'vmSize'
761
+ end
762
+ end
763
+
764
+ class AzureVmsDetails
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ collection :details, as: 'details', class: Google::Apis::VmmigrationV1alpha1::AzureVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureVmDetails::Representation
768
+
769
+ end
770
+ end
771
+
633
772
  class CancelCloneJobRequest
634
773
  # @private
635
774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -648,6 +787,15 @@ module Google
648
787
  end
649
788
  end
650
789
 
790
+ class ClientSecretCredentials
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ property :client_id, as: 'clientId'
794
+ property :client_secret, as: 'clientSecret'
795
+ property :tenant_id, as: 'tenantId'
796
+ end
797
+ end
798
+
651
799
  class CloneJob
652
800
  # @private
653
801
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -857,6 +1005,15 @@ module Google
857
1005
  end
858
1006
  end
859
1007
 
1008
+ class Disk
1009
+ # @private
1010
+ class Representation < Google::Apis::Core::JsonRepresentation
1011
+ property :lun, as: 'lun'
1012
+ property :name, as: 'name'
1013
+ property :size_gb, as: 'sizeGb'
1014
+ end
1015
+ end
1016
+
860
1017
  class Empty
861
1018
  # @private
862
1019
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -868,6 +1025,8 @@ module Google
868
1025
  class Representation < Google::Apis::Core::JsonRepresentation
869
1026
  property :aws_vms, as: 'awsVms', class: Google::Apis::VmmigrationV1alpha1::AwsVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsVmsDetails::Representation
870
1027
 
1028
+ property :azure_vms, as: 'azureVms', class: Google::Apis::VmmigrationV1alpha1::AzureVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureVmsDetails::Representation
1029
+
871
1030
  property :next_page_token, as: 'nextPageToken'
872
1031
  property :update_time, as: 'updateTime'
873
1032
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
@@ -1045,6 +1204,8 @@ module Google
1045
1204
  class Representation < Google::Apis::Core::JsonRepresentation
1046
1205
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails::Representation
1047
1206
 
1207
+ property :azure_source_vm_details, as: 'azureSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails::Representation
1208
+
1048
1209
  property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults::Representation
1049
1210
 
1050
1211
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults::Representation
@@ -1079,6 +1240,8 @@ module Google
1079
1240
  property :target_defaults, as: 'targetDefaults', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
1080
1241
 
1081
1242
  property :update_time, as: 'updateTime'
1243
+ property :vmware_source_vm_details, as: 'vmwareSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::VmwareSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareSourceVmDetails::Representation
1244
+
1082
1245
  end
1083
1246
  end
1084
1247
 
@@ -1120,6 +1283,25 @@ module Google
1120
1283
  end
1121
1284
  end
1122
1285
 
1286
+ class OsDescription
1287
+ # @private
1288
+ class Representation < Google::Apis::Core::JsonRepresentation
1289
+ property :offer, as: 'offer'
1290
+ property :plan, as: 'plan'
1291
+ property :publisher, as: 'publisher'
1292
+ property :type, as: 'type'
1293
+ end
1294
+ end
1295
+
1296
+ class OsDisk
1297
+ # @private
1298
+ class Representation < Google::Apis::Core::JsonRepresentation
1299
+ property :name, as: 'name'
1300
+ property :size_gb, as: 'sizeGb'
1301
+ property :type, as: 'type'
1302
+ end
1303
+ end
1304
+
1123
1305
  class Operation
1124
1306
  # @private
1125
1307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1259,6 +1441,8 @@ module Google
1259
1441
  class Representation < Google::Apis::Core::JsonRepresentation
1260
1442
  property :aws, as: 'aws', class: Google::Apis::VmmigrationV1alpha1::AwsSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceDetails::Representation
1261
1443
 
1444
+ property :azure, as: 'azure', class: Google::Apis::VmmigrationV1alpha1::AzureSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureSourceDetails::Representation
1445
+
1262
1446
  property :create_time, as: 'createTime'
1263
1447
  property :description, as: 'description'
1264
1448
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
@@ -1373,6 +1557,14 @@ module Google
1373
1557
  end
1374
1558
  end
1375
1559
 
1560
+ class VmCapabilities
1561
+ # @private
1562
+ class Representation < Google::Apis::Core::JsonRepresentation
1563
+ property :last_os_capabilities_update_time, as: 'lastOsCapabilitiesUpdateTime'
1564
+ collection :os_capabilities, as: 'osCapabilities'
1565
+ end
1566
+ end
1567
+
1376
1568
  class VmUtilizationInfo
1377
1569
  # @private
1378
1570
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1406,6 +1598,15 @@ module Google
1406
1598
  end
1407
1599
  end
1408
1600
 
1601
+ class VmwareDiskDetails
1602
+ # @private
1603
+ class Representation < Google::Apis::Core::JsonRepresentation
1604
+ property :disk_number, as: 'diskNumber'
1605
+ property :label, as: 'label'
1606
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
1607
+ end
1608
+ end
1609
+
1409
1610
  class VmwareSourceDetails
1410
1611
  # @private
1411
1612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1417,6 +1618,18 @@ module Google
1417
1618
  end
1418
1619
  end
1419
1620
 
1621
+ class VmwareSourceVmDetails
1622
+ # @private
1623
+ class Representation < Google::Apis::Core::JsonRepresentation
1624
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
1625
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails::Representation
1626
+
1627
+ property :firmware, as: 'firmware'
1628
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
1629
+
1630
+ end
1631
+ end
1632
+
1420
1633
  class VmwareVmDetails
1421
1634
  # @private
1422
1635
  class Representation < Google::Apis::Core::JsonRepresentation
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.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-13 00:00:00.000000000 Z
11
+ date: 2023-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.38.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for VM Migration API V1alpha1