google-apis-vmmigration_v1 0.15.0 → 0.16.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/vmmigration_v1/classes.rb +0 -63
- data/lib/google/apis/vmmigration_v1/gem_version.rb +3 -3
- data/lib/google/apis/vmmigration_v1/representations.rb +0 -32
- data/lib/google/apis/vmmigration_v1/service.rb +2 -79
- data/lib/google/apis/vmmigration_v1.rb +2 -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: c8f9248f3629d933bf9e4ecaa32d80c4924abf0d7e9dd59a675cbd37a72e4e9e
|
4
|
+
data.tar.gz: 04a818dbf2d6ccfff96b6f0cf20e0f64ed760d3bef9b7dbe72f4146c83e0e4c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eca4c71cceb99a15b8d017644e8d9497f343ca22e9af2e64379a6006b985c0ea255744316537a4b3429a6dd420c55d0bd48d83c0168df70fde162bc43ff7a57c
|
7
|
+
data.tar.gz: d5c101b650ba706c5dd44775d1d3a6531c61d29e63de55014ebfc80272ec1f9290814487ac1dff4bba5e7bf975140f392a3e0e621678b1d48b360881ec834194
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2022-07-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220714
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
3
8
|
### v0.15.0 (2022-06-30)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.8.0
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://cloud.google.com/migrate/
|
82
|
+
The [product documentation](https://cloud.google.com/migrate/virtual-machines) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -129,31 +129,6 @@ module Google
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
-
# Represent the source AWS VM details.
|
133
|
-
class AwsSourceVmDetails
|
134
|
-
include Google::Apis::Core::Hashable
|
135
|
-
|
136
|
-
# The total size of the disks being migrated in bytes.
|
137
|
-
# Corresponds to the JSON property `committedStorageBytes`
|
138
|
-
# @return [Fixnum]
|
139
|
-
attr_accessor :committed_storage_bytes
|
140
|
-
|
141
|
-
# The firmware type of the source VM.
|
142
|
-
# Corresponds to the JSON property `firmware`
|
143
|
-
# @return [String]
|
144
|
-
attr_accessor :firmware
|
145
|
-
|
146
|
-
def initialize(**args)
|
147
|
-
update!(**args)
|
148
|
-
end
|
149
|
-
|
150
|
-
# Update properties of this object
|
151
|
-
def update!(**args)
|
152
|
-
@committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
|
153
|
-
@firmware = args[:firmware] if args.key?(:firmware)
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
132
|
# Request message for 'CancelCloneJob' request.
|
158
133
|
class CancelCloneJobRequest
|
159
134
|
include Google::Apis::Core::Hashable
|
@@ -1089,38 +1064,6 @@ module Google
|
|
1089
1064
|
end
|
1090
1065
|
end
|
1091
1066
|
|
1092
|
-
# Response message for 'ListReplicationCycles' request.
|
1093
|
-
class ListReplicationCyclesResponse
|
1094
|
-
include Google::Apis::Core::Hashable
|
1095
|
-
|
1096
|
-
# Output only. A token, which can be sent as `page_token` to retrieve the next
|
1097
|
-
# page. If this field is omitted, there are no subsequent pages.
|
1098
|
-
# Corresponds to the JSON property `nextPageToken`
|
1099
|
-
# @return [String]
|
1100
|
-
attr_accessor :next_page_token
|
1101
|
-
|
1102
|
-
# Output only. The list of replication cycles response.
|
1103
|
-
# Corresponds to the JSON property `replicationCycles`
|
1104
|
-
# @return [Array<Google::Apis::VmmigrationV1::ReplicationCycle>]
|
1105
|
-
attr_accessor :replication_cycles
|
1106
|
-
|
1107
|
-
# Output only. Locations that could not be reached.
|
1108
|
-
# Corresponds to the JSON property `unreachable`
|
1109
|
-
# @return [Array<String>]
|
1110
|
-
attr_accessor :unreachable
|
1111
|
-
|
1112
|
-
def initialize(**args)
|
1113
|
-
update!(**args)
|
1114
|
-
end
|
1115
|
-
|
1116
|
-
# Update properties of this object
|
1117
|
-
def update!(**args)
|
1118
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1119
|
-
@replication_cycles = args[:replication_cycles] if args.key?(:replication_cycles)
|
1120
|
-
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1121
|
-
end
|
1122
|
-
end
|
1123
|
-
|
1124
1067
|
# Response message for 'ListSources' request.
|
1125
1068
|
class ListSourcesResponse
|
1126
1069
|
include Google::Apis::Core::Hashable
|
@@ -1296,11 +1239,6 @@ module Google
|
|
1296
1239
|
class MigratingVm
|
1297
1240
|
include Google::Apis::Core::Hashable
|
1298
1241
|
|
1299
|
-
# Represent the source AWS VM details.
|
1300
|
-
# Corresponds to the JSON property `awsSourceVmDetails`
|
1301
|
-
# @return [Google::Apis::VmmigrationV1::AwsSourceVmDetails]
|
1302
|
-
attr_accessor :aws_source_vm_details
|
1303
|
-
|
1304
1242
|
# ComputeEngineTargetDefaults is a collection of details for creating a VM in a
|
1305
1243
|
# target Compute Engine project.
|
1306
1244
|
# Corresponds to the JSON property `computeEngineTargetDefaults`
|
@@ -1409,7 +1347,6 @@ module Google
|
|
1409
1347
|
|
1410
1348
|
# Update properties of this object
|
1411
1349
|
def update!(**args)
|
1412
|
-
@aws_source_vm_details = args[:aws_source_vm_details] if args.key?(:aws_source_vm_details)
|
1413
1350
|
@compute_engine_target_defaults = args[:compute_engine_target_defaults] if args.key?(:compute_engine_target_defaults)
|
1414
1351
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1415
1352
|
@current_sync_info = args[:current_sync_info] if args.key?(:current_sync_info)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220714"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,12 +46,6 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class AwsSourceVmDetails
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
49
|
class CancelCloneJobRequest
|
56
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
51
|
|
@@ -178,12 +172,6 @@ module Google
|
|
178
172
|
include Google::Apis::Core::JsonObjectSupport
|
179
173
|
end
|
180
174
|
|
181
|
-
class ListReplicationCyclesResponse
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
175
|
class ListSourcesResponse
|
188
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
177
|
|
@@ -393,14 +381,6 @@ module Google
|
|
393
381
|
end
|
394
382
|
end
|
395
383
|
|
396
|
-
class AwsSourceVmDetails
|
397
|
-
# @private
|
398
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
-
property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
|
400
|
-
property :firmware, as: 'firmware'
|
401
|
-
end
|
402
|
-
end
|
403
|
-
|
404
384
|
class CancelCloneJobRequest
|
405
385
|
# @private
|
406
386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -648,16 +628,6 @@ module Google
|
|
648
628
|
end
|
649
629
|
end
|
650
630
|
|
651
|
-
class ListReplicationCyclesResponse
|
652
|
-
# @private
|
653
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
-
property :next_page_token, as: 'nextPageToken'
|
655
|
-
collection :replication_cycles, as: 'replicationCycles', class: Google::Apis::VmmigrationV1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1::ReplicationCycle::Representation
|
656
|
-
|
657
|
-
collection :unreachable, as: 'unreachable'
|
658
|
-
end
|
659
|
-
end
|
660
|
-
|
661
631
|
class ListSourcesResponse
|
662
632
|
# @private
|
663
633
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -710,8 +680,6 @@ module Google
|
|
710
680
|
class MigratingVm
|
711
681
|
# @private
|
712
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
713
|
-
property :aws_source_vm_details, as: 'awsSourceVmDetails', class: Google::Apis::VmmigrationV1::AwsSourceVmDetails, decorator: Google::Apis::VmmigrationV1::AwsSourceVmDetails::Representation
|
714
|
-
|
715
683
|
property :compute_engine_target_defaults, as: 'computeEngineTargetDefaults', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDefaults::Representation
|
716
684
|
|
717
685
|
property :create_time, as: 'createTime'
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module VmmigrationV1
|
23
23
|
# VM Migration API
|
24
24
|
#
|
25
|
-
# Use the Migrate
|
25
|
+
# Use the Migrate to Virtual Machines API to programmatically migrate workloads.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/vmmigration_v1'
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Vmmigration = Google::Apis::VmmigrationV1 # Alias the module
|
31
31
|
# service = Vmmigration::VMMigrationServiceService.new
|
32
32
|
#
|
33
|
-
# @see https://cloud.google.com/migrate/
|
33
|
+
# @see https://cloud.google.com/migrate/virtual-machines
|
34
34
|
class VMMigrationServiceService < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -1696,83 +1696,6 @@ module Google
|
|
1696
1696
|
execute_or_queue_command(command, &block)
|
1697
1697
|
end
|
1698
1698
|
|
1699
|
-
# Gets details of a single ReplicationCycle.
|
1700
|
-
# @param [String] name
|
1701
|
-
# Required. The name of the ReplicationCycle.
|
1702
|
-
# @param [String] fields
|
1703
|
-
# Selector specifying which fields to include in a partial response.
|
1704
|
-
# @param [String] quota_user
|
1705
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1706
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1707
|
-
# @param [Google::Apis::RequestOptions] options
|
1708
|
-
# Request-specific options
|
1709
|
-
#
|
1710
|
-
# @yield [result, err] Result & error if block supplied
|
1711
|
-
# @yieldparam result [Google::Apis::VmmigrationV1::ReplicationCycle] parsed result object
|
1712
|
-
# @yieldparam err [StandardError] error object if request failed
|
1713
|
-
#
|
1714
|
-
# @return [Google::Apis::VmmigrationV1::ReplicationCycle]
|
1715
|
-
#
|
1716
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1717
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1718
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1719
|
-
def get_project_location_source_migrating_vm_replication_cycle(name, fields: nil, quota_user: nil, options: nil, &block)
|
1720
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1721
|
-
command.response_representation = Google::Apis::VmmigrationV1::ReplicationCycle::Representation
|
1722
|
-
command.response_class = Google::Apis::VmmigrationV1::ReplicationCycle
|
1723
|
-
command.params['name'] = name unless name.nil?
|
1724
|
-
command.query['fields'] = fields unless fields.nil?
|
1725
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1726
|
-
execute_or_queue_command(command, &block)
|
1727
|
-
end
|
1728
|
-
|
1729
|
-
# Lists ReplicationCycles in a given MigratingVM.
|
1730
|
-
# @param [String] parent
|
1731
|
-
# Required. The parent, which owns this collection of ReplicationCycles.
|
1732
|
-
# @param [String] filter
|
1733
|
-
# Optional. The filter request.
|
1734
|
-
# @param [String] order_by
|
1735
|
-
# Optional. the order by fields for the result.
|
1736
|
-
# @param [Fixnum] page_size
|
1737
|
-
# Optional. The maximum number of replication cycles to return. The service may
|
1738
|
-
# return fewer than this value. If unspecified, at most 100 migrating VMs will
|
1739
|
-
# be returned. The maximum value is 100; values above 100 will be coerced to 100.
|
1740
|
-
# @param [String] page_token
|
1741
|
-
# Required. A page token, received from a previous `ListReplicationCycles` call.
|
1742
|
-
# Provide this to retrieve the subsequent page. When paginating, all other
|
1743
|
-
# parameters provided to `ListReplicationCycles` must match the call that
|
1744
|
-
# provided the page token.
|
1745
|
-
# @param [String] fields
|
1746
|
-
# Selector specifying which fields to include in a partial response.
|
1747
|
-
# @param [String] quota_user
|
1748
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1749
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1750
|
-
# @param [Google::Apis::RequestOptions] options
|
1751
|
-
# Request-specific options
|
1752
|
-
#
|
1753
|
-
# @yield [result, err] Result & error if block supplied
|
1754
|
-
# @yieldparam result [Google::Apis::VmmigrationV1::ListReplicationCyclesResponse] parsed result object
|
1755
|
-
# @yieldparam err [StandardError] error object if request failed
|
1756
|
-
#
|
1757
|
-
# @return [Google::Apis::VmmigrationV1::ListReplicationCyclesResponse]
|
1758
|
-
#
|
1759
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1760
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1761
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1762
|
-
def list_project_location_source_migrating_vm_replication_cycles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1763
|
-
command = make_simple_command(:get, 'v1/{+parent}/replicationCycles', options)
|
1764
|
-
command.response_representation = Google::Apis::VmmigrationV1::ListReplicationCyclesResponse::Representation
|
1765
|
-
command.response_class = Google::Apis::VmmigrationV1::ListReplicationCyclesResponse
|
1766
|
-
command.params['parent'] = parent unless parent.nil?
|
1767
|
-
command.query['filter'] = filter unless filter.nil?
|
1768
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
1769
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1770
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1771
|
-
command.query['fields'] = fields unless fields.nil?
|
1772
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1773
|
-
execute_or_queue_command(command, &block)
|
1774
|
-
end
|
1775
|
-
|
1776
1699
|
# Creates a new UtilizationReport.
|
1777
1700
|
# @param [String] parent
|
1778
1701
|
# Required. The Utilization Report's parent.
|
@@ -21,9 +21,9 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# VM Migration API
|
23
23
|
#
|
24
|
-
# Use the Migrate
|
24
|
+
# Use the Migrate to Virtual Machines API to programmatically migrate workloads.
|
25
25
|
#
|
26
|
-
# @see https://cloud.google.com/migrate/
|
26
|
+
# @see https://cloud.google.com/migrate/virtual-machines
|
27
27
|
module VmmigrationV1
|
28
28
|
# Version of the VM Migration API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
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.
|
4
|
+
version: 0.16.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-07-
|
11
|
+
date: 2022-07-25 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.16.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: []
|