google-apis-vmmigration_v1alpha1 0.4.0 → 0.5.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: 34f00990acba3bfa955b0040e3f003aed4d6d4ae076d0ed95610323ed32dc566
4
- data.tar.gz: d039986ad6ea751050d47104244621d828edfd7ff976ce5ef93f9df4667c3558
3
+ metadata.gz: d2111518de0efba7506ce8092b39739d7f640e1bc71c0a147146487bdc3e6d29
4
+ data.tar.gz: 9b6a34b6292695859ff4cacb4a206f952378fa4c6dafdee16e1a8735cba2474f
5
5
  SHA512:
6
- metadata.gz: c28ddda8b78bd667e31eaad13a0fe91fdf89e169009c0f1bcf4a7c604eb82411b0576b26ba38108bd27c44fa14d5e9de6ffd4a21ba43d81ee006b8032a06b3fa
7
- data.tar.gz: 503496c32a0dd735cd6e4ab03980b08ea537e6a3e672c42fa6ed9b959fe2905eb7d9652dd019aa52b0c7c750809abeaf97b5c798fe3057e2935b4a7a7fc1cf8a
6
+ metadata.gz: a1976c7e4c6f17608735bfa6497bf9c8dbaa7b3974f8d1628dc36a27994710ce9d2e87f5f7f327fd39032d780072477017b23992ada49f7e52062c3dc0183e09
7
+ data.tar.gz: af51ca12a6e3b95b8714572532f8e18c7f92c311e2eae738b3d2c8d35dcf97cc915d1e55b01d9c780cfda6ddbe8d44e606c326bcfa8470bb6dbba8375fca8dfb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.5.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220120
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.4.0 (2021-12-14)
4
9
 
5
10
  * Regenerated from discovery document revision 20211207
@@ -564,6 +564,49 @@ module Google
564
564
  end
565
565
  end
566
566
 
567
+ # CycleStep hold information about a step progress.
568
+ class CycleStep
569
+ include Google::Apis::Core::Hashable
570
+
571
+ # The time the cycle step has ended.
572
+ # Corresponds to the JSON property `endTime`
573
+ # @return [String]
574
+ attr_accessor :end_time
575
+
576
+ # InitializingReplicationStep contains specific step details.
577
+ # Corresponds to the JSON property `initializingReplication`
578
+ # @return [Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep]
579
+ attr_accessor :initializing_replication
580
+
581
+ # PostProcessingStep contains specific step details.
582
+ # Corresponds to the JSON property `postProcessing`
583
+ # @return [Google::Apis::VmmigrationV1alpha1::PostProcessingStep]
584
+ attr_accessor :post_processing
585
+
586
+ # ReplicatingStep contains specific step details.
587
+ # Corresponds to the JSON property `replicating`
588
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicatingStep]
589
+ attr_accessor :replicating
590
+
591
+ # The time the cycle step has started.
592
+ # Corresponds to the JSON property `startTime`
593
+ # @return [String]
594
+ attr_accessor :start_time
595
+
596
+ def initialize(**args)
597
+ update!(**args)
598
+ end
599
+
600
+ # Update properties of this object
601
+ def update!(**args)
602
+ @end_time = args[:end_time] if args.key?(:end_time)
603
+ @initializing_replication = args[:initializing_replication] if args.key?(:initializing_replication)
604
+ @post_processing = args[:post_processing] if args.key?(:post_processing)
605
+ @replicating = args[:replicating] if args.key?(:replicating)
606
+ @start_time = args[:start_time] if args.key?(:start_time)
607
+ end
608
+ end
609
+
567
610
  # DatacenterConnector message describes a connector between the Source and GCP,
568
611
  # which is installed on a vmware datacenter (an OVA vm installed by the user) to
569
612
  # connect the Datacenter to GCP and support vm migration data transfer.
@@ -750,6 +793,19 @@ module Google
750
793
  end
751
794
  end
752
795
 
796
+ # InitializingReplicationStep contains specific step details.
797
+ class InitializingReplicationStep
798
+ include Google::Apis::Core::Hashable
799
+
800
+ def initialize(**args)
801
+ update!(**args)
802
+ end
803
+
804
+ # Update properties of this object
805
+ def update!(**args)
806
+ end
807
+ end
808
+
753
809
  # Describes a URL link.
754
810
  class Link
755
811
  include Google::Apis::Core::Hashable
@@ -1522,6 +1578,19 @@ module Google
1522
1578
  end
1523
1579
  end
1524
1580
 
1581
+ # PostProcessingStep contains specific step details.
1582
+ class PostProcessingStep
1583
+ include Google::Apis::Core::Hashable
1584
+
1585
+ def initialize(**args)
1586
+ update!(**args)
1587
+ end
1588
+
1589
+ # Update properties of this object
1590
+ def update!(**args)
1591
+ end
1592
+ end
1593
+
1525
1594
  # Request message for 'RemoveMigration' request.
1526
1595
  class RemoveGroupMigrationRequest
1527
1596
  include Google::Apis::Core::Hashable
@@ -1541,11 +1610,53 @@ module Google
1541
1610
  end
1542
1611
  end
1543
1612
 
1613
+ # ReplicatingStep contains specific step details.
1614
+ class ReplicatingStep
1615
+ include Google::Apis::Core::Hashable
1616
+
1617
+ # The source disks replication rate for the last 30 minutes in bytes per second.
1618
+ # Corresponds to the JSON property `lastThirtyMinutesAverageBytesPerSecond`
1619
+ # @return [Fixnum]
1620
+ attr_accessor :last_thirty_minutes_average_bytes_per_second
1621
+
1622
+ # The source disks replication rate for the last 2 minutes in bytes per second.
1623
+ # Corresponds to the JSON property `lastTwoMinutesAverageBytesPerSecond`
1624
+ # @return [Fixnum]
1625
+ attr_accessor :last_two_minutes_average_bytes_per_second
1626
+
1627
+ # Replicated bytes in the step.
1628
+ # Corresponds to the JSON property `replicatedBytes`
1629
+ # @return [Fixnum]
1630
+ attr_accessor :replicated_bytes
1631
+
1632
+ # Total bytes to be handled in the step.
1633
+ # Corresponds to the JSON property `totalBytes`
1634
+ # @return [Fixnum]
1635
+ attr_accessor :total_bytes
1636
+
1637
+ def initialize(**args)
1638
+ update!(**args)
1639
+ end
1640
+
1641
+ # Update properties of this object
1642
+ def update!(**args)
1643
+ @last_thirty_minutes_average_bytes_per_second = args[:last_thirty_minutes_average_bytes_per_second] if args.key?(:last_thirty_minutes_average_bytes_per_second)
1644
+ @last_two_minutes_average_bytes_per_second = args[:last_two_minutes_average_bytes_per_second] if args.key?(:last_two_minutes_average_bytes_per_second)
1645
+ @replicated_bytes = args[:replicated_bytes] if args.key?(:replicated_bytes)
1646
+ @total_bytes = args[:total_bytes] if args.key?(:total_bytes)
1647
+ end
1648
+ end
1649
+
1544
1650
  # ReplicationCycle contains information about the current replication cycle
1545
1651
  # status.
1546
1652
  class ReplicationCycle
1547
1653
  include Google::Apis::Core::Hashable
1548
1654
 
1655
+ # The time the replication cycle has ended.
1656
+ # Corresponds to the JSON property `endTime`
1657
+ # @return [String]
1658
+ attr_accessor :end_time
1659
+
1549
1660
  # The current progress in percentage of this cycle.
1550
1661
  # Corresponds to the JSON property `progress`
1551
1662
  # @return [Fixnum]
@@ -1561,15 +1672,28 @@ module Google
1561
1672
  # @return [String]
1562
1673
  attr_accessor :start_time
1563
1674
 
1675
+ # The cycle's steps list reflecting its progress.
1676
+ # Corresponds to the JSON property `steps`
1677
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::CycleStep>]
1678
+ attr_accessor :steps
1679
+
1680
+ # The accumulated duration the replication cycle was paused.
1681
+ # Corresponds to the JSON property `totalPauseDuration`
1682
+ # @return [String]
1683
+ attr_accessor :total_pause_duration
1684
+
1564
1685
  def initialize(**args)
1565
1686
  update!(**args)
1566
1687
  end
1567
1688
 
1568
1689
  # Update properties of this object
1569
1690
  def update!(**args)
1691
+ @end_time = args[:end_time] if args.key?(:end_time)
1570
1692
  @progress = args[:progress] if args.key?(:progress)
1571
1693
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
1572
1694
  @start_time = args[:start_time] if args.key?(:start_time)
1695
+ @steps = args[:steps] if args.key?(:steps)
1696
+ @total_pause_duration = args[:total_pause_duration] if args.key?(:total_pause_duration)
1573
1697
  end
1574
1698
  end
1575
1699
 
@@ -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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211207"
25
+ REVISION = "20220120"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class CycleStep
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class DatacenterConnector
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -112,6 +118,12 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class InitializingReplicationStep
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
115
127
  class Link
116
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
129
 
@@ -226,12 +238,24 @@ module Google
226
238
  include Google::Apis::Core::JsonObjectSupport
227
239
  end
228
240
 
241
+ class PostProcessingStep
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
229
247
  class RemoveGroupMigrationRequest
230
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
249
 
232
250
  include Google::Apis::Core::JsonObjectSupport
233
251
  end
234
252
 
253
+ class ReplicatingStep
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
235
259
  class ReplicationCycle
236
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
261
 
@@ -464,6 +488,20 @@ module Google
464
488
  end
465
489
  end
466
490
 
491
+ class CycleStep
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :end_time, as: 'endTime'
495
+ property :initializing_replication, as: 'initializingReplication', class: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep, decorator: Google::Apis::VmmigrationV1alpha1::InitializingReplicationStep::Representation
496
+
497
+ property :post_processing, as: 'postProcessing', class: Google::Apis::VmmigrationV1alpha1::PostProcessingStep, decorator: Google::Apis::VmmigrationV1alpha1::PostProcessingStep::Representation
498
+
499
+ property :replicating, as: 'replicating', class: Google::Apis::VmmigrationV1alpha1::ReplicatingStep, decorator: Google::Apis::VmmigrationV1alpha1::ReplicatingStep::Representation
500
+
501
+ property :start_time, as: 'startTime'
502
+ end
503
+ end
504
+
467
505
  class DatacenterConnector
468
506
  # @private
469
507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -513,6 +551,12 @@ module Google
513
551
  end
514
552
  end
515
553
 
554
+ class InitializingReplicationStep
555
+ # @private
556
+ class Representation < Google::Apis::Core::JsonRepresentation
557
+ end
558
+ end
559
+
516
560
  class Link
517
561
  # @private
518
562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -727,6 +771,12 @@ module Google
727
771
  end
728
772
  end
729
773
 
774
+ class PostProcessingStep
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ end
778
+ end
779
+
730
780
  class RemoveGroupMigrationRequest
731
781
  # @private
732
782
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -734,12 +784,26 @@ module Google
734
784
  end
735
785
  end
736
786
 
787
+ class ReplicatingStep
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :last_thirty_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastThirtyMinutesAverageBytesPerSecond'
791
+ property :last_two_minutes_average_bytes_per_second, :numeric_string => true, as: 'lastTwoMinutesAverageBytesPerSecond'
792
+ property :replicated_bytes, :numeric_string => true, as: 'replicatedBytes'
793
+ property :total_bytes, :numeric_string => true, as: 'totalBytes'
794
+ end
795
+ end
796
+
737
797
  class ReplicationCycle
738
798
  # @private
739
799
  class Representation < Google::Apis::Core::JsonRepresentation
800
+ property :end_time, as: 'endTime'
740
801
  property :progress, as: 'progress'
741
802
  property :progress_percent, as: 'progressPercent'
742
803
  property :start_time, as: 'startTime'
804
+ collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CycleStep, decorator: Google::Apis::VmmigrationV1alpha1::CycleStep::Representation
805
+
806
+ property :total_pause_duration, as: 'totalPauseDuration'
743
807
  end
744
808
  end
745
809
 
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.4.0
4
+ version: 0.5.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.5.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for VM Migration API V1alpha1