google-apis-vmmigration_v1alpha1 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a333ab0ab0113c5c647e5723bed074f0e8c5994f2e634850bb1461987d864882
4
- data.tar.gz: 794849573d48ab6cd84097b7ab8bde97ff91efe6a2537607c5a5c1e697141bfe
3
+ metadata.gz: c26ee091d53732c20f0361ef5ed21f1aad2ba529b8db8e67be7b764e6731a836
4
+ data.tar.gz: df173459e9aa86afa458b4e2d087ee1a4035e5d65925ccdf4278a32235be8c02
5
5
  SHA512:
6
- metadata.gz: 3d70af60c5c7b27fdc7a9b82069958f22e9f91e7a5c5208ecae9f64465dcd38be7131bd58596e48d529ba227eae26281946fdf8f39e77ebd5747a2715b45986e
7
- data.tar.gz: efd39c387ab8754d5fcdb13b34655f9838549004ccd99352c5338762b88979dc9c1be20085912921b068d51b710df305e347b1c8e7186996398589c0ee57a00e
6
+ metadata.gz: 7fad527c418fbdf7970b4ed9a627e4b4eb03ed13de645ad24b20e3c4e30472815995b8ac9bb15ed7828a776d6577d206c5b469548fef5d41a345b6bca7a74089
7
+ data.tar.gz: 9087d36121b50b1a1ec1266267464f68f4f8edb40c68321b8d0150addc7dcecf41b8e086292b885af3d8b880807749fd2949129559fea76278b497641bc83353
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.37.0 (2023-08-27)
4
8
 
5
9
  * 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,252 @@ 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
+
474
727
  # Request message for 'CancelCloneJob' request.
475
728
  class CancelCloneJobRequest
476
729
  include Google::Apis::Core::Hashable
@@ -510,6 +763,37 @@ module Google
510
763
  end
511
764
  end
512
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
+
513
797
  # CloneJob describes the process of creating a clone of a MigratingVM to the
514
798
  # requested target based on the latest successful uploaded snapshots. While the
515
799
  # migration cycles of a MigratingVm take place, it is possible to verify the
@@ -1348,6 +1632,37 @@ module Google
1348
1632
  end
1349
1633
  end
1350
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
+
1351
1666
  # A generic empty message that you can re-use to avoid defining duplicated empty
1352
1667
  # messages in your APIs. A typical example is to use it as the request or the
1353
1668
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1373,6 +1688,11 @@ module Google
1373
1688
  # @return [Google::Apis::VmmigrationV1alpha1::AwsVmsDetails]
1374
1689
  attr_accessor :aws_vms
1375
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
+
1376
1696
  # Output only. A token, which can be sent as `page_token` to retrieve the next
1377
1697
  # page. If this field is omitted, there are no subsequent pages.
1378
1698
  # Corresponds to the JSON property `nextPageToken`
@@ -1397,6 +1717,7 @@ module Google
1397
1717
  # Update properties of this object
1398
1718
  def update!(**args)
1399
1719
  @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
1720
+ @azure_vms = args[:azure_vms] if args.key?(:azure_vms)
1400
1721
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1401
1722
  @update_time = args[:update_time] if args.key?(:update_time)
1402
1723
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
@@ -1939,6 +2260,11 @@ module Google
1939
2260
  # @return [Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails]
1940
2261
  attr_accessor :aws_source_vm_details
1941
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
+
1942
2268
  # ComputeEngineDisksTargetDefaults is a collection of details for creating
1943
2269
  # Persistent Disks in a target Compute Engine project.
1944
2270
  # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
@@ -2082,6 +2408,7 @@ module Google
2082
2408
  # Update properties of this object
2083
2409
  def update!(**args)
2084
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)
2085
2412
  @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
2086
2413
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
2087
2414
  @compute_engine_vm_defaults = args[:compute_engine_vm_defaults] if args.key?(:compute_engine_vm_defaults)
@@ -2241,6 +2568,75 @@ module Google
2241
2568
  end
2242
2569
  end
2243
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
+
2244
2640
  # This resource represents a long-running operation that is the result of a
2245
2641
  # network API call.
2246
2642
  class Operation
@@ -2722,6 +3118,12 @@ module Google
2722
3118
  # @return [Google::Apis::VmmigrationV1alpha1::AwsSourceDetails]
2723
3119
  attr_accessor :aws
2724
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
+
2725
3127
  # Output only. The create time timestamp.
2726
3128
  # Corresponds to the JSON property `createTime`
2727
3129
  # @return [String]
@@ -2770,6 +3172,7 @@ module Google
2770
3172
  # Update properties of this object
2771
3173
  def update!(**args)
2772
3174
  @aws = args[:aws] if args.key?(:aws)
3175
+ @azure = args[:azure] if args.key?(:azure)
2773
3176
  @create_time = args[:create_time] if args.key?(:create_time)
2774
3177
  @description = args[:description] if args.key?(:description)
2775
3178
  @error = args[:error] if args.key?(:error)
@@ -3214,6 +3617,33 @@ module Google
3214
3617
  end
3215
3618
  end
3216
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
+
3217
3647
  # Utilization information of a single VM.
3218
3648
  class VmUtilizationInfo
3219
3649
  include Google::Apis::Core::Hashable
@@ -3453,6 +3883,12 @@ module Google
3453
3883
  # @return [String]
3454
3884
  attr_accessor :firmware
3455
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
+
3456
3892
  def initialize(**args)
3457
3893
  update!(**args)
3458
3894
  end
@@ -3462,6 +3898,7 @@ module Google
3462
3898
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
3463
3899
  @disks = args[:disks] if args.key?(:disks)
3464
3900
  @firmware = args[:firmware] if args.key?(:firmware)
3901
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
3465
3902
  end
3466
3903
  end
3467
3904
 
@@ -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.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230817"
25
+ REVISION = "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
 
@@ -605,6 +665,8 @@ module Google
605
665
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsDiskDetails::Representation
606
666
 
607
667
  property :firmware, as: 'firmware'
668
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
669
+
608
670
  end
609
671
  end
610
672
 
@@ -641,6 +703,72 @@ module Google
641
703
  end
642
704
  end
643
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
+
644
772
  class CancelCloneJobRequest
645
773
  # @private
646
774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -659,6 +787,15 @@ module Google
659
787
  end
660
788
  end
661
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
+
662
799
  class CloneJob
663
800
  # @private
664
801
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -868,6 +1005,15 @@ module Google
868
1005
  end
869
1006
  end
870
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
+
871
1017
  class Empty
872
1018
  # @private
873
1019
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -879,6 +1025,8 @@ module Google
879
1025
  class Representation < Google::Apis::Core::JsonRepresentation
880
1026
  property :aws_vms, as: 'awsVms', class: Google::Apis::VmmigrationV1alpha1::AwsVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsVmsDetails::Representation
881
1027
 
1028
+ property :azure_vms, as: 'azureVms', class: Google::Apis::VmmigrationV1alpha1::AzureVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureVmsDetails::Representation
1029
+
882
1030
  property :next_page_token, as: 'nextPageToken'
883
1031
  property :update_time, as: 'updateTime'
884
1032
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
@@ -1056,6 +1204,8 @@ module Google
1056
1204
  class Representation < Google::Apis::Core::JsonRepresentation
1057
1205
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails::Representation
1058
1206
 
1207
+ property :azure_source_vm_details, as: 'azureSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureSourceVmDetails::Representation
1208
+
1059
1209
  property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults::Representation
1060
1210
 
1061
1211
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults::Representation
@@ -1133,6 +1283,25 @@ module Google
1133
1283
  end
1134
1284
  end
1135
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
+
1136
1305
  class Operation
1137
1306
  # @private
1138
1307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1272,6 +1441,8 @@ module Google
1272
1441
  class Representation < Google::Apis::Core::JsonRepresentation
1273
1442
  property :aws, as: 'aws', class: Google::Apis::VmmigrationV1alpha1::AwsSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceDetails::Representation
1274
1443
 
1444
+ property :azure, as: 'azure', class: Google::Apis::VmmigrationV1alpha1::AzureSourceDetails, decorator: Google::Apis::VmmigrationV1alpha1::AzureSourceDetails::Representation
1445
+
1275
1446
  property :create_time, as: 'createTime'
1276
1447
  property :description, as: 'description'
1277
1448
  property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
@@ -1386,6 +1557,14 @@ module Google
1386
1557
  end
1387
1558
  end
1388
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
+
1389
1568
  class VmUtilizationInfo
1390
1569
  # @private
1391
1570
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1446,6 +1625,8 @@ module Google
1446
1625
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareDiskDetails::Representation
1447
1626
 
1448
1627
  property :firmware, as: 'firmware'
1628
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1alpha1::VmCapabilities, decorator: Google::Apis::VmmigrationV1alpha1::VmCapabilities::Representation
1629
+
1449
1630
  end
1450
1631
  end
1451
1632
 
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.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-27 00:00:00.000000000 Z
11
+ date: 2023-09-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.37.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: []