google-apis-vmmigration_v1 0.36.0 → 0.37.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: 6547a2245a987832d13dda08680ba5460f127f59dd04723e34bfe5ffac54e8b2
4
- data.tar.gz: f9e34feb8ca6744dab3c27dec9b73e6f06bcda3043a680fd2824766027738171
3
+ metadata.gz: a40ccd7d34bd52133d75e5df9a31799c0225e62d6a53bc0ad32788508e67452d
4
+ data.tar.gz: 110053aa85a1e7ff4e8b951dd084d32a6581d2f5c7d7a940ceb137780354aecb
5
5
  SHA512:
6
- metadata.gz: ac7aeb2c7efc3875717bcd46e650267ad05aa45becc3647f420896eb69af44653bb1213194a4b03f8959fe0d658d62375ba0ab25032c632ed87a7575319418ab
7
- data.tar.gz: f7c5f1f16bf0a5638914d65ee36270c2092453d098dfaf61dcbe0c0975ed5ed7ba9aa1a50ab8652e6a3f1d43bd4f00befc69b372418f87cb14bd5cc5a3c56018
6
+ metadata.gz: b8e409517ff87be5f818e525c1f47f08caf07d1674e279c64ff97f680febb797a73ee5d97600452525a36e2ad421a9ea3f5ff3fc3e749314a268ab7f6f630d30
7
+ data.tar.gz: 3cf5c6bf5bcad18c384cddbf5976f65f3a71965c19e78bc6ba97a0b7a91ef9d2c31bc92ab39ffa128a7f81af867f3c7e5f07d3dd18ea78d99d55c203a4275cac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.37.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
3
7
  ### v0.36.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::VmmigrationV1::VmCapabilities]
326
+ attr_accessor :vm_capabilities_info
327
+
322
328
  def initialize(**args)
323
329
  update!(**args)
324
330
  end
@@ -328,6 +334,7 @@ module Google
328
334
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
329
335
  @disks = args[:disks] if args.key?(:disks)
330
336
  @firmware = args[:firmware] if args.key?(:firmware)
337
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
331
338
  end
332
339
  end
333
340
 
@@ -471,6 +478,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::VmmigrationV1::ClientSecretCredentials]
526
+ attr_accessor :client_secret_creds
527
+
528
+ # The `Status` type defines a logical error model that is suitable for different
529
+ # programming environments, including REST APIs and RPC APIs. It is used by [
530
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
531
+ # data: error code, error message, and error details. You can find out more
532
+ # about this error model and how to work with it in the [API Design Guide](https:
533
+ # //cloud.google.com/apis/design/errors).
534
+ # Corresponds to the JSON property `error`
535
+ # @return [Google::Apis::VmmigrationV1::Status]
536
+ attr_accessor :error
537
+
538
+ # User specified tags to add to every M2VM generated resource in Azure. These
539
+ # tags will be set in addition to the default tags that are set as part of the
540
+ # migration process. The tags must not begin with the reserved prefix `m4ce` or `
541
+ # m2vm`.
542
+ # Corresponds to the JSON property `migrationResourcesUserTags`
543
+ # @return [Hash<String,String>]
544
+ attr_accessor :migration_resources_user_tags
545
+
546
+ # Output only. The ID of the Azure resource group that contains all resources
547
+ # related to the migration process of this source.
548
+ # Corresponds to the JSON property `resourceGroupId`
549
+ # @return [String]
550
+ attr_accessor :resource_group_id
551
+
552
+ # Output only. State of the source as determined by the health check.
553
+ # Corresponds to the JSON property `state`
554
+ # @return [String]
555
+ attr_accessor :state
556
+
557
+ # Immutable. Azure subscription ID.
558
+ # Corresponds to the JSON property `subscriptionId`
559
+ # @return [String]
560
+ attr_accessor :subscription_id
561
+
562
+ def initialize(**args)
563
+ update!(**args)
564
+ end
565
+
566
+ # Update properties of this object
567
+ def update!(**args)
568
+ @azure_location = args[:azure_location] if args.key?(:azure_location)
569
+ @client_secret_creds = args[:client_secret_creds] if args.key?(:client_secret_creds)
570
+ @error = args[:error] if args.key?(:error)
571
+ @migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags)
572
+ @resource_group_id = args[:resource_group_id] if args.key?(:resource_group_id)
573
+ @state = args[:state] if args.key?(:state)
574
+ @subscription_id = args[:subscription_id] if args.key?(:subscription_id)
575
+ end
576
+ end
577
+
578
+ # Represent the source Azure VM details.
579
+ class AzureSourceVmDetails
580
+ include Google::Apis::Core::Hashable
581
+
582
+ # The total size of the disks being migrated in bytes.
583
+ # Corresponds to the JSON property `committedStorageBytes`
584
+ # @return [Fixnum]
585
+ attr_accessor :committed_storage_bytes
586
+
587
+ # The disks attached to the source VM.
588
+ # Corresponds to the JSON property `disks`
589
+ # @return [Array<Google::Apis::VmmigrationV1::AzureDiskDetails>]
590
+ attr_accessor :disks
591
+
592
+ # The firmware type of the source VM.
593
+ # Corresponds to the JSON property `firmware`
594
+ # @return [String]
595
+ attr_accessor :firmware
596
+
597
+ # Migrating VM source information about the VM capabilities needed for some
598
+ # Compute Engine features.
599
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
600
+ # @return [Google::Apis::VmmigrationV1::VmCapabilities]
601
+ attr_accessor :vm_capabilities_info
602
+
603
+ def initialize(**args)
604
+ update!(**args)
605
+ end
606
+
607
+ # Update properties of this object
608
+ def update!(**args)
609
+ @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
610
+ @disks = args[:disks] if args.key?(:disks)
611
+ @firmware = args[:firmware] if args.key?(:firmware)
612
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
613
+ end
614
+ end
615
+
616
+ # AwsVmDetails describes a VM in AWS.
617
+ class AzureVmDetails
618
+ include Google::Apis::Core::Hashable
619
+
620
+ # The VM Boot Option.
621
+ # Corresponds to the JSON property `bootOption`
622
+ # @return [String]
623
+ attr_accessor :boot_option
624
+
625
+ # The total size of the storage allocated to the VM in MB.
626
+ # Corresponds to the JSON property `committedStorageMb`
627
+ # @return [Fixnum]
628
+ attr_accessor :committed_storage_mb
629
+
630
+ # The VM's ComputerName.
631
+ # Corresponds to the JSON property `computerName`
632
+ # @return [String]
633
+ attr_accessor :computer_name
634
+
635
+ # The number of cpus the VM has.
636
+ # Corresponds to the JSON property `cpuCount`
637
+ # @return [Fixnum]
638
+ attr_accessor :cpu_count
639
+
640
+ # The number of disks the VM has, including OS disk.
641
+ # Corresponds to the JSON property `diskCount`
642
+ # @return [Fixnum]
643
+ attr_accessor :disk_count
644
+
645
+ # Description of the data disks.
646
+ # Corresponds to the JSON property `disks`
647
+ # @return [Array<Google::Apis::VmmigrationV1::Disk>]
648
+ attr_accessor :disks
649
+
650
+ # The memory size of the VM in MB.
651
+ # Corresponds to the JSON property `memoryMb`
652
+ # @return [Fixnum]
653
+ attr_accessor :memory_mb
654
+
655
+ # A message describing the VM's OS. Including OS, Publisher, Offer and Plan if
656
+ # applicable.
657
+ # Corresponds to the JSON property `osDescription`
658
+ # @return [Google::Apis::VmmigrationV1::OsDescription]
659
+ attr_accessor :os_description
660
+
661
+ # A message describing the OS disk.
662
+ # Corresponds to the JSON property `osDisk`
663
+ # @return [Google::Apis::VmmigrationV1::OsDisk]
664
+ attr_accessor :os_disk
665
+
666
+ # The power state of the VM at the moment list was taken.
667
+ # Corresponds to the JSON property `powerState`
668
+ # @return [String]
669
+ attr_accessor :power_state
670
+
671
+ # The tags of the VM.
672
+ # Corresponds to the JSON property `tags`
673
+ # @return [Hash<String,String>]
674
+ attr_accessor :tags
675
+
676
+ # The VM full path in Azure.
677
+ # Corresponds to the JSON property `vmId`
678
+ # @return [String]
679
+ attr_accessor :vm_id
680
+
681
+ # VM size as configured in Azure. Determines the VM's hardware spec.
682
+ # Corresponds to the JSON property `vmSize`
683
+ # @return [String]
684
+ attr_accessor :vm_size
685
+
686
+ def initialize(**args)
687
+ update!(**args)
688
+ end
689
+
690
+ # Update properties of this object
691
+ def update!(**args)
692
+ @boot_option = args[:boot_option] if args.key?(:boot_option)
693
+ @committed_storage_mb = args[:committed_storage_mb] if args.key?(:committed_storage_mb)
694
+ @computer_name = args[:computer_name] if args.key?(:computer_name)
695
+ @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
696
+ @disk_count = args[:disk_count] if args.key?(:disk_count)
697
+ @disks = args[:disks] if args.key?(:disks)
698
+ @memory_mb = args[:memory_mb] if args.key?(:memory_mb)
699
+ @os_description = args[:os_description] if args.key?(:os_description)
700
+ @os_disk = args[:os_disk] if args.key?(:os_disk)
701
+ @power_state = args[:power_state] if args.key?(:power_state)
702
+ @tags = args[:tags] if args.key?(:tags)
703
+ @vm_id = args[:vm_id] if args.key?(:vm_id)
704
+ @vm_size = args[:vm_size] if args.key?(:vm_size)
705
+ end
706
+ end
707
+
708
+ # AzureVmsDetails describes VMs in Azure.
709
+ class AzureVmsDetails
710
+ include Google::Apis::Core::Hashable
711
+
712
+ # The details of the Azure VMs.
713
+ # Corresponds to the JSON property `details`
714
+ # @return [Array<Google::Apis::VmmigrationV1::AzureVmDetails>]
715
+ attr_accessor :details
716
+
717
+ def initialize(**args)
718
+ update!(**args)
719
+ end
720
+
721
+ # Update properties of this object
722
+ def update!(**args)
723
+ @details = args[:details] if args.key?(:details)
724
+ end
725
+ end
726
+
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
@@ -1307,6 +1591,37 @@ module Google
1307
1591
  end
1308
1592
  end
1309
1593
 
1594
+ # A message describing a data disk.
1595
+ class Disk
1596
+ include Google::Apis::Core::Hashable
1597
+
1598
+ # The disk's Logical Unit Number (LUN).
1599
+ # Corresponds to the JSON property `lun`
1600
+ # @return [Fixnum]
1601
+ attr_accessor :lun
1602
+
1603
+ # The disk name.
1604
+ # Corresponds to the JSON property `name`
1605
+ # @return [String]
1606
+ attr_accessor :name
1607
+
1608
+ # The disk size in GB.
1609
+ # Corresponds to the JSON property `sizeGb`
1610
+ # @return [Fixnum]
1611
+ attr_accessor :size_gb
1612
+
1613
+ def initialize(**args)
1614
+ update!(**args)
1615
+ end
1616
+
1617
+ # Update properties of this object
1618
+ def update!(**args)
1619
+ @lun = args[:lun] if args.key?(:lun)
1620
+ @name = args[:name] if args.key?(:name)
1621
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
1622
+ end
1623
+ end
1624
+
1310
1625
  # A generic empty message that you can re-use to avoid defining duplicated empty
1311
1626
  # messages in your APIs. A typical example is to use it as the request or the
1312
1627
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1332,6 +1647,11 @@ module Google
1332
1647
  # @return [Google::Apis::VmmigrationV1::AwsVmsDetails]
1333
1648
  attr_accessor :aws_vms
1334
1649
 
1650
+ # AzureVmsDetails describes VMs in Azure.
1651
+ # Corresponds to the JSON property `azureVms`
1652
+ # @return [Google::Apis::VmmigrationV1::AzureVmsDetails]
1653
+ attr_accessor :azure_vms
1654
+
1335
1655
  # Output only. A token, which can be sent as `page_token` to retrieve the next
1336
1656
  # page. If this field is omitted, there are no subsequent pages.
1337
1657
  # Corresponds to the JSON property `nextPageToken`
@@ -1356,6 +1676,7 @@ module Google
1356
1676
  # Update properties of this object
1357
1677
  def update!(**args)
1358
1678
  @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
1679
+ @azure_vms = args[:azure_vms] if args.key?(:azure_vms)
1359
1680
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1360
1681
  @update_time = args[:update_time] if args.key?(:update_time)
1361
1682
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
@@ -1898,6 +2219,11 @@ module Google
1898
2219
  # @return [Google::Apis::VmmigrationV1::AwsSourceVmDetails]
1899
2220
  attr_accessor :aws_source_vm_details
1900
2221
 
2222
+ # Represent the source Azure VM details.
2223
+ # Corresponds to the JSON property `azureSourceVmDetails`
2224
+ # @return [Google::Apis::VmmigrationV1::AzureSourceVmDetails]
2225
+ attr_accessor :azure_source_vm_details
2226
+
1901
2227
  # ComputeEngineDisksTargetDefaults is a collection of details for creating
1902
2228
  # Persistent Disks in a target Compute Engine project.
1903
2229
  # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
@@ -2029,6 +2355,7 @@ module Google
2029
2355
  # Update properties of this object
2030
2356
  def update!(**args)
2031
2357
  @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
2358
+ @azure_source_vm_details = args[:azure_source_vm_details] if args.key?(:azure_source_vm_details)
2032
2359
  @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
2033
2360
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
2034
2361
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -2186,6 +2513,75 @@ module Google
2186
2513
  end
2187
2514
  end
2188
2515
 
2516
+ # A message describing the VM's OS. Including OS, Publisher, Offer and Plan if
2517
+ # applicable.
2518
+ class OsDescription
2519
+ include Google::Apis::Core::Hashable
2520
+
2521
+ # OS offer.
2522
+ # Corresponds to the JSON property `offer`
2523
+ # @return [String]
2524
+ attr_accessor :offer
2525
+
2526
+ # OS plan.
2527
+ # Corresponds to the JSON property `plan`
2528
+ # @return [String]
2529
+ attr_accessor :plan
2530
+
2531
+ # OS publisher.
2532
+ # Corresponds to the JSON property `publisher`
2533
+ # @return [String]
2534
+ attr_accessor :publisher
2535
+
2536
+ # OS type.
2537
+ # Corresponds to the JSON property `type`
2538
+ # @return [String]
2539
+ attr_accessor :type
2540
+
2541
+ def initialize(**args)
2542
+ update!(**args)
2543
+ end
2544
+
2545
+ # Update properties of this object
2546
+ def update!(**args)
2547
+ @offer = args[:offer] if args.key?(:offer)
2548
+ @plan = args[:plan] if args.key?(:plan)
2549
+ @publisher = args[:publisher] if args.key?(:publisher)
2550
+ @type = args[:type] if args.key?(:type)
2551
+ end
2552
+ end
2553
+
2554
+ # A message describing the OS disk.
2555
+ class OsDisk
2556
+ include Google::Apis::Core::Hashable
2557
+
2558
+ # The disk's full name.
2559
+ # Corresponds to the JSON property `name`
2560
+ # @return [String]
2561
+ attr_accessor :name
2562
+
2563
+ # The disk's size in GB.
2564
+ # Corresponds to the JSON property `sizeGb`
2565
+ # @return [Fixnum]
2566
+ attr_accessor :size_gb
2567
+
2568
+ # The disk's type.
2569
+ # Corresponds to the JSON property `type`
2570
+ # @return [String]
2571
+ attr_accessor :type
2572
+
2573
+ def initialize(**args)
2574
+ update!(**args)
2575
+ end
2576
+
2577
+ # Update properties of this object
2578
+ def update!(**args)
2579
+ @name = args[:name] if args.key?(:name)
2580
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
2581
+ @type = args[:type] if args.key?(:type)
2582
+ end
2583
+ end
2584
+
2189
2585
  # This resource represents a long-running operation that is the result of a
2190
2586
  # network API call.
2191
2587
  class Operation
@@ -2661,6 +3057,12 @@ module Google
2661
3057
  # @return [Google::Apis::VmmigrationV1::AwsSourceDetails]
2662
3058
  attr_accessor :aws
2663
3059
 
3060
+ # AzureSourceDetails message describes a specific source details for the Azure
3061
+ # source type.
3062
+ # Corresponds to the JSON property `azure`
3063
+ # @return [Google::Apis::VmmigrationV1::AzureSourceDetails]
3064
+ attr_accessor :azure
3065
+
2664
3066
  # Output only. The create time timestamp.
2665
3067
  # Corresponds to the JSON property `createTime`
2666
3068
  # @return [String]
@@ -2699,6 +3101,7 @@ module Google
2699
3101
  # Update properties of this object
2700
3102
  def update!(**args)
2701
3103
  @aws = args[:aws] if args.key?(:aws)
3104
+ @azure = args[:azure] if args.key?(:azure)
2702
3105
  @create_time = args[:create_time] if args.key?(:create_time)
2703
3106
  @description = args[:description] if args.key?(:description)
2704
3107
  @labels = args[:labels] if args.key?(:labels)
@@ -2991,6 +3394,33 @@ module Google
2991
3394
  end
2992
3395
  end
2993
3396
 
3397
+ # Migrating VM source information about the VM capabilities needed for some
3398
+ # Compute Engine features.
3399
+ class VmCapabilities
3400
+ include Google::Apis::Core::Hashable
3401
+
3402
+ # Output only. The last time OS capabilities list was updated.
3403
+ # Corresponds to the JSON property `lastOsCapabilitiesUpdateTime`
3404
+ # @return [String]
3405
+ attr_accessor :last_os_capabilities_update_time
3406
+
3407
+ # Output only. Unordered list. List of certain VM OS capabilities needed for
3408
+ # some Compute Engine features.
3409
+ # Corresponds to the JSON property `osCapabilities`
3410
+ # @return [Array<String>]
3411
+ attr_accessor :os_capabilities
3412
+
3413
+ def initialize(**args)
3414
+ update!(**args)
3415
+ end
3416
+
3417
+ # Update properties of this object
3418
+ def update!(**args)
3419
+ @last_os_capabilities_update_time = args[:last_os_capabilities_update_time] if args.key?(:last_os_capabilities_update_time)
3420
+ @os_capabilities = args[:os_capabilities] if args.key?(:os_capabilities)
3421
+ end
3422
+ end
3423
+
2994
3424
  # Utilization information of a single VM.
2995
3425
  class VmUtilizationInfo
2996
3426
  include Google::Apis::Core::Hashable
@@ -3180,6 +3610,12 @@ module Google
3180
3610
  # @return [String]
3181
3611
  attr_accessor :firmware
3182
3612
 
3613
+ # Migrating VM source information about the VM capabilities needed for some
3614
+ # Compute Engine features.
3615
+ # Corresponds to the JSON property `vmCapabilitiesInfo`
3616
+ # @return [Google::Apis::VmmigrationV1::VmCapabilities]
3617
+ attr_accessor :vm_capabilities_info
3618
+
3183
3619
  def initialize(**args)
3184
3620
  update!(**args)
3185
3621
  end
@@ -3189,6 +3625,7 @@ module Google
3189
3625
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
3190
3626
  @disks = args[:disks] if args.key?(:disks)
3191
3627
  @firmware = args[:firmware] if args.key?(:firmware)
3628
+ @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
3192
3629
  end
3193
3630
  end
3194
3631
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmmigrationV1
18
18
  # Version of the google-apis-vmmigration_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "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
 
@@ -466,6 +520,12 @@ module Google
466
520
  include Google::Apis::Core::JsonObjectSupport
467
521
  end
468
522
 
523
+ class VmCapabilities
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
469
529
  class VmUtilizationInfo
470
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
531
 
@@ -599,6 +659,8 @@ module Google
599
659
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1::AwsDiskDetails::Representation
600
660
 
601
661
  property :firmware, as: 'firmware'
662
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
663
+
602
664
  end
603
665
  end
604
666
 
@@ -635,6 +697,72 @@ module Google
635
697
  end
636
698
  end
637
699
 
700
+ class AzureDiskDetails
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :disk_id, as: 'diskId'
704
+ property :disk_number, as: 'diskNumber'
705
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
706
+ end
707
+ end
708
+
709
+ class AzureSourceDetails
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :azure_location, as: 'azureLocation'
713
+ property :client_secret_creds, as: 'clientSecretCreds', class: Google::Apis::VmmigrationV1::ClientSecretCredentials, decorator: Google::Apis::VmmigrationV1::ClientSecretCredentials::Representation
714
+
715
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
716
+
717
+ hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
718
+ property :resource_group_id, as: 'resourceGroupId'
719
+ property :state, as: 'state'
720
+ property :subscription_id, as: 'subscriptionId'
721
+ end
722
+ end
723
+
724
+ class AzureSourceVmDetails
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
728
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::AzureDiskDetails, decorator: Google::Apis::VmmigrationV1::AzureDiskDetails::Representation
729
+
730
+ property :firmware, as: 'firmware'
731
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
732
+
733
+ end
734
+ end
735
+
736
+ class AzureVmDetails
737
+ # @private
738
+ class Representation < Google::Apis::Core::JsonRepresentation
739
+ property :boot_option, as: 'bootOption'
740
+ property :committed_storage_mb, :numeric_string => true, as: 'committedStorageMb'
741
+ property :computer_name, as: 'computerName'
742
+ property :cpu_count, as: 'cpuCount'
743
+ property :disk_count, as: 'diskCount'
744
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::Disk, decorator: Google::Apis::VmmigrationV1::Disk::Representation
745
+
746
+ property :memory_mb, as: 'memoryMb'
747
+ property :os_description, as: 'osDescription', class: Google::Apis::VmmigrationV1::OsDescription, decorator: Google::Apis::VmmigrationV1::OsDescription::Representation
748
+
749
+ property :os_disk, as: 'osDisk', class: Google::Apis::VmmigrationV1::OsDisk, decorator: Google::Apis::VmmigrationV1::OsDisk::Representation
750
+
751
+ property :power_state, as: 'powerState'
752
+ hash :tags, as: 'tags'
753
+ property :vm_id, as: 'vmId'
754
+ property :vm_size, as: 'vmSize'
755
+ end
756
+ end
757
+
758
+ class AzureVmsDetails
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ collection :details, as: 'details', class: Google::Apis::VmmigrationV1::AzureVmDetails, decorator: Google::Apis::VmmigrationV1::AzureVmDetails::Representation
762
+
763
+ end
764
+ end
765
+
638
766
  class CancelCloneJobRequest
639
767
  # @private
640
768
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -653,6 +781,15 @@ module Google
653
781
  end
654
782
  end
655
783
 
784
+ class ClientSecretCredentials
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :client_id, as: 'clientId'
788
+ property :client_secret, as: 'clientSecret'
789
+ property :tenant_id, as: 'tenantId'
790
+ end
791
+ end
792
+
656
793
  class CloneJob
657
794
  # @private
658
795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -852,6 +989,15 @@ module Google
852
989
  end
853
990
  end
854
991
 
992
+ class Disk
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ property :lun, as: 'lun'
996
+ property :name, as: 'name'
997
+ property :size_gb, as: 'sizeGb'
998
+ end
999
+ end
1000
+
855
1001
  class Empty
856
1002
  # @private
857
1003
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -863,6 +1009,8 @@ module Google
863
1009
  class Representation < Google::Apis::Core::JsonRepresentation
864
1010
  property :aws_vms, as: 'awsVms', class: Google::Apis::VmmigrationV1::AwsVmsDetails, decorator: Google::Apis::VmmigrationV1::AwsVmsDetails::Representation
865
1011
 
1012
+ property :azure_vms, as: 'azureVms', class: Google::Apis::VmmigrationV1::AzureVmsDetails, decorator: Google::Apis::VmmigrationV1::AzureVmsDetails::Representation
1013
+
866
1014
  property :next_page_token, as: 'nextPageToken'
867
1015
  property :update_time, as: 'updateTime'
868
1016
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1::VmwareVmsDetails::Representation
@@ -1040,6 +1188,8 @@ module Google
1040
1188
  class Representation < Google::Apis::Core::JsonRepresentation
1041
1189
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceVmDetails::Representation
1042
1190
 
1191
+ property :azure_source_vm_details, as: 'azureSourceVmDetails', class: Google::Apis::VmmigrationV1::AzureSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AzureSourceVmDetails::Representation
1192
+
1043
1193
  property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults::Representation
1044
1194
 
1045
1195
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults::Representation
@@ -1113,6 +1263,25 @@ module Google
1113
1263
  end
1114
1264
  end
1115
1265
 
1266
+ class OsDescription
1267
+ # @private
1268
+ class Representation < Google::Apis::Core::JsonRepresentation
1269
+ property :offer, as: 'offer'
1270
+ property :plan, as: 'plan'
1271
+ property :publisher, as: 'publisher'
1272
+ property :type, as: 'type'
1273
+ end
1274
+ end
1275
+
1276
+ class OsDisk
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ property :name, as: 'name'
1280
+ property :size_gb, as: 'sizeGb'
1281
+ property :type, as: 'type'
1282
+ end
1283
+ end
1284
+
1116
1285
  class Operation
1117
1286
  # @private
1118
1287
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,6 +1420,8 @@ module Google
1251
1420
  class Representation < Google::Apis::Core::JsonRepresentation
1252
1421
  property :aws, as: 'aws', class: Google::Apis::VmmigrationV1::AwsSourceDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceDetails::Representation
1253
1422
 
1423
+ property :azure, as: 'azure', class: Google::Apis::VmmigrationV1::AzureSourceDetails, decorator: Google::Apis::VmmigrationV1::AzureSourceDetails::Representation
1424
+
1254
1425
  property :create_time, as: 'createTime'
1255
1426
  property :description, as: 'description'
1256
1427
  hash :labels, as: 'labels'
@@ -1332,6 +1503,14 @@ module Google
1332
1503
  end
1333
1504
  end
1334
1505
 
1506
+ class VmCapabilities
1507
+ # @private
1508
+ class Representation < Google::Apis::Core::JsonRepresentation
1509
+ property :last_os_capabilities_update_time, as: 'lastOsCapabilitiesUpdateTime'
1510
+ collection :os_capabilities, as: 'osCapabilities'
1511
+ end
1512
+ end
1513
+
1335
1514
  class VmUtilizationInfo
1336
1515
  # @private
1337
1516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1384,6 +1563,8 @@ module Google
1384
1563
  collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::VmwareDiskDetails, decorator: Google::Apis::VmmigrationV1::VmwareDiskDetails::Representation
1385
1564
 
1386
1565
  property :firmware, as: 'firmware'
1566
+ property :vm_capabilities_info, as: 'vmCapabilitiesInfo', class: Google::Apis::VmmigrationV1::VmCapabilities, decorator: Google::Apis::VmmigrationV1::VmCapabilities::Representation
1567
+
1387
1568
  end
1388
1569
  end
1389
1570
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmmigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1
63
63
  post_install_message:
64
64
  rdoc_options: []