google-apis-vmmigration_v1alpha1 0.33.0 → 0.34.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: b579919b287263110e7ea834df6ee2ffb1545e6679bdf284c0836a5769c7f7b8
4
- data.tar.gz: c396a25be75923f749505bc818ea5115730561169d3bd6f5fbd07f9c8a6a0921
3
+ metadata.gz: 9b36146c76440c7b1d4fc7b5a4dede280d4ad2edd68486b8805a4fe97bc2a219
4
+ data.tar.gz: b53d639424410e17ee6cb96ab8b401573fc3749020b4552dbe301d3f3824f913
5
5
  SHA512:
6
- metadata.gz: af0be165def3b4028ba6d9a9d144784d42a06dc1e80a31bd503854e82cb36710929dd314f07d2bac506849196e3e9db1f98eb187b63a920edefb67b233666300
7
- data.tar.gz: 492cd55ebe419fd9b55a1a0f9570735b767f4ad3ad040edfc95af54b569a5495653623822f9d4f2e4ae50388c65800a99fd3ec9fbd62143cf86a47c4ba161dbb
6
+ metadata.gz: b2c41ee8fb0bce654c6f34f58ed3b91d38da3961ddb1e423c0c99e14cccfc18dc582f2fc9c8209d7bdfc3e303a19596f75f221709ad5518a3110696f36fe5e7a
7
+ data.tar.gz: bd55f573e1f282cb1402f1e0f43f634ff18c660ff4433b1c690c3065f9e285f97fb99a5463b0e061770d99f052bdde1949231c833d5e5916822c2578a75d7804
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.34.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230713
6
+
3
7
  ### v0.33.0 (2023-05-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20230515
@@ -522,6 +522,12 @@ module Google
522
522
  class CloneJob
523
523
  include Google::Apis::Core::Hashable
524
524
 
525
+ # ComputeEngineDisksTargetDetails is a collection of created Persistent Disks
526
+ # details.
527
+ # Corresponds to the JSON property `computeEngineDisksTargetDetails`
528
+ # @return [Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDetails]
529
+ attr_accessor :compute_engine_disks_target_details
530
+
525
531
  # ComputeEngineTargetDetails is a collection of details for creating a VM in a
526
532
  # target Compute Engine project.
527
533
  # Corresponds to the JSON property `computeEngineTargetDetails`
@@ -587,6 +593,7 @@ module Google
587
593
 
588
594
  # Update properties of this object
589
595
  def update!(**args)
596
+ @compute_engine_disks_target_details = args[:compute_engine_disks_target_details] if args.key?(:compute_engine_disks_target_details)
590
597
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
591
598
  @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
592
599
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -643,6 +650,59 @@ module Google
643
650
  end
644
651
  end
645
652
 
653
+ # ComputeEngineDisksTargetDefaults is a collection of details for creating
654
+ # Persistent Disks in a target Compute Engine project.
655
+ class ComputeEngineDisksTargetDefaults
656
+ include Google::Apis::Core::Hashable
657
+
658
+ # The details of each Persistent Disk to create.
659
+ # Corresponds to the JSON property `disks`
660
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::PersistentDiskDefaults>]
661
+ attr_accessor :disks
662
+
663
+ # The full path of the resource of type TargetProject which represents the
664
+ # Compute Engine project in which to create the Persistent Disks.
665
+ # Corresponds to the JSON property `targetProject`
666
+ # @return [String]
667
+ attr_accessor :target_project
668
+
669
+ # The zone in which to create the Persistent Disks.
670
+ # Corresponds to the JSON property `zone`
671
+ # @return [String]
672
+ attr_accessor :zone
673
+
674
+ def initialize(**args)
675
+ update!(**args)
676
+ end
677
+
678
+ # Update properties of this object
679
+ def update!(**args)
680
+ @disks = args[:disks] if args.key?(:disks)
681
+ @target_project = args[:target_project] if args.key?(:target_project)
682
+ @zone = args[:zone] if args.key?(:zone)
683
+ end
684
+ end
685
+
686
+ # ComputeEngineDisksTargetDetails is a collection of created Persistent Disks
687
+ # details.
688
+ class ComputeEngineDisksTargetDetails
689
+ include Google::Apis::Core::Hashable
690
+
691
+ # The details of each created Persistent Disk.
692
+ # Corresponds to the JSON property `disks`
693
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::PersistentDisk>]
694
+ attr_accessor :disks
695
+
696
+ def initialize(**args)
697
+ update!(**args)
698
+ end
699
+
700
+ # Update properties of this object
701
+ def update!(**args)
702
+ @disks = args[:disks] if args.key?(:disks)
703
+ end
704
+ end
705
+
646
706
  # ComputeEngineTargetDefaults is a collection of details for creating a VM in a
647
707
  # target Compute Engine project.
648
708
  class ComputeEngineTargetDefaults
@@ -970,6 +1030,12 @@ module Google
970
1030
  class CutoverJob
971
1031
  include Google::Apis::Core::Hashable
972
1032
 
1033
+ # ComputeEngineDisksTargetDetails is a collection of created Persistent Disks
1034
+ # details.
1035
+ # Corresponds to the JSON property `computeEngineDisksTargetDetails`
1036
+ # @return [Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDetails]
1037
+ attr_accessor :compute_engine_disks_target_details
1038
+
973
1039
  # ComputeEngineTargetDetails is a collection of details for creating a VM in a
974
1040
  # target Compute Engine project.
975
1041
  # Corresponds to the JSON property `computeEngineTargetDetails`
@@ -1051,6 +1117,7 @@ module Google
1051
1117
 
1052
1118
  # Update properties of this object
1053
1119
  def update!(**args)
1120
+ @compute_engine_disks_target_details = args[:compute_engine_disks_target_details] if args.key?(:compute_engine_disks_target_details)
1054
1121
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
1055
1122
  @compute_engine_vm_details = args[:compute_engine_vm_details] if args.key?(:compute_engine_vm_details)
1056
1123
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -1369,6 +1436,11 @@ module Google
1369
1436
  # @return [String]
1370
1437
  attr_accessor :display_name
1371
1438
 
1439
+ # Immutable. The target type of this group.
1440
+ # Corresponds to the JSON property `migrationTargetType`
1441
+ # @return [String]
1442
+ attr_accessor :migration_target_type
1443
+
1372
1444
  # Output only. The Group name.
1373
1445
  # Corresponds to the JSON property `name`
1374
1446
  # @return [String]
@@ -1388,6 +1460,7 @@ module Google
1388
1460
  @create_time = args[:create_time] if args.key?(:create_time)
1389
1461
  @description = args[:description] if args.key?(:description)
1390
1462
  @display_name = args[:display_name] if args.key?(:display_name)
1463
+ @migration_target_type = args[:migration_target_type] if args.key?(:migration_target_type)
1391
1464
  @name = args[:name] if args.key?(:name)
1392
1465
  @update_time = args[:update_time] if args.key?(:update_time)
1393
1466
  end
@@ -1866,6 +1939,12 @@ module Google
1866
1939
  # @return [Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails]
1867
1940
  attr_accessor :aws_source_vm_details
1868
1941
 
1942
+ # ComputeEngineDisksTargetDefaults is a collection of details for creating
1943
+ # Persistent Disks in a target Compute Engine project.
1944
+ # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
1945
+ # @return [Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults]
1946
+ attr_accessor :compute_engine_disks_target_defaults
1947
+
1869
1948
  # ComputeEngineTargetDefaults is a collection of details for creating a VM in a
1870
1949
  # target Compute Engine project.
1871
1950
  # Corresponds to the JSON property `computeEngineTargetDefaults`
@@ -1998,6 +2077,7 @@ module Google
1998
2077
  # Update properties of this object
1999
2078
  def update!(**args)
2000
2079
  @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
2080
+ @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
2001
2081
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
2002
2082
  @compute_engine_vm_defaults = args[:compute_engine_vm_defaults] if args.key?(:compute_engine_vm_defaults)
2003
2083
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -2289,6 +2369,68 @@ module Google
2289
2369
  end
2290
2370
  end
2291
2371
 
2372
+ # Details of a created Persistent Disk.
2373
+ class PersistentDisk
2374
+ include Google::Apis::Core::Hashable
2375
+
2376
+ # The URI of the Persistent Disk.
2377
+ # Corresponds to the JSON property `diskUri`
2378
+ # @return [String]
2379
+ attr_accessor :disk_uri
2380
+
2381
+ # The ordinal number of the source VM disk.
2382
+ # Corresponds to the JSON property `sourceDiskNumber`
2383
+ # @return [Fixnum]
2384
+ attr_accessor :source_disk_number
2385
+
2386
+ def initialize(**args)
2387
+ update!(**args)
2388
+ end
2389
+
2390
+ # Update properties of this object
2391
+ def update!(**args)
2392
+ @disk_uri = args[:disk_uri] if args.key?(:disk_uri)
2393
+ @source_disk_number = args[:source_disk_number] if args.key?(:source_disk_number)
2394
+ end
2395
+ end
2396
+
2397
+ # Details for creation of a Persistent Disk.
2398
+ class PersistentDiskDefaults
2399
+ include Google::Apis::Core::Hashable
2400
+
2401
+ # A map of labels to associate with the Persistent Disk.
2402
+ # Corresponds to the JSON property `additionalLabels`
2403
+ # @return [Hash<String,String>]
2404
+ attr_accessor :additional_labels
2405
+
2406
+ # Optional. The name of the Persistent Disk to create.
2407
+ # Corresponds to the JSON property `diskName`
2408
+ # @return [String]
2409
+ attr_accessor :disk_name
2410
+
2411
+ # The disk type to use.
2412
+ # Corresponds to the JSON property `diskType`
2413
+ # @return [String]
2414
+ attr_accessor :disk_type
2415
+
2416
+ # The ordinal number of the source VM disk.
2417
+ # Corresponds to the JSON property `sourceDiskNumber`
2418
+ # @return [Fixnum]
2419
+ attr_accessor :source_disk_number
2420
+
2421
+ def initialize(**args)
2422
+ update!(**args)
2423
+ end
2424
+
2425
+ # Update properties of this object
2426
+ def update!(**args)
2427
+ @additional_labels = args[:additional_labels] if args.key?(:additional_labels)
2428
+ @disk_name = args[:disk_name] if args.key?(:disk_name)
2429
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
2430
+ @source_disk_number = args[:source_disk_number] if args.key?(:source_disk_number)
2431
+ end
2432
+ end
2433
+
2292
2434
  # PostProcessingStep contains specific step details.
2293
2435
  class PostProcessingStep
2294
2436
  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.33.0"
19
+ GEM_VERSION = "0.34.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 = "20230515"
25
+ REVISION = "20230713"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,18 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class ComputeEngineDisksTargetDefaults
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ComputeEngineDisksTargetDetails
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class ComputeEngineTargetDefaults
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -334,6 +346,18 @@ module Google
334
346
  include Google::Apis::Core::JsonObjectSupport
335
347
  end
336
348
 
349
+ class PersistentDisk
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class PersistentDiskDefaults
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
337
361
  class PostProcessingStep
338
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
363
 
@@ -626,6 +650,8 @@ module Google
626
650
  class CloneJob
627
651
  # @private
628
652
  class Representation < Google::Apis::Core::JsonRepresentation
653
+ property :compute_engine_disks_target_details, as: 'computeEngineDisksTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDetails::Representation
654
+
629
655
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails::Representation
630
656
 
631
657
  property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
@@ -658,6 +684,24 @@ module Google
658
684
  end
659
685
  end
660
686
 
687
+ class ComputeEngineDisksTargetDefaults
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::PersistentDiskDefaults, decorator: Google::Apis::VmmigrationV1alpha1::PersistentDiskDefaults::Representation
691
+
692
+ property :target_project, as: 'targetProject'
693
+ property :zone, as: 'zone'
694
+ end
695
+ end
696
+
697
+ class ComputeEngineDisksTargetDetails
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1alpha1::PersistentDisk, decorator: Google::Apis::VmmigrationV1alpha1::PersistentDisk::Representation
701
+
702
+ end
703
+ end
704
+
661
705
  class ComputeEngineTargetDefaults
662
706
  # @private
663
707
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -734,6 +778,8 @@ module Google
734
778
  class CutoverJob
735
779
  # @private
736
780
  class Representation < Google::Apis::Core::JsonRepresentation
781
+ property :compute_engine_disks_target_details, as: 'computeEngineDisksTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDetails::Representation
782
+
737
783
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDetails::Representation
738
784
 
739
785
  property :compute_engine_vm_details, as: 'computeEngineVmDetails', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
@@ -840,6 +886,7 @@ module Google
840
886
  property :create_time, as: 'createTime'
841
887
  property :description, as: 'description'
842
888
  property :display_name, as: 'displayName'
889
+ property :migration_target_type, as: 'migrationTargetType'
843
890
  property :name, as: 'name'
844
891
  property :update_time, as: 'updateTime'
845
892
  end
@@ -997,6 +1044,8 @@ module Google
997
1044
  class Representation < Google::Apis::Core::JsonRepresentation
998
1045
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::AwsSourceVmDetails::Representation
999
1046
 
1047
+ property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDefaults::Representation
1048
+
1000
1049
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1alpha1::ComputeEngineTargetDefaults::Representation
1001
1050
 
1002
1051
  property :compute_engine_vm_defaults, as: 'computeEngineVmDefaults', class: Google::Apis::VmmigrationV1alpha1::TargetVmDetails, decorator: Google::Apis::VmmigrationV1alpha1::TargetVmDetails::Representation
@@ -1101,6 +1150,24 @@ module Google
1101
1150
  end
1102
1151
  end
1103
1152
 
1153
+ class PersistentDisk
1154
+ # @private
1155
+ class Representation < Google::Apis::Core::JsonRepresentation
1156
+ property :disk_uri, as: 'diskUri'
1157
+ property :source_disk_number, as: 'sourceDiskNumber'
1158
+ end
1159
+ end
1160
+
1161
+ class PersistentDiskDefaults
1162
+ # @private
1163
+ class Representation < Google::Apis::Core::JsonRepresentation
1164
+ hash :additional_labels, as: 'additionalLabels'
1165
+ property :disk_name, as: 'diskName'
1166
+ property :disk_type, as: 'diskType'
1167
+ property :source_disk_number, as: 'sourceDiskNumber'
1168
+ end
1169
+ end
1170
+
1104
1171
  class PostProcessingStep
1105
1172
  # @private
1106
1173
  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.33.0
4
+ version: 0.34.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-05-21 00:00:00.000000000 Z
11
+ date: 2023-07-23 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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.34.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: []