google-apis-vmmigration_v1alpha1 0.54.0 → 0.56.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +51 -0
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +29 -0
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +33 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e2bd6b19fda2006a1d05595bc7222b3728766275c3da281920ebb2d90701252
|
4
|
+
data.tar.gz: 9607bf095c4a6359ee0648f00943beb0f40f125a85fb58fc10241d6950eceed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1680f42e6c1ceeeb6d7822a72b66d66766c256867a14658d2efa04d74db35d9c64baacd3933683d06a045d3e0c3d9a0f52b5a90aac755c641b659ae373942a11
|
7
|
+
data.tar.gz: 452f960df894d983937dbff35e76f6b9aefd007314c8a46132c2c53b3014d0d915417b9bdc25af2329dfe040cfb1a6d87402ae5974846368c79b36075a328a08
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1alpha1
|
2
2
|
|
3
|
+
### v0.56.0 (2025-06-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250521
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
8
|
+
### v0.55.0 (2025-05-04)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.17.0
|
11
|
+
|
3
12
|
### v0.54.0 (2025-03-30)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250321
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/migrate/virtual-machines) m
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -2147,6 +2147,51 @@ module Google
|
|
2147
2147
|
end
|
2148
2148
|
end
|
2149
2149
|
|
2150
|
+
# Expiration holds information about the expiration of a MigratingVm.
|
2151
|
+
class Expiration
|
2152
|
+
include Google::Apis::Core::Hashable
|
2153
|
+
|
2154
|
+
# Output only. Timestamp of when this resource is considered expired.
|
2155
|
+
# Corresponds to the JSON property `expireTime`
|
2156
|
+
# @return [String]
|
2157
|
+
attr_accessor :expire_time
|
2158
|
+
|
2159
|
+
# Output only. Describes whether the expiration can be extended.
|
2160
|
+
# Corresponds to the JSON property `extendable`
|
2161
|
+
# @return [Boolean]
|
2162
|
+
attr_accessor :extendable
|
2163
|
+
alias_method :extendable?, :extendable
|
2164
|
+
|
2165
|
+
# Output only. The number of times expiration was extended.
|
2166
|
+
# Corresponds to the JSON property `extensionCount`
|
2167
|
+
# @return [Fixnum]
|
2168
|
+
attr_accessor :extension_count
|
2169
|
+
|
2170
|
+
def initialize(**args)
|
2171
|
+
update!(**args)
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
# Update properties of this object
|
2175
|
+
def update!(**args)
|
2176
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
2177
|
+
@extendable = args[:extendable] if args.key?(:extendable)
|
2178
|
+
@extension_count = args[:extension_count] if args.key?(:extension_count)
|
2179
|
+
end
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
# Request message for 'ExtendMigrationRequest' request.
|
2183
|
+
class ExtendMigrationRequest
|
2184
|
+
include Google::Apis::Core::Hashable
|
2185
|
+
|
2186
|
+
def initialize(**args)
|
2187
|
+
update!(**args)
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
# Update properties of this object
|
2191
|
+
def update!(**args)
|
2192
|
+
end
|
2193
|
+
end
|
2194
|
+
|
2150
2195
|
# Response message for fetchInventory.
|
2151
2196
|
class FetchInventoryResponse
|
2152
2197
|
include Google::Apis::Core::Hashable
|
@@ -3240,6 +3285,11 @@ module Google
|
|
3240
3285
|
# @return [Google::Apis::VmmigrationV1alpha1::Status]
|
3241
3286
|
attr_accessor :error
|
3242
3287
|
|
3288
|
+
# Expiration holds information about the expiration of a MigratingVm.
|
3289
|
+
# Corresponds to the JSON property `expiration`
|
3290
|
+
# @return [Google::Apis::VmmigrationV1alpha1::Expiration]
|
3291
|
+
attr_accessor :expiration
|
3292
|
+
|
3243
3293
|
# Output only. The group this migrating vm is included in, if any. The group is
|
3244
3294
|
# represented by the full path of the appropriate Group resource.
|
3245
3295
|
# Corresponds to the JSON property `group`
|
@@ -3338,6 +3388,7 @@ module Google
|
|
3338
3388
|
@description = args[:description] if args.key?(:description)
|
3339
3389
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3340
3390
|
@error = args[:error] if args.key?(:error)
|
3391
|
+
@expiration = args[:expiration] if args.key?(:expiration)
|
3341
3392
|
@group = args[:group] if args.key?(:group)
|
3342
3393
|
@labels = args[:labels] if args.key?(:labels)
|
3343
3394
|
@last_replication_cycle = args[:last_replication_cycle] if args.key?(:last_replication_cycle)
|
@@ -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.56.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250521"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -298,6 +298,18 @@ module Google
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
299
299
|
end
|
300
300
|
|
301
|
+
class Expiration
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class ExtendMigrationRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
301
313
|
class FetchInventoryResponse
|
302
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
315
|
|
@@ -1300,6 +1312,21 @@ module Google
|
|
1300
1312
|
end
|
1301
1313
|
end
|
1302
1314
|
|
1315
|
+
class Expiration
|
1316
|
+
# @private
|
1317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1318
|
+
property :expire_time, as: 'expireTime'
|
1319
|
+
property :extendable, as: 'extendable'
|
1320
|
+
property :extension_count, as: 'extensionCount'
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
class ExtendMigrationRequest
|
1325
|
+
# @private
|
1326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1303
1330
|
class FetchInventoryResponse
|
1304
1331
|
# @private
|
1305
1332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1631,6 +1658,8 @@ module Google
|
|
1631
1658
|
property :display_name, as: 'displayName'
|
1632
1659
|
property :error, as: 'error', class: Google::Apis::VmmigrationV1alpha1::Status, decorator: Google::Apis::VmmigrationV1alpha1::Status::Representation
|
1633
1660
|
|
1661
|
+
property :expiration, as: 'expiration', class: Google::Apis::VmmigrationV1alpha1::Expiration, decorator: Google::Apis::VmmigrationV1alpha1::Expiration::Representation
|
1662
|
+
|
1634
1663
|
property :group, as: 'group'
|
1635
1664
|
hash :labels, as: 'labels'
|
1636
1665
|
property :last_replication_cycle, as: 'lastReplicationCycle', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
|
@@ -1386,6 +1386,39 @@ module Google
|
|
1386
1386
|
execute_or_queue_command(command, &block)
|
1387
1387
|
end
|
1388
1388
|
|
1389
|
+
# Extend the migrating VM time to live.
|
1390
|
+
# @param [String] migrating_vm
|
1391
|
+
# Required. The name of the MigratingVm.
|
1392
|
+
# @param [Google::Apis::VmmigrationV1alpha1::ExtendMigrationRequest] extend_migration_request_object
|
1393
|
+
# @param [String] fields
|
1394
|
+
# Selector specifying which fields to include in a partial response.
|
1395
|
+
# @param [String] quota_user
|
1396
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1397
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1398
|
+
# @param [Google::Apis::RequestOptions] options
|
1399
|
+
# Request-specific options
|
1400
|
+
#
|
1401
|
+
# @yield [result, err] Result & error if block supplied
|
1402
|
+
# @yieldparam result [Google::Apis::VmmigrationV1alpha1::Operation] parsed result object
|
1403
|
+
# @yieldparam err [StandardError] error object if request failed
|
1404
|
+
#
|
1405
|
+
# @return [Google::Apis::VmmigrationV1alpha1::Operation]
|
1406
|
+
#
|
1407
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1408
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1409
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1410
|
+
def extend_migrating_vm_migration(migrating_vm, extend_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1411
|
+
command = make_simple_command(:post, 'v1alpha1/{+migratingVm}:extendMigration', options)
|
1412
|
+
command.request_representation = Google::Apis::VmmigrationV1alpha1::ExtendMigrationRequest::Representation
|
1413
|
+
command.request_object = extend_migration_request_object
|
1414
|
+
command.response_representation = Google::Apis::VmmigrationV1alpha1::Operation::Representation
|
1415
|
+
command.response_class = Google::Apis::VmmigrationV1alpha1::Operation
|
1416
|
+
command.params['migratingVm'] = migrating_vm unless migrating_vm.nil?
|
1417
|
+
command.query['fields'] = fields unless fields.nil?
|
1418
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1419
|
+
execute_or_queue_command(command, &block)
|
1420
|
+
end
|
1421
|
+
|
1389
1422
|
# Marks a migration as completed, deleting migration resources that are no
|
1390
1423
|
# longer being used. Only applicable after cutover is done.
|
1391
1424
|
# @param [String] migrating_vm
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.56.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.56.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for VM Migration API V1alpha1
|
79
79
|
test_files: []
|