google-apis-vmmigration_v1 0.3.0 → 0.4.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: 36cd4440f4404dbd9e758e328f45fd2e7d6df06e9d66779c00c7fadf98262867
4
- data.tar.gz: b9cb97afdda3df1771ddfa3069089a36fcd169ae2e9e5edb695dc111e777037e
3
+ metadata.gz: b17590144a41ded8ad3f94cf11ba873925ef18f5ba63f590544e1cc62da376df
4
+ data.tar.gz: e00bf808348d52bbb8a0ad955ce02072052672c87fd0ec874ee53c47de2e3d1c
5
5
  SHA512:
6
- metadata.gz: 44f872d724fba46909fecc8a90533ab1f84c7874a45465dd594d520d96cfe5dc5d1d08780d741d803c30d4e0573453a2336d4efd1a2875df5fecaeef33f233f8
7
- data.tar.gz: d5d2a15202a2d9ae8c247d169f04908be99ee9dc1397f62a99e87e6c13bae0a6ecb541cc236b9b62af4e2d9c23646c2d076b0624ffce03f38c1cdb0b451cfe57
6
+ metadata.gz: c3fb69b03a7e43affb1efa1194559cba16021fae9926cb2bdd3e1247b174502ea3a43f6b52c1c952e4cfe99a34c1797be96e6942e2ae97998d261bf7c1346204
7
+ data.tar.gz: 71ab5e58e0293984418251b66f04fff14fd8e02f5bb82513d925066910733a3ba7776abbce55ad1e695180cbaf8523a13169bf93444d67a9ec18f1111b2c4f93
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.4.0 (2021-12-05)
4
+
5
+ * Regenerated from discovery document revision 20211130
6
+
3
7
  ### v0.3.0 (2021-10-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20211021
@@ -41,6 +41,19 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
+ # Response message for 'AddGroupMigration' request.
45
+ class AddGroupMigrationResponse
46
+ include Google::Apis::Core::Hashable
47
+
48
+ def initialize(**args)
49
+ update!(**args)
50
+ end
51
+
52
+ # Update properties of this object
53
+ def update!(**args)
54
+ end
55
+ end
56
+
44
57
  # AppliedLicense holds the license data returned by adaptation module report.
45
58
  class AppliedLicense
46
59
  include Google::Apis::Core::Hashable
@@ -79,6 +92,19 @@ module Google
79
92
  end
80
93
  end
81
94
 
95
+ # Response message for 'CancelCloneJob' request.
96
+ class CancelCloneJobResponse
97
+ include Google::Apis::Core::Hashable
98
+
99
+ def initialize(**args)
100
+ update!(**args)
101
+ end
102
+
103
+ # Update properties of this object
104
+ def update!(**args)
105
+ end
106
+ end
107
+
82
108
  # Request message for 'CancelCutoverJob' request.
83
109
  class CancelCutoverJobRequest
84
110
  include Google::Apis::Core::Hashable
@@ -92,6 +118,19 @@ module Google
92
118
  end
93
119
  end
94
120
 
121
+ # Response message for 'CancelCutoverJob' request.
122
+ class CancelCutoverJobResponse
123
+ include Google::Apis::Core::Hashable
124
+
125
+ def initialize(**args)
126
+ update!(**args)
127
+ end
128
+
129
+ # Update properties of this object
130
+ def update!(**args)
131
+ end
132
+ end
133
+
95
134
  # The request message for Operations.CancelOperation.
96
135
  class CancelOperationRequest
97
136
  include Google::Apis::Core::Hashable
@@ -653,6 +692,19 @@ module Google
653
692
  end
654
693
  end
655
694
 
695
+ # Response message for 'FinalizeMigration' request.
696
+ class FinalizeMigrationResponse
697
+ include Google::Apis::Core::Hashable
698
+
699
+ def initialize(**args)
700
+ update!(**args)
701
+ end
702
+
703
+ # Update properties of this object
704
+ def update!(**args)
705
+ end
706
+ end
707
+
656
708
  # Describes message for 'Group' resource. The Group is a collections of several
657
709
  # MigratingVms.
658
710
  class Group
@@ -1171,6 +1223,22 @@ module Google
1171
1223
  # @return [Google::Apis::VmmigrationV1::SchedulePolicy]
1172
1224
  attr_accessor :policy
1173
1225
 
1226
+ # Output only. The recent clone jobs performed on the migrating VM. This field
1227
+ # holds the vm's last completed clone job and the vm's running clone job, if one
1228
+ # exists. Note: To have this field populated you need to explicitly request it
1229
+ # via the "view" parameter of the Get/List request.
1230
+ # Corresponds to the JSON property `recentCloneJobs`
1231
+ # @return [Array<Google::Apis::VmmigrationV1::CloneJob>]
1232
+ attr_accessor :recent_clone_jobs
1233
+
1234
+ # Output only. The recent cutover jobs performed on the migrating VM. This field
1235
+ # holds the vm's last completed cutover job and the vm's running cutover job, if
1236
+ # one exists. Note: To have this field populated you need to explicitly request
1237
+ # it via the "view" parameter of the Get/List request.
1238
+ # Corresponds to the JSON property `recentCutoverJobs`
1239
+ # @return [Array<Google::Apis::VmmigrationV1::CutoverJob>]
1240
+ attr_accessor :recent_cutover_jobs
1241
+
1174
1242
  # The unique ID of the VM in the source. The VM's name in vSphere can be changed,
1175
1243
  # so this is not the VM's name but rather its moRef id. This id is of the form
1176
1244
  # vm-.
@@ -1210,6 +1278,8 @@ module Google
1210
1278
  @last_sync = args[:last_sync] if args.key?(:last_sync)
1211
1279
  @name = args[:name] if args.key?(:name)
1212
1280
  @policy = args[:policy] if args.key?(:policy)
1281
+ @recent_clone_jobs = args[:recent_clone_jobs] if args.key?(:recent_clone_jobs)
1282
+ @recent_cutover_jobs = args[:recent_cutover_jobs] if args.key?(:recent_cutover_jobs)
1213
1283
  @source_vm_id = args[:source_vm_id] if args.key?(:source_vm_id)
1214
1284
  @state = args[:state] if args.key?(:state)
1215
1285
  @state_time = args[:state_time] if args.key?(:state_time)
@@ -1437,6 +1507,19 @@ module Google
1437
1507
  end
1438
1508
  end
1439
1509
 
1510
+ # Response message for 'PauseMigration' request.
1511
+ class PauseMigrationResponse
1512
+ include Google::Apis::Core::Hashable
1513
+
1514
+ def initialize(**args)
1515
+ update!(**args)
1516
+ end
1517
+
1518
+ # Update properties of this object
1519
+ def update!(**args)
1520
+ end
1521
+ end
1522
+
1440
1523
  # Request message for 'RemoveMigration' request.
1441
1524
  class RemoveGroupMigrationRequest
1442
1525
  include Google::Apis::Core::Hashable
@@ -1456,6 +1539,19 @@ module Google
1456
1539
  end
1457
1540
  end
1458
1541
 
1542
+ # Response message for 'RemoveMigration' request.
1543
+ class RemoveGroupMigrationResponse
1544
+ include Google::Apis::Core::Hashable
1545
+
1546
+ def initialize(**args)
1547
+ update!(**args)
1548
+ end
1549
+
1550
+ # Update properties of this object
1551
+ def update!(**args)
1552
+ end
1553
+ end
1554
+
1459
1555
  # ReplicationCycle contains information about the current replication cycle
1460
1556
  # status.
1461
1557
  class ReplicationCycle
@@ -1514,6 +1610,19 @@ module Google
1514
1610
  end
1515
1611
  end
1516
1612
 
1613
+ # Response message for 'ResumeMigration' request.
1614
+ class ResumeMigrationResponse
1615
+ include Google::Apis::Core::Hashable
1616
+
1617
+ def initialize(**args)
1618
+ update!(**args)
1619
+ end
1620
+
1621
+ # Update properties of this object
1622
+ def update!(**args)
1623
+ end
1624
+ end
1625
+
1517
1626
  # A policy for scheduling replications.
1518
1627
  class SchedulePolicy
1519
1628
  include Google::Apis::Core::Hashable
@@ -1639,6 +1748,19 @@ module Google
1639
1748
  end
1640
1749
  end
1641
1750
 
1751
+ # Response message for 'StartMigration' request.
1752
+ class StartMigrationResponse
1753
+ include Google::Apis::Core::Hashable
1754
+
1755
+ def initialize(**args)
1756
+ update!(**args)
1757
+ end
1758
+
1759
+ # Update properties of this object
1760
+ def update!(**args)
1761
+ end
1762
+ end
1763
+
1642
1764
  # The `Status` type defines a logical error model that is suitable for different
1643
1765
  # programming environments, including REST APIs and RPC APIs. It is used by [
1644
1766
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211021"
25
+ REVISION = "20211130"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AddGroupMigrationResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AppliedLicense
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -40,12 +46,24 @@ module Google
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class CancelCloneJobResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class CancelCutoverJobRequest
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class CancelCutoverJobResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
49
67
  class CancelOperationRequest
50
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
69
 
@@ -106,6 +124,12 @@ module Google
106
124
  include Google::Apis::Core::JsonObjectSupport
107
125
  end
108
126
 
127
+ class FinalizeMigrationResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
109
133
  class Group
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
@@ -226,12 +250,24 @@ module Google
226
250
  include Google::Apis::Core::JsonObjectSupport
227
251
  end
228
252
 
253
+ class PauseMigrationResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
229
259
  class RemoveGroupMigrationRequest
230
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
261
 
232
262
  include Google::Apis::Core::JsonObjectSupport
233
263
  end
234
264
 
265
+ class RemoveGroupMigrationResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
235
271
  class ReplicationCycle
236
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
273
 
@@ -250,6 +286,12 @@ module Google
250
286
  include Google::Apis::Core::JsonObjectSupport
251
287
  end
252
288
 
289
+ class ResumeMigrationResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
253
295
  class SchedulePolicy
254
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
297
 
@@ -274,6 +316,12 @@ module Google
274
316
  include Google::Apis::Core::JsonObjectSupport
275
317
  end
276
318
 
319
+ class StartMigrationResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
277
325
  class Status
278
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
327
 
@@ -329,6 +377,12 @@ module Google
329
377
  end
330
378
  end
331
379
 
380
+ class AddGroupMigrationResponse
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ end
384
+ end
385
+
332
386
  class AppliedLicense
333
387
  # @private
334
388
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -343,12 +397,24 @@ module Google
343
397
  end
344
398
  end
345
399
 
400
+ class CancelCloneJobResponse
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ end
404
+ end
405
+
346
406
  class CancelCutoverJobRequest
347
407
  # @private
348
408
  class Representation < Google::Apis::Core::JsonRepresentation
349
409
  end
350
410
  end
351
411
 
412
+ class CancelCutoverJobResponse
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ end
416
+ end
417
+
352
418
  class CancelOperationRequest
353
419
  # @private
354
420
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -484,6 +550,12 @@ module Google
484
550
  end
485
551
  end
486
552
 
553
+ class FinalizeMigrationResponse
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ end
557
+ end
558
+
487
559
  class Group
488
560
  # @private
489
561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -639,6 +711,10 @@ module Google
639
711
  property :name, as: 'name'
640
712
  property :policy, as: 'policy', class: Google::Apis::VmmigrationV1::SchedulePolicy, decorator: Google::Apis::VmmigrationV1::SchedulePolicy::Representation
641
713
 
714
+ collection :recent_clone_jobs, as: 'recentCloneJobs', class: Google::Apis::VmmigrationV1::CloneJob, decorator: Google::Apis::VmmigrationV1::CloneJob::Representation
715
+
716
+ collection :recent_cutover_jobs, as: 'recentCutoverJobs', class: Google::Apis::VmmigrationV1::CutoverJob, decorator: Google::Apis::VmmigrationV1::CutoverJob::Representation
717
+
642
718
  property :source_vm_id, as: 'sourceVmId'
643
719
  property :state, as: 'state'
644
720
  property :state_time, as: 'stateTime'
@@ -701,6 +777,12 @@ module Google
701
777
  end
702
778
  end
703
779
 
780
+ class PauseMigrationResponse
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ end
784
+ end
785
+
704
786
  class RemoveGroupMigrationRequest
705
787
  # @private
706
788
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -708,6 +790,12 @@ module Google
708
790
  end
709
791
  end
710
792
 
793
+ class RemoveGroupMigrationResponse
794
+ # @private
795
+ class Representation < Google::Apis::Core::JsonRepresentation
796
+ end
797
+ end
798
+
711
799
  class ReplicationCycle
712
800
  # @private
713
801
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -729,6 +817,12 @@ module Google
729
817
  end
730
818
  end
731
819
 
820
+ class ResumeMigrationResponse
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ end
824
+ end
825
+
732
826
  class SchedulePolicy
733
827
  # @private
734
828
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -765,6 +859,12 @@ module Google
765
859
  end
766
860
  end
767
861
 
862
+ class StartMigrationResponse
863
+ # @private
864
+ class Representation < Google::Apis::Core::JsonRepresentation
865
+ end
866
+ end
867
+
768
868
  class Status
769
869
  # @private
770
870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1096,6 +1096,8 @@ module Google
1096
1096
  # Gets details of a single MigratingVm.
1097
1097
  # @param [String] name
1098
1098
  # Required. The name of the MigratingVm.
1099
+ # @param [String] view
1100
+ # Optional. The level of details of the migrating VM.
1099
1101
  # @param [String] fields
1100
1102
  # Selector specifying which fields to include in a partial response.
1101
1103
  # @param [String] quota_user
@@ -1113,11 +1115,12 @@ module Google
1113
1115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1114
1116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1115
1117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1116
- def get_project_location_source_migrating_vm(name, fields: nil, quota_user: nil, options: nil, &block)
1118
+ def get_project_location_source_migrating_vm(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1117
1119
  command = make_simple_command(:get, 'v1/{+name}', options)
1118
1120
  command.response_representation = Google::Apis::VmmigrationV1::MigratingVm::Representation
1119
1121
  command.response_class = Google::Apis::VmmigrationV1::MigratingVm
1120
1122
  command.params['name'] = name unless name.nil?
1123
+ command.query['view'] = view unless view.nil?
1121
1124
  command.query['fields'] = fields unless fields.nil?
1122
1125
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1123
1126
  execute_or_queue_command(command, &block)
@@ -1140,6 +1143,8 @@ module Google
1140
1143
  # Provide this to retrieve the subsequent page. When paginating, all other
1141
1144
  # parameters provided to `ListMigratingVms` must match the call that provided
1142
1145
  # the page token.
1146
+ # @param [String] view
1147
+ # Optional. The level of details of each migrating VM.
1143
1148
  # @param [String] fields
1144
1149
  # Selector specifying which fields to include in a partial response.
1145
1150
  # @param [String] quota_user
@@ -1157,7 +1162,7 @@ module Google
1157
1162
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1158
1163
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1159
1164
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1160
- def list_project_location_source_migrating_vms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1165
+ def list_project_location_source_migrating_vms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1161
1166
  command = make_simple_command(:get, 'v1/{+parent}/migratingVms', options)
1162
1167
  command.response_representation = Google::Apis::VmmigrationV1::ListMigratingVmsResponse::Representation
1163
1168
  command.response_class = Google::Apis::VmmigrationV1::ListMigratingVmsResponse
@@ -1166,6 +1171,7 @@ module Google
1166
1171
  command.query['orderBy'] = order_by unless order_by.nil?
1167
1172
  command.query['pageSize'] = page_size unless page_size.nil?
1168
1173
  command.query['pageToken'] = page_token unless page_token.nil?
1174
+ command.query['view'] = view unless view.nil?
1169
1175
  command.query['fields'] = fields unless fields.nil?
1170
1176
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1171
1177
  execute_or_queue_command(command, &block)
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.3.0
4
+ version: 0.4.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: 2021-11-01 00:00:00.000000000 Z
11
+ date: 2021-12-06 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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.4.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: []