google-apis-vmmigration_v1 0.12.0 → 0.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70aed58a7c5eaba5b037b4efdc5d831f26d1a4717395270e9ac1928a54d85bdf
|
4
|
+
data.tar.gz: 0f4744bb20145a6343a0cdf8a3984cc70acfb394b1ff6ec66f60316f9af98e4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d353edbdea8a0dc90e4a5fd5a156bc2054b628c771c36b69b7b0cd83cb9ccfff393664bd221806078d854ab3b965e2c29e7c7fd4afa8cea9993455c519cbc7a4
|
7
|
+
data.tar.gz: b349167411606b29ba605f1bdf032ccdc611c4fcd7b7a7631c515a1a43317926ab63b12a320695de7fd4e8db6a2a942dff4cbcea7e11b8c5d4e2a6210cc3c86d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-vmmigration_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-06-30)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.8.0
|
6
|
+
* Regenerated from discovery document revision 20220616
|
7
|
+
|
8
|
+
### v0.14.0 (2022-06-21)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.7.0
|
11
|
+
|
12
|
+
### v0.13.0 (2022-06-10)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220602
|
15
|
+
* Regenerated using generator version 0.5.0
|
16
|
+
|
3
17
|
### v0.12.0 (2022-05-27)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220520
|
@@ -133,6 +133,11 @@ module Google
|
|
133
133
|
class AwsSourceVmDetails
|
134
134
|
include Google::Apis::Core::Hashable
|
135
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
|
+
|
136
141
|
# The firmware type of the source VM.
|
137
142
|
# Corresponds to the JSON property `firmware`
|
138
143
|
# @return [String]
|
@@ -144,6 +149,7 @@ module Google
|
|
144
149
|
|
145
150
|
# Update properties of this object
|
146
151
|
def update!(**args)
|
152
|
+
@committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
|
147
153
|
@firmware = args[:firmware] if args.key?(:firmware)
|
148
154
|
end
|
149
155
|
end
|
@@ -1083,6 +1089,38 @@ module Google
|
|
1083
1089
|
end
|
1084
1090
|
end
|
1085
1091
|
|
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
|
+
|
1086
1124
|
# Response message for 'ListSources' request.
|
1087
1125
|
class ListSourcesResponse
|
1088
1126
|
include Google::Apis::Core::Hashable
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -178,6 +178,12 @@ module Google
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
+
class ListReplicationCyclesResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
181
187
|
class ListSourcesResponse
|
182
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
189
|
|
@@ -390,6 +396,7 @@ module Google
|
|
390
396
|
class AwsSourceVmDetails
|
391
397
|
# @private
|
392
398
|
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
+
property :committed_storage_bytes, :numeric_string => true, as: 'committedStorageBytes'
|
393
400
|
property :firmware, as: 'firmware'
|
394
401
|
end
|
395
402
|
end
|
@@ -641,6 +648,16 @@ module Google
|
|
641
648
|
end
|
642
649
|
end
|
643
650
|
|
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
|
+
|
644
661
|
class ListSourcesResponse
|
645
662
|
# @private
|
646
663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1696,6 +1696,83 @@ 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
|
+
|
1699
1776
|
# Creates a new UtilizationReport.
|
1700
1777
|
# @param [String] parent
|
1701
1778
|
# Required. The Utilization Report's parent.
|
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.15.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-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.15.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: []
|