google-apis-vmmigration_v1alpha1 0.5.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +171 -122
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +69 -63
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +36 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25a5b9f52accfbe5ccecfcae2218e95912887ce1ae00d39ca82c99d821f82054
|
4
|
+
data.tar.gz: d5e2c037b81f13fe0c20c088f01c876b7444a597142413b120f1289f07e72ba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7b1498d347e1c330b793c0b542072a13975f96e112c2e1ecb7fa226612777e2681537048c9698a90ea27238c98e6abf77486544f4dc8dbc1e79365717200002
|
7
|
+
data.tar.gz: ba2be2168ea00dccd2157a950611785c67f7b6a89a541a2898183346a21d576677f197a156394a664a0a3ea6076ff3809a63c81c3f890f83e77448d57f445cae
|
data/CHANGELOG.md
CHANGED
@@ -41,6 +41,44 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
# Describes an appliance version.
|
45
|
+
class ApplianceVersion
|
46
|
+
include Google::Apis::Core::Hashable
|
47
|
+
|
48
|
+
# Determine whether it's critical to upgrade the appliance to this version.
|
49
|
+
# Corresponds to the JSON property `critical`
|
50
|
+
# @return [Boolean]
|
51
|
+
attr_accessor :critical
|
52
|
+
alias_method :critical?, :critical
|
53
|
+
|
54
|
+
# Link to a page that contains the version release notes.
|
55
|
+
# Corresponds to the JSON property `releaseNotesUri`
|
56
|
+
# @return [String]
|
57
|
+
attr_accessor :release_notes_uri
|
58
|
+
|
59
|
+
# A link for downloading the version.
|
60
|
+
# Corresponds to the JSON property `uri`
|
61
|
+
# @return [String]
|
62
|
+
attr_accessor :uri
|
63
|
+
|
64
|
+
# The appliance version.
|
65
|
+
# Corresponds to the JSON property `version`
|
66
|
+
# @return [String]
|
67
|
+
attr_accessor :version
|
68
|
+
|
69
|
+
def initialize(**args)
|
70
|
+
update!(**args)
|
71
|
+
end
|
72
|
+
|
73
|
+
# Update properties of this object
|
74
|
+
def update!(**args)
|
75
|
+
@critical = args[:critical] if args.key?(:critical)
|
76
|
+
@release_notes_uri = args[:release_notes_uri] if args.key?(:release_notes_uri)
|
77
|
+
@uri = args[:uri] if args.key?(:uri)
|
78
|
+
@version = args[:version] if args.key?(:version)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
44
82
|
# AppliedLicense holds the license data returned by adaptation module report.
|
45
83
|
class AppliedLicense
|
46
84
|
include Google::Apis::Core::Hashable
|
@@ -66,6 +104,31 @@ module Google
|
|
66
104
|
end
|
67
105
|
end
|
68
106
|
|
107
|
+
# Holds informatiom about the available versions for upgrade.
|
108
|
+
class AvailableUpdates
|
109
|
+
include Google::Apis::Core::Hashable
|
110
|
+
|
111
|
+
# Describes an appliance version.
|
112
|
+
# Corresponds to the JSON property `inPlaceUpdate`
|
113
|
+
# @return [Google::Apis::VmmigrationV1alpha1::ApplianceVersion]
|
114
|
+
attr_accessor :in_place_update
|
115
|
+
|
116
|
+
# Describes an appliance version.
|
117
|
+
# Corresponds to the JSON property `newDeployableAppliance`
|
118
|
+
# @return [Google::Apis::VmmigrationV1alpha1::ApplianceVersion]
|
119
|
+
attr_accessor :new_deployable_appliance
|
120
|
+
|
121
|
+
def initialize(**args)
|
122
|
+
update!(**args)
|
123
|
+
end
|
124
|
+
|
125
|
+
# Update properties of this object
|
126
|
+
def update!(**args)
|
127
|
+
@in_place_update = args[:in_place_update] if args.key?(:in_place_update)
|
128
|
+
@new_deployable_appliance = args[:new_deployable_appliance] if args.key?(:new_deployable_appliance)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
69
132
|
# Request message for 'CancelCloneJob' request.
|
70
133
|
class CancelCloneJobRequest
|
71
134
|
include Google::Apis::Core::Hashable
|
@@ -145,7 +208,7 @@ module Google
|
|
145
208
|
# @return [Google::Apis::VmmigrationV1alpha1::Status]
|
146
209
|
attr_accessor :error
|
147
210
|
|
148
|
-
# The name of the clone.
|
211
|
+
# Output only. The name of the clone.
|
149
212
|
# Corresponds to the JSON property `name`
|
150
213
|
# @return [String]
|
151
214
|
attr_accessor :name
|
@@ -564,54 +627,29 @@ module Google
|
|
564
627
|
end
|
565
628
|
end
|
566
629
|
|
567
|
-
#
|
568
|
-
|
630
|
+
# DatacenterConnector message describes a connector between the Source and GCP,
|
631
|
+
# which is installed on a vmware datacenter (an OVA vm installed by the user) to
|
632
|
+
# connect the Datacenter to GCP and support vm migration data transfer.
|
633
|
+
class DatacenterConnector
|
569
634
|
include Google::Apis::Core::Hashable
|
570
635
|
|
571
|
-
#
|
572
|
-
#
|
636
|
+
# Output only. Appliance OVA version. This is the OVA which is manually
|
637
|
+
# installed by the user and contains the infrastructure for the automatically
|
638
|
+
# updatable components on the appliance.
|
639
|
+
# Corresponds to the JSON property `applianceInfrastructureVersion`
|
573
640
|
# @return [String]
|
574
|
-
attr_accessor :
|
641
|
+
attr_accessor :appliance_infrastructure_version
|
575
642
|
|
576
|
-
#
|
577
|
-
#
|
578
|
-
#
|
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`
|
643
|
+
# Output only. Appliance last installed update bundle version. This is the
|
644
|
+
# version of the automatically updatable components on the appliance.
|
645
|
+
# Corresponds to the JSON property `applianceSoftwareVersion`
|
593
646
|
# @return [String]
|
594
|
-
attr_accessor :
|
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
|
647
|
+
attr_accessor :appliance_software_version
|
609
648
|
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
include Google::Apis::Core::Hashable
|
649
|
+
# Holds informatiom about the available versions for upgrade.
|
650
|
+
# Corresponds to the JSON property `availableVersions`
|
651
|
+
# @return [Google::Apis::VmmigrationV1alpha1::AvailableUpdates]
|
652
|
+
attr_accessor :available_versions
|
615
653
|
|
616
654
|
# Output only. The communication channel between the datacenter connector and
|
617
655
|
# GCP.
|
@@ -668,6 +706,11 @@ module Google
|
|
668
706
|
# @return [String]
|
669
707
|
attr_accessor :update_time
|
670
708
|
|
709
|
+
# UpgradeStatus contains information about upgradeAppliance operation.
|
710
|
+
# Corresponds to the JSON property `upgradeStatus`
|
711
|
+
# @return [Google::Apis::VmmigrationV1alpha1::UpgradeStatus]
|
712
|
+
attr_accessor :upgrade_status
|
713
|
+
|
671
714
|
# The version running in the DatacenterConnector. This is supplied by the OVA
|
672
715
|
# connector during the registration process and can not be modified.
|
673
716
|
# Corresponds to the JSON property `version`
|
@@ -680,6 +723,9 @@ module Google
|
|
680
723
|
|
681
724
|
# Update properties of this object
|
682
725
|
def update!(**args)
|
726
|
+
@appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
|
727
|
+
@appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
|
728
|
+
@available_versions = args[:available_versions] if args.key?(:available_versions)
|
683
729
|
@bucket = args[:bucket] if args.key?(:bucket)
|
684
730
|
@create_time = args[:create_time] if args.key?(:create_time)
|
685
731
|
@error = args[:error] if args.key?(:error)
|
@@ -689,6 +735,7 @@ module Google
|
|
689
735
|
@state = args[:state] if args.key?(:state)
|
690
736
|
@state_time = args[:state_time] if args.key?(:state_time)
|
691
737
|
@update_time = args[:update_time] if args.key?(:update_time)
|
738
|
+
@upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
|
692
739
|
@version = args[:version] if args.key?(:version)
|
693
740
|
end
|
694
741
|
end
|
@@ -769,7 +816,7 @@ module Google
|
|
769
816
|
# @return [String]
|
770
817
|
attr_accessor :display_name
|
771
818
|
|
772
|
-
# The Group name.
|
819
|
+
# Output only. The Group name.
|
773
820
|
# Corresponds to the JSON property `name`
|
774
821
|
# @return [String]
|
775
822
|
attr_accessor :name
|
@@ -793,19 +840,6 @@ module Google
|
|
793
840
|
end
|
794
841
|
end
|
795
842
|
|
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
|
-
|
809
843
|
# Describes a URL link.
|
810
844
|
class Link
|
811
845
|
include Google::Apis::Core::Hashable
|
@@ -1578,19 +1612,6 @@ module Google
|
|
1578
1612
|
end
|
1579
1613
|
end
|
1580
1614
|
|
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
|
-
|
1594
1615
|
# Request message for 'RemoveMigration' request.
|
1595
1616
|
class RemoveGroupMigrationRequest
|
1596
1617
|
include Google::Apis::Core::Hashable
|
@@ -1610,53 +1631,11 @@ module Google
|
|
1610
1631
|
end
|
1611
1632
|
end
|
1612
1633
|
|
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
|
-
|
1650
1634
|
# ReplicationCycle contains information about the current replication cycle
|
1651
1635
|
# status.
|
1652
1636
|
class ReplicationCycle
|
1653
1637
|
include Google::Apis::Core::Hashable
|
1654
1638
|
|
1655
|
-
# The time the replication cycle has ended.
|
1656
|
-
# Corresponds to the JSON property `endTime`
|
1657
|
-
# @return [String]
|
1658
|
-
attr_accessor :end_time
|
1659
|
-
|
1660
1639
|
# The current progress in percentage of this cycle.
|
1661
1640
|
# Corresponds to the JSON property `progress`
|
1662
1641
|
# @return [Fixnum]
|
@@ -1672,11 +1651,6 @@ module Google
|
|
1672
1651
|
# @return [String]
|
1673
1652
|
attr_accessor :start_time
|
1674
1653
|
|
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
1654
|
# The accumulated duration the replication cycle was paused.
|
1681
1655
|
# Corresponds to the JSON property `totalPauseDuration`
|
1682
1656
|
# @return [String]
|
@@ -1688,11 +1662,9 @@ module Google
|
|
1688
1662
|
|
1689
1663
|
# Update properties of this object
|
1690
1664
|
def update!(**args)
|
1691
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1692
1665
|
@progress = args[:progress] if args.key?(:progress)
|
1693
1666
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
1694
1667
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1695
|
-
@steps = args[:steps] if args.key?(:steps)
|
1696
1668
|
@total_pause_duration = args[:total_pause_duration] if args.key?(:total_pause_duration)
|
1697
1669
|
end
|
1698
1670
|
end
|
@@ -1920,7 +1892,7 @@ module Google
|
|
1920
1892
|
# @return [String]
|
1921
1893
|
attr_accessor :description
|
1922
1894
|
|
1923
|
-
# The name of the target project.
|
1895
|
+
# Output only. The name of the target project.
|
1924
1896
|
# Corresponds to the JSON property `name`
|
1925
1897
|
# @return [String]
|
1926
1898
|
attr_accessor :name
|
@@ -2094,6 +2066,82 @@ module Google
|
|
2094
2066
|
end
|
2095
2067
|
end
|
2096
2068
|
|
2069
|
+
# Request message for 'UpgradeAppliance' request.
|
2070
|
+
class UpgradeApplianceRequest
|
2071
|
+
include Google::Apis::Core::Hashable
|
2072
|
+
|
2073
|
+
# A request ID to identify requests. Specify a unique request ID so that if you
|
2074
|
+
# must retry your request, the server will know to ignore the request if it has
|
2075
|
+
# already been completed. The server will guarantee that for at least 60 minutes
|
2076
|
+
# after the first request. For example, consider a situation where you make an
|
2077
|
+
# initial request and t he request times out. If you make the request again with
|
2078
|
+
# the same request ID, the server can check if original operation with the same
|
2079
|
+
# request ID was received, and if so, will ignore the second request. This
|
2080
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
2081
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
2082
|
+
# 00000000-0000-0000-0000-000000000000).
|
2083
|
+
# Corresponds to the JSON property `requestId`
|
2084
|
+
# @return [String]
|
2085
|
+
attr_accessor :request_id
|
2086
|
+
|
2087
|
+
def initialize(**args)
|
2088
|
+
update!(**args)
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# Update properties of this object
|
2092
|
+
def update!(**args)
|
2093
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2094
|
+
end
|
2095
|
+
end
|
2096
|
+
|
2097
|
+
# UpgradeStatus contains information about upgradeAppliance operation.
|
2098
|
+
class UpgradeStatus
|
2099
|
+
include Google::Apis::Core::Hashable
|
2100
|
+
|
2101
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2102
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2103
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2104
|
+
# data: error code, error message, and error details. You can find out more
|
2105
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2106
|
+
# //cloud.google.com/apis/design/errors).
|
2107
|
+
# Corresponds to the JSON property `error`
|
2108
|
+
# @return [Google::Apis::VmmigrationV1alpha1::Status]
|
2109
|
+
attr_accessor :error
|
2110
|
+
|
2111
|
+
# The version from which we upgraded.
|
2112
|
+
# Corresponds to the JSON property `previousVersion`
|
2113
|
+
# @return [String]
|
2114
|
+
attr_accessor :previous_version
|
2115
|
+
|
2116
|
+
# The time the operation was started.
|
2117
|
+
# Corresponds to the JSON property `startTime`
|
2118
|
+
# @return [String]
|
2119
|
+
attr_accessor :start_time
|
2120
|
+
|
2121
|
+
# The state of the upgradeAppliance operation.
|
2122
|
+
# Corresponds to the JSON property `state`
|
2123
|
+
# @return [String]
|
2124
|
+
attr_accessor :state
|
2125
|
+
|
2126
|
+
# The version to upgrade to.
|
2127
|
+
# Corresponds to the JSON property `version`
|
2128
|
+
# @return [String]
|
2129
|
+
attr_accessor :version
|
2130
|
+
|
2131
|
+
def initialize(**args)
|
2132
|
+
update!(**args)
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
# Update properties of this object
|
2136
|
+
def update!(**args)
|
2137
|
+
@error = args[:error] if args.key?(:error)
|
2138
|
+
@previous_version = args[:previous_version] if args.key?(:previous_version)
|
2139
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
2140
|
+
@state = args[:state] if args.key?(:state)
|
2141
|
+
@version = args[:version] if args.key?(:version)
|
2142
|
+
end
|
2143
|
+
end
|
2144
|
+
|
2097
2145
|
# Utilization report details the utilization (CPU, memory, etc.) of selected
|
2098
2146
|
# source VMs.
|
2099
2147
|
class UtilizationReport
|
@@ -2412,8 +2460,9 @@ module Google
|
|
2412
2460
|
# @return [String]
|
2413
2461
|
attr_accessor :display_name
|
2414
2462
|
|
2415
|
-
# The VM's OS. See for example https://
|
2416
|
-
#
|
2463
|
+
# The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
|
2464
|
+
# public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
|
2465
|
+
# 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
|
2417
2466
|
# strings this might hold.
|
2418
2467
|
# Corresponds to the JSON property `guestDescription`
|
2419
2468
|
# @return [String]
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,12 +28,24 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class ApplianceVersion
|
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
|
|
34
40
|
include Google::Apis::Core::JsonObjectSupport
|
35
41
|
end
|
36
42
|
|
43
|
+
class AvailableUpdates
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class CancelCloneJobRequest
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -82,12 +94,6 @@ module Google
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
83
95
|
end
|
84
96
|
|
85
|
-
class CycleStep
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
97
|
class DatacenterConnector
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -118,12 +124,6 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
121
|
-
class InitializingReplicationStep
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
127
|
class Link
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
@@ -238,24 +238,12 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
-
class PostProcessingStep
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
245
|
-
end
|
246
|
-
|
247
241
|
class RemoveGroupMigrationRequest
|
248
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
243
|
|
250
244
|
include Google::Apis::Core::JsonObjectSupport
|
251
245
|
end
|
252
246
|
|
253
|
-
class ReplicatingStep
|
254
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
-
|
256
|
-
include Google::Apis::Core::JsonObjectSupport
|
257
|
-
end
|
258
|
-
|
259
247
|
class ReplicationCycle
|
260
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
249
|
|
@@ -316,6 +304,18 @@ module Google
|
|
316
304
|
include Google::Apis::Core::JsonObjectSupport
|
317
305
|
end
|
318
306
|
|
307
|
+
class UpgradeApplianceRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class UpgradeStatus
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
319
|
class UtilizationReport
|
320
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
321
|
|
@@ -359,6 +359,16 @@ module Google
|
|
359
359
|
end
|
360
360
|
end
|
361
361
|
|
362
|
+
class ApplianceVersion
|
363
|
+
# @private
|
364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
365
|
+
property :critical, as: 'critical'
|
366
|
+
property :release_notes_uri, as: 'releaseNotesUri'
|
367
|
+
property :uri, as: 'uri'
|
368
|
+
property :version, as: 'version'
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
362
372
|
class AppliedLicense
|
363
373
|
# @private
|
364
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -367,6 +377,16 @@ module Google
|
|
367
377
|
end
|
368
378
|
end
|
369
379
|
|
380
|
+
class AvailableUpdates
|
381
|
+
# @private
|
382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
383
|
+
property :in_place_update, as: 'inPlaceUpdate', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
|
384
|
+
|
385
|
+
property :new_deployable_appliance, as: 'newDeployableAppliance', class: Google::Apis::VmmigrationV1alpha1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1alpha1::ApplianceVersion::Representation
|
386
|
+
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
370
390
|
class CancelCloneJobRequest
|
371
391
|
# @private
|
372
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -488,23 +508,13 @@ module Google
|
|
488
508
|
end
|
489
509
|
end
|
490
510
|
|
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
|
-
|
505
511
|
class DatacenterConnector
|
506
512
|
# @private
|
507
513
|
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
|
515
|
+
property :appliance_software_version, as: 'applianceSoftwareVersion'
|
516
|
+
property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1alpha1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1alpha1::AvailableUpdates::Representation
|
517
|
+
|
508
518
|
property :bucket, as: 'bucket'
|
509
519
|
property :create_time, as: 'createTime'
|
510
520
|
property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
@@ -515,6 +525,8 @@ module Google
|
|
515
525
|
property :state, as: 'state'
|
516
526
|
property :state_time, as: 'stateTime'
|
517
527
|
property :update_time, as: 'updateTime'
|
528
|
+
property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1alpha1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1alpha1::UpgradeStatus::Representation
|
529
|
+
|
518
530
|
property :version, as: 'version'
|
519
531
|
end
|
520
532
|
end
|
@@ -551,12 +563,6 @@ module Google
|
|
551
563
|
end
|
552
564
|
end
|
553
565
|
|
554
|
-
class InitializingReplicationStep
|
555
|
-
# @private
|
556
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
557
|
-
end
|
558
|
-
end
|
559
|
-
|
560
566
|
class Link
|
561
567
|
# @private
|
562
568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -771,12 +777,6 @@ module Google
|
|
771
777
|
end
|
772
778
|
end
|
773
779
|
|
774
|
-
class PostProcessingStep
|
775
|
-
# @private
|
776
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
777
|
-
end
|
778
|
-
end
|
779
|
-
|
780
780
|
class RemoveGroupMigrationRequest
|
781
781
|
# @private
|
782
782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -784,25 +784,12 @@ module Google
|
|
784
784
|
end
|
785
785
|
end
|
786
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
|
-
|
797
787
|
class ReplicationCycle
|
798
788
|
# @private
|
799
789
|
class Representation < Google::Apis::Core::JsonRepresentation
|
800
|
-
property :end_time, as: 'endTime'
|
801
790
|
property :progress, as: 'progress'
|
802
791
|
property :progress_percent, as: 'progressPercent'
|
803
792
|
property :start_time, as: 'startTime'
|
804
|
-
collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CycleStep, decorator: Google::Apis::VmmigrationV1alpha1::CycleStep::Representation
|
805
|
-
|
806
793
|
property :total_pause_duration, as: 'totalPauseDuration'
|
807
794
|
end
|
808
795
|
end
|
@@ -908,6 +895,25 @@ module Google
|
|
908
895
|
end
|
909
896
|
end
|
910
897
|
|
898
|
+
class UpgradeApplianceRequest
|
899
|
+
# @private
|
900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
+
property :request_id, as: 'requestId'
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
905
|
+
class UpgradeStatus
|
906
|
+
# @private
|
907
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
908
|
+
property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
909
|
+
|
910
|
+
property :previous_version, as: 'previousVersion'
|
911
|
+
property :start_time, as: 'startTime'
|
912
|
+
property :state, as: 'state'
|
913
|
+
property :version, as: 'version'
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
911
917
|
class UtilizationReport
|
912
918
|
# @private
|
913
919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -323,7 +323,7 @@ module Google
|
|
323
323
|
|
324
324
|
# Updates the parameters of a single Group.
|
325
325
|
# @param [String] name
|
326
|
-
# The Group name.
|
326
|
+
# Output only. The Group name.
|
327
327
|
# @param [Google::Apis::VmmigrationV1alpha1::Group] group_object
|
328
328
|
# @param [String] request_id
|
329
329
|
# A request ID to identify requests. Specify a unique request ID so that if you
|
@@ -981,6 +981,40 @@ module Google
|
|
981
981
|
execute_or_queue_command(command, &block)
|
982
982
|
end
|
983
983
|
|
984
|
+
# Upgrades the appliance relate to this DatacenterConnector to the in-place
|
985
|
+
# updateable version.
|
986
|
+
# @param [String] datacenter_connector
|
987
|
+
# Required. The DatacenterConnector name.
|
988
|
+
# @param [Google::Apis::VmmigrationV1alpha1::UpgradeApplianceRequest] upgrade_appliance_request_object
|
989
|
+
# @param [String] fields
|
990
|
+
# Selector specifying which fields to include in a partial response.
|
991
|
+
# @param [String] quota_user
|
992
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
993
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
994
|
+
# @param [Google::Apis::RequestOptions] options
|
995
|
+
# Request-specific options
|
996
|
+
#
|
997
|
+
# @yield [result, err] Result & error if block supplied
|
998
|
+
# @yieldparam result [Google::Apis::VmmigrationV1alpha1::Operation] parsed result object
|
999
|
+
# @yieldparam err [StandardError] error object if request failed
|
1000
|
+
#
|
1001
|
+
# @return [Google::Apis::VmmigrationV1alpha1::Operation]
|
1002
|
+
#
|
1003
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1004
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1005
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1006
|
+
def upgrade_datacenter_connector_appliance(datacenter_connector, upgrade_appliance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1007
|
+
command = make_simple_command(:post, 'v1alpha1/{+datacenterConnector}:upgradeAppliance', options)
|
1008
|
+
command.request_representation = Google::Apis::VmmigrationV1alpha1::UpgradeApplianceRequest::Representation
|
1009
|
+
command.request_object = upgrade_appliance_request_object
|
1010
|
+
command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
|
1011
|
+
command.response_class = Google::Apis::VmmigrationV1alpha1::Operation
|
1012
|
+
command.params['datacenterConnector'] = datacenter_connector unless datacenter_connector.nil?
|
1013
|
+
command.query['fields'] = fields unless fields.nil?
|
1014
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1015
|
+
execute_or_queue_command(command, &block)
|
1016
|
+
end
|
1017
|
+
|
984
1018
|
# Creates a new MigratingVm in a given Source.
|
985
1019
|
# @param [String] parent
|
986
1020
|
# Required. The MigratingVm's parent.
|
@@ -1999,7 +2033,7 @@ module Google
|
|
1999
2033
|
# Updates the parameters of a single TargetProject. NOTE: TargetProject is a
|
2000
2034
|
# global resource; hence the only supported value for location is `global`.
|
2001
2035
|
# @param [String] name
|
2002
|
-
# The name of the target project.
|
2036
|
+
# Output only. The name of the target project.
|
2003
2037
|
# @param [Google::Apis::VmmigrationV1alpha1::TargetProject] target_project_object
|
2004
2038
|
# @param [String] request_id
|
2005
2039
|
# A request ID to identify requests. Specify a unique request ID so that if you
|
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
|
+
version: 0.6.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-02-
|
11
|
+
date: 2022-02-14 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.6.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: []
|