google-apis-vmmigration_v1 0.31.0 → 0.33.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: b716411e5336816f0fe5f826c3e0f6be7eb13844e5c9de4613ca50fa718a2be7
4
- data.tar.gz: 83091a19e4a902c28f81581583776782393a003ee6fd0a41d3d6a6ef1e4800a3
3
+ metadata.gz: 8dce6854c16aa6b1cae94dcdd978b174a64c040bcdf9aa105a00ba15b9e3212c
4
+ data.tar.gz: a64446528b30388d9a72eb49b10309cd2fadfe5c58125dd76a885832d541ab59
5
5
  SHA512:
6
- metadata.gz: c7477c8472a99cd4ad36e7324766e260d962a45d397e19cdcc7fd2a63b970c61c7b8a7a36da6bf455fe2d25390308800a482e96d38e2d76e433dde2e6381e51d
7
- data.tar.gz: 52fbff00ebcdbd74c746ddd2d04b01df6ad1ce29dae8ffd51e8460eb39f0a6ed32674abd0e19bfb3c0e1d8567662114d54cfb02dac52bafa06004fc9d95cb9bd
6
+ metadata.gz: 01f888887f0de16d29ae65677eac70c641edffc9d17e0eb16ed829fc0d0ef91fc867c771c79492f71e47b2d925151a120f063df7433bfc8630aea1b3ef082837
7
+ data.tar.gz: c23f960ac9b2626a56018a7eccf40a7ae4761fc798b22385edb265c0eedf839782624835884ba4b135e2450fdca758d1a34e90a9179832f67c0999e336d3a7f0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.33.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230713
6
+
7
+ ### v0.32.0 (2023-05-21)
8
+
9
+ * Regenerated from discovery document revision 20230515
10
+
3
11
  ### v0.31.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230504
@@ -174,6 +174,37 @@ module Google
174
174
  end
175
175
  end
176
176
 
177
+ # The details of an AWS instance disk.
178
+ class AwsDiskDetails
179
+ include Google::Apis::Core::Hashable
180
+
181
+ # The ordinal number of the disk.
182
+ # Corresponds to the JSON property `diskNumber`
183
+ # @return [Fixnum]
184
+ attr_accessor :disk_number
185
+
186
+ # Size in GB.
187
+ # Corresponds to the JSON property `sizeGb`
188
+ # @return [Fixnum]
189
+ attr_accessor :size_gb
190
+
191
+ # AWS volume ID.
192
+ # Corresponds to the JSON property `volumeId`
193
+ # @return [String]
194
+ attr_accessor :volume_id
195
+
196
+ def initialize(**args)
197
+ update!(**args)
198
+ end
199
+
200
+ # Update properties of this object
201
+ def update!(**args)
202
+ @disk_number = args[:disk_number] if args.key?(:disk_number)
203
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
204
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
205
+ end
206
+ end
207
+
177
208
  # AwsSecurityGroup describes a security group of an AWS VM.
178
209
  class AwsSecurityGroup
179
210
  include Google::Apis::Core::Hashable
@@ -278,6 +309,11 @@ module Google
278
309
  # @return [Fixnum]
279
310
  attr_accessor :committed_storage_bytes
280
311
 
312
+ # The disks attached to the source VM.
313
+ # Corresponds to the JSON property `disks`
314
+ # @return [Array<Google::Apis::VmmigrationV1::AwsDiskDetails>]
315
+ attr_accessor :disks
316
+
281
317
  # The firmware type of the source VM.
282
318
  # Corresponds to the JSON property `firmware`
283
319
  # @return [String]
@@ -290,6 +326,7 @@ module Google
290
326
  # Update properties of this object
291
327
  def update!(**args)
292
328
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
329
+ @disks = args[:disks] if args.key?(:disks)
293
330
  @firmware = args[:firmware] if args.key?(:firmware)
294
331
  end
295
332
  end
@@ -485,6 +522,12 @@ module Google
485
522
  class CloneJob
486
523
  include Google::Apis::Core::Hashable
487
524
 
525
+ # ComputeEngineDisksTargetDetails is a collection of created Persistent Disks
526
+ # details.
527
+ # Corresponds to the JSON property `computeEngineDisksTargetDetails`
528
+ # @return [Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails]
529
+ attr_accessor :compute_engine_disks_target_details
530
+
488
531
  # ComputeEngineTargetDetails is a collection of details for creating a VM in a
489
532
  # target Compute Engine project.
490
533
  # Corresponds to the JSON property `computeEngineTargetDetails`
@@ -538,6 +581,7 @@ module Google
538
581
 
539
582
  # Update properties of this object
540
583
  def update!(**args)
584
+ @compute_engine_disks_target_details = args[:compute_engine_disks_target_details] if args.key?(:compute_engine_disks_target_details)
541
585
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
542
586
  @create_time = args[:create_time] if args.key?(:create_time)
543
587
  @end_time = args[:end_time] if args.key?(:end_time)
@@ -592,6 +636,59 @@ module Google
592
636
  end
593
637
  end
594
638
 
639
+ # ComputeEngineDisksTargetDefaults is a collection of details for creating
640
+ # Persistent Disks in a target Compute Engine project.
641
+ class ComputeEngineDisksTargetDefaults
642
+ include Google::Apis::Core::Hashable
643
+
644
+ # The details of each Persistent Disk to create.
645
+ # Corresponds to the JSON property `disks`
646
+ # @return [Array<Google::Apis::VmmigrationV1::PersistentDiskDefaults>]
647
+ attr_accessor :disks
648
+
649
+ # The full path of the resource of type TargetProject which represents the
650
+ # Compute Engine project in which to create the Persistent Disks.
651
+ # Corresponds to the JSON property `targetProject`
652
+ # @return [String]
653
+ attr_accessor :target_project
654
+
655
+ # The zone in which to create the Persistent Disks.
656
+ # Corresponds to the JSON property `zone`
657
+ # @return [String]
658
+ attr_accessor :zone
659
+
660
+ def initialize(**args)
661
+ update!(**args)
662
+ end
663
+
664
+ # Update properties of this object
665
+ def update!(**args)
666
+ @disks = args[:disks] if args.key?(:disks)
667
+ @target_project = args[:target_project] if args.key?(:target_project)
668
+ @zone = args[:zone] if args.key?(:zone)
669
+ end
670
+ end
671
+
672
+ # ComputeEngineDisksTargetDetails is a collection of created Persistent Disks
673
+ # details.
674
+ class ComputeEngineDisksTargetDetails
675
+ include Google::Apis::Core::Hashable
676
+
677
+ # The details of each created Persistent Disk.
678
+ # Corresponds to the JSON property `disks`
679
+ # @return [Array<Google::Apis::VmmigrationV1::PersistentDisk>]
680
+ attr_accessor :disks
681
+
682
+ def initialize(**args)
683
+ update!(**args)
684
+ end
685
+
686
+ # Update properties of this object
687
+ def update!(**args)
688
+ @disks = args[:disks] if args.key?(:disks)
689
+ end
690
+ end
691
+
595
692
  # ComputeEngineTargetDefaults is a collection of details for creating a VM in a
596
693
  # target Compute Engine project.
597
694
  class ComputeEngineTargetDefaults
@@ -912,6 +1009,12 @@ module Google
912
1009
  class CutoverJob
913
1010
  include Google::Apis::Core::Hashable
914
1011
 
1012
+ # ComputeEngineDisksTargetDetails is a collection of created Persistent Disks
1013
+ # details.
1014
+ # Corresponds to the JSON property `computeEngineDisksTargetDetails`
1015
+ # @return [Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails]
1016
+ attr_accessor :compute_engine_disks_target_details
1017
+
915
1018
  # ComputeEngineTargetDetails is a collection of details for creating a VM in a
916
1019
  # target Compute Engine project.
917
1020
  # Corresponds to the JSON property `computeEngineTargetDetails`
@@ -976,6 +1079,7 @@ module Google
976
1079
 
977
1080
  # Update properties of this object
978
1081
  def update!(**args)
1082
+ @compute_engine_disks_target_details = args[:compute_engine_disks_target_details] if args.key?(:compute_engine_disks_target_details)
979
1083
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
980
1084
  @create_time = args[:create_time] if args.key?(:create_time)
981
1085
  @end_time = args[:end_time] if args.key?(:end_time)
@@ -1291,6 +1395,11 @@ module Google
1291
1395
  # @return [String]
1292
1396
  attr_accessor :display_name
1293
1397
 
1398
+ # Immutable. The target type of this group.
1399
+ # Corresponds to the JSON property `migrationTargetType`
1400
+ # @return [String]
1401
+ attr_accessor :migration_target_type
1402
+
1294
1403
  # Output only. The Group name.
1295
1404
  # Corresponds to the JSON property `name`
1296
1405
  # @return [String]
@@ -1310,6 +1419,7 @@ module Google
1310
1419
  @create_time = args[:create_time] if args.key?(:create_time)
1311
1420
  @description = args[:description] if args.key?(:description)
1312
1421
  @display_name = args[:display_name] if args.key?(:display_name)
1422
+ @migration_target_type = args[:migration_target_type] if args.key?(:migration_target_type)
1313
1423
  @name = args[:name] if args.key?(:name)
1314
1424
  @update_time = args[:update_time] if args.key?(:update_time)
1315
1425
  end
@@ -1788,6 +1898,12 @@ module Google
1788
1898
  # @return [Google::Apis::VmmigrationV1::AwsSourceVmDetails]
1789
1899
  attr_accessor :aws_source_vm_details
1790
1900
 
1901
+ # ComputeEngineDisksTargetDefaults is a collection of details for creating
1902
+ # Persistent Disks in a target Compute Engine project.
1903
+ # Corresponds to the JSON property `computeEngineDisksTargetDefaults`
1904
+ # @return [Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults]
1905
+ attr_accessor :compute_engine_disks_target_defaults
1906
+
1791
1907
  # ComputeEngineTargetDefaults is a collection of details for creating a VM in a
1792
1908
  # target Compute Engine project.
1793
1909
  # Corresponds to the JSON property `computeEngineTargetDefaults`
@@ -1908,6 +2024,7 @@ module Google
1908
2024
  # Update properties of this object
1909
2025
  def update!(**args)
1910
2026
  @aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
2027
+ @compute_engine_disks_target_defaults = args[:compute_engine_disks_target_defaults] if args.key?(:compute_engine_disks_target_defaults)
1911
2028
  @compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
1912
2029
  @create_time = args[:create_time] if args.key?(:create_time)
1913
2030
  @current_sync_info = args[:current_sync_info] if args.key?(:current_sync_info)
@@ -2197,6 +2314,68 @@ module Google
2197
2314
  end
2198
2315
  end
2199
2316
 
2317
+ # Details of a created Persistent Disk.
2318
+ class PersistentDisk
2319
+ include Google::Apis::Core::Hashable
2320
+
2321
+ # The URI of the Persistent Disk.
2322
+ # Corresponds to the JSON property `diskUri`
2323
+ # @return [String]
2324
+ attr_accessor :disk_uri
2325
+
2326
+ # The ordinal number of the source VM disk.
2327
+ # Corresponds to the JSON property `sourceDiskNumber`
2328
+ # @return [Fixnum]
2329
+ attr_accessor :source_disk_number
2330
+
2331
+ def initialize(**args)
2332
+ update!(**args)
2333
+ end
2334
+
2335
+ # Update properties of this object
2336
+ def update!(**args)
2337
+ @disk_uri = args[:disk_uri] if args.key?(:disk_uri)
2338
+ @source_disk_number = args[:source_disk_number] if args.key?(:source_disk_number)
2339
+ end
2340
+ end
2341
+
2342
+ # Details for creation of a Persistent Disk.
2343
+ class PersistentDiskDefaults
2344
+ include Google::Apis::Core::Hashable
2345
+
2346
+ # A map of labels to associate with the Persistent Disk.
2347
+ # Corresponds to the JSON property `additionalLabels`
2348
+ # @return [Hash<String,String>]
2349
+ attr_accessor :additional_labels
2350
+
2351
+ # Optional. The name of the Persistent Disk to create.
2352
+ # Corresponds to the JSON property `diskName`
2353
+ # @return [String]
2354
+ attr_accessor :disk_name
2355
+
2356
+ # The disk type to use.
2357
+ # Corresponds to the JSON property `diskType`
2358
+ # @return [String]
2359
+ attr_accessor :disk_type
2360
+
2361
+ # The ordinal number of the source VM disk.
2362
+ # Corresponds to the JSON property `sourceDiskNumber`
2363
+ # @return [Fixnum]
2364
+ attr_accessor :source_disk_number
2365
+
2366
+ def initialize(**args)
2367
+ update!(**args)
2368
+ end
2369
+
2370
+ # Update properties of this object
2371
+ def update!(**args)
2372
+ @additional_labels = args[:additional_labels] if args.key?(:additional_labels)
2373
+ @disk_name = args[:disk_name] if args.key?(:disk_name)
2374
+ @disk_type = args[:disk_type] if args.key?(:disk_type)
2375
+ @source_disk_number = args[:source_disk_number] if args.key?(:source_disk_number)
2376
+ end
2377
+ end
2378
+
2200
2379
  # PostProcessingStep contains specific step details.
2201
2380
  class PostProcessingStep
2202
2381
  include Google::Apis::Core::Hashable
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.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 = "20230504"
25
+ REVISION = "20230713"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class AwsDiskDetails
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class AwsSecurityGroup
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -118,6 +124,18 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
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
+
121
139
  class ComputeEngineTargetDefaults
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
@@ -328,6 +346,18 @@ module Google
328
346
  include Google::Apis::Core::JsonObjectSupport
329
347
  end
330
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
+
331
361
  class PostProcessingStep
332
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
363
 
@@ -516,6 +546,15 @@ module Google
516
546
  end
517
547
  end
518
548
 
549
+ class AwsDiskDetails
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :disk_number, as: 'diskNumber'
553
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
554
+ property :volume_id, as: 'volumeId'
555
+ end
556
+ end
557
+
519
558
  class AwsSecurityGroup
520
559
  # @private
521
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -545,6 +584,8 @@ module Google
545
584
  # @private
546
585
  class Representation < Google::Apis::Core::JsonRepresentation
547
586
  property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
587
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::AwsDiskDetails, decorator: Google::Apis::VmmigrationV1::AwsDiskDetails::Representation
588
+
548
589
  property :firmware, as: 'firmware'
549
590
  end
550
591
  end
@@ -603,6 +644,8 @@ module Google
603
644
  class CloneJob
604
645
  # @private
605
646
  class Representation < Google::Apis::Core::JsonRepresentation
647
+ property :compute_engine_disks_target_details, as: 'computeEngineDisksTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails::Representation
648
+
606
649
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
607
650
 
608
651
  property :create_time, as: 'createTime'
@@ -631,6 +674,24 @@ module Google
631
674
  end
632
675
  end
633
676
 
677
+ class ComputeEngineDisksTargetDefaults
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::PersistentDiskDefaults, decorator: Google::Apis::VmmigrationV1::PersistentDiskDefaults::Representation
681
+
682
+ property :target_project, as: 'targetProject'
683
+ property :zone, as: 'zone'
684
+ end
685
+ end
686
+
687
+ class ComputeEngineDisksTargetDetails
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ collection :disks, as: 'disks', class: Google::Apis::VmmigrationV1::PersistentDisk, decorator: Google::Apis::VmmigrationV1::PersistentDisk::Representation
691
+
692
+ end
693
+ end
694
+
634
695
  class ComputeEngineTargetDefaults
635
696
  # @private
636
697
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -706,6 +767,8 @@ module Google
706
767
  class CutoverJob
707
768
  # @private
708
769
  class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :compute_engine_disks_target_details, as: 'computeEngineDisksTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails::Representation
771
+
709
772
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
710
773
 
711
774
  property :create_time, as: 'createTime'
@@ -807,6 +870,7 @@ module Google
807
870
  property :create_time, as: 'createTime'
808
871
  property :description, as: 'description'
809
872
  property :display_name, as: 'displayName'
873
+ property :migration_target_type, as: 'migrationTargetType'
810
874
  property :name, as: 'name'
811
875
  property :update_time, as: 'updateTime'
812
876
  end
@@ -964,6 +1028,8 @@ module Google
964
1028
  class Representation < Google::Apis::Core::JsonRepresentation
965
1029
  property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceVmDetails::Representation
966
1030
 
1031
+ property :compute_engine_disks_target_defaults, as: 'computeEngineDisksTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDefaults::Representation
1032
+
967
1033
  property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults::Representation
968
1034
 
969
1035
  property :create_time, as: 'createTime'
@@ -1064,6 +1130,24 @@ module Google
1064
1130
  end
1065
1131
  end
1066
1132
 
1133
+ class PersistentDisk
1134
+ # @private
1135
+ class Representation < Google::Apis::Core::JsonRepresentation
1136
+ property :disk_uri, as: 'diskUri'
1137
+ property :source_disk_number, as: 'sourceDiskNumber'
1138
+ end
1139
+ end
1140
+
1141
+ class PersistentDiskDefaults
1142
+ # @private
1143
+ class Representation < Google::Apis::Core::JsonRepresentation
1144
+ hash :additional_labels, as: 'additionalLabels'
1145
+ property :disk_name, as: 'diskName'
1146
+ property :disk_type, as: 'diskType'
1147
+ property :source_disk_number, as: 'sourceDiskNumber'
1148
+ end
1149
+ end
1150
+
1067
1151
  class PostProcessingStep
1068
1152
  # @private
1069
1153
  class Representation < Google::Apis::Core::JsonRepresentation
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.31.0
4
+ version: 0.33.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-14 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.33.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: []