google-apis-vmmigration_v1 0.24.0 → 0.26.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: bda04e74046fef358925ba0011665d8f6e6da7bc3f5edef26e281c848999d52c
4
- data.tar.gz: 86e9117f72aaa0b1b0534eb6f4013df077e2adf1866ebc73e49dd6ddfb98f3ec
3
+ metadata.gz: ecc78af700bfa5da062edd4be3b06fffe9bd1f0674de1ce7c24e8c7b912da5e9
4
+ data.tar.gz: 4711d42827e375649790a18197e41323350639d78eefdbb10f82779ce0fbcc91
5
5
  SHA512:
6
- metadata.gz: ad6de887b129e28298de42e0face8e4a8f357c6be75a2e41f181a5c8bc743b98c77e9acb406cba73f82876301b45d0cc22bdf1451ce0ced6cb3a4da21405a4e0
7
- data.tar.gz: 35832226ddb8ca5c90c65f1c0d6493ec4235c138062b876e8412f273630b5e0af8eedce97daa85b00ac33d027c0ffcaccdc01eb27b60e3db7eef5c5e6725835d
6
+ metadata.gz: 9cdd521563ef8ecb7ec34db1b818e9eb102edf446adfb1129f08e972fc206c8f8a9ff393061da5efca2a464f4fde7aabd3b8b507d2a438faeb0664c7bab6298b
7
+ data.tar.gz: a85b29367133a8c056f49243904a8554220055881fdf0e99979276da0d7addfdbd5e57c78534f5da83460ebd929290f760728d916ca1b7c48d13dbdb48d75973
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.26.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230216
6
+
7
+ ### v0.25.0 (2023-02-15)
8
+
9
+ * Regenerated from discovery document revision 20230209
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.24.0 (2023-01-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20230105
@@ -1811,6 +1811,12 @@ module Google
1811
1811
  # @return [Hash<String,String>]
1812
1812
  attr_accessor :labels
1813
1813
 
1814
+ # ReplicationCycle contains information about the current replication cycle
1815
+ # status.
1816
+ # Corresponds to the JSON property `lastReplicationCycle`
1817
+ # @return [Google::Apis::VmmigrationV1::ReplicationCycle]
1818
+ attr_accessor :last_replication_cycle
1819
+
1814
1820
  # ReplicationSync contain information about the last replica sync to the cloud.
1815
1821
  # Corresponds to the JSON property `lastSync`
1816
1822
  # @return [Google::Apis::VmmigrationV1::ReplicationSync]
@@ -1879,6 +1885,7 @@ module Google
1879
1885
  @error = args[:error] if args.key?(:error)
1880
1886
  @group = args[:group] if args.key?(:group)
1881
1887
  @labels = args[:labels] if args.key?(:labels)
1888
+ @last_replication_cycle = args[:last_replication_cycle] if args.key?(:last_replication_cycle)
1882
1889
  @last_sync = args[:last_sync] if args.key?(:last_sync)
1883
1890
  @name = args[:name] if args.key?(:name)
1884
1891
  @policy = args[:policy] if args.key?(:policy)
@@ -1939,6 +1946,53 @@ module Google
1939
1946
  end
1940
1947
  end
1941
1948
 
1949
+ # Represents migration resource warning information that can be used with google.
1950
+ # rpc.Status message. MigrationWarning is used to present the user with warning
1951
+ # information in migration operations.
1952
+ class MigrationWarning
1953
+ include Google::Apis::Core::Hashable
1954
+
1955
+ # Provides a localized error message that is safe to return to the user which
1956
+ # can be attached to an RPC error.
1957
+ # Corresponds to the JSON property `actionItem`
1958
+ # @return [Google::Apis::VmmigrationV1::LocalizedMessage]
1959
+ attr_accessor :action_item
1960
+
1961
+ # The warning code.
1962
+ # Corresponds to the JSON property `code`
1963
+ # @return [String]
1964
+ attr_accessor :code
1965
+
1966
+ # URL(s) pointing to additional information on handling the current warning.
1967
+ # Corresponds to the JSON property `helpLinks`
1968
+ # @return [Array<Google::Apis::VmmigrationV1::Link>]
1969
+ attr_accessor :help_links
1970
+
1971
+ # Provides a localized error message that is safe to return to the user which
1972
+ # can be attached to an RPC error.
1973
+ # Corresponds to the JSON property `warningMessage`
1974
+ # @return [Google::Apis::VmmigrationV1::LocalizedMessage]
1975
+ attr_accessor :warning_message
1976
+
1977
+ # The time the warning occurred.
1978
+ # Corresponds to the JSON property `warningTime`
1979
+ # @return [String]
1980
+ attr_accessor :warning_time
1981
+
1982
+ def initialize(**args)
1983
+ update!(**args)
1984
+ end
1985
+
1986
+ # Update properties of this object
1987
+ def update!(**args)
1988
+ @action_item = args[:action_item] if args.key?(:action_item)
1989
+ @code = args[:code] if args.key?(:code)
1990
+ @help_links = args[:help_links] if args.key?(:help_links)
1991
+ @warning_message = args[:warning_message] if args.key?(:warning_message)
1992
+ @warning_time = args[:warning_time] if args.key?(:warning_time)
1993
+ end
1994
+ end
1995
+
1942
1996
  # NetworkInterface represents a NIC of a VM.
1943
1997
  class NetworkInterface
1944
1998
  include Google::Apis::Core::Hashable
@@ -2249,6 +2303,11 @@ module Google
2249
2303
  # @return [String]
2250
2304
  attr_accessor :total_pause_duration
2251
2305
 
2306
+ # Output only. Warnings that occurred during the cycle.
2307
+ # Corresponds to the JSON property `warnings`
2308
+ # @return [Array<Google::Apis::VmmigrationV1::MigrationWarning>]
2309
+ attr_accessor :warnings
2310
+
2252
2311
  def initialize(**args)
2253
2312
  update!(**args)
2254
2313
  end
@@ -2264,6 +2323,7 @@ module Google
2264
2323
  @state = args[:state] if args.key?(:state)
2265
2324
  @steps = args[:steps] if args.key?(:steps)
2266
2325
  @total_pause_duration = args[:total_pause_duration] if args.key?(:total_pause_duration)
2326
+ @warnings = args[:warnings] if args.key?(:warnings)
2267
2327
  end
2268
2328
  end
2269
2329
 
@@ -2561,7 +2621,7 @@ module Google
2561
2621
  # must retry your request, the server will know to ignore the request if it has
2562
2622
  # already been completed. The server will guarantee that for at least 60 minutes
2563
2623
  # after the first request. For example, consider a situation where you make an
2564
- # initial request and t he request times out. If you make the request again with
2624
+ # initial request and the request times out. If you make the request again with
2565
2625
  # the same request ID, the server can check if original operation with the same
2566
2626
  # request ID was received, and if so, will ignore the second request. This
2567
2627
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -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.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230105"
25
+ REVISION = "20230216"
26
26
  end
27
27
  end
28
28
  end
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class MigrationWarning
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class NetworkInterface
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -955,6 +961,8 @@ module Google
955
961
 
956
962
  property :group, as: 'group'
957
963
  hash :labels, as: 'labels'
964
+ property :last_replication_cycle, as: 'lastReplicationCycle', class: Google::Apis::VmmigrationV1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1::ReplicationCycle::Representation
965
+
958
966
  property :last_sync, as: 'lastSync', class: Google::Apis::VmmigrationV1::ReplicationSync, decorator: Google::Apis::VmmigrationV1::ReplicationSync::Representation
959
967
 
960
968
  property :name, as: 'name'
@@ -985,6 +993,20 @@ module Google
985
993
  end
986
994
  end
987
995
 
996
+ class MigrationWarning
997
+ # @private
998
+ class Representation < Google::Apis::Core::JsonRepresentation
999
+ property :action_item, as: 'actionItem', class: Google::Apis::VmmigrationV1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1::LocalizedMessage::Representation
1000
+
1001
+ property :code, as: 'code'
1002
+ collection :help_links, as: 'helpLinks', class: Google::Apis::VmmigrationV1::Link, decorator: Google::Apis::VmmigrationV1::Link::Representation
1003
+
1004
+ property :warning_message, as: 'warningMessage', class: Google::Apis::VmmigrationV1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1::LocalizedMessage::Representation
1005
+
1006
+ property :warning_time, as: 'warningTime'
1007
+ end
1008
+ end
1009
+
988
1010
  class NetworkInterface
989
1011
  # @private
990
1012
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1069,6 +1091,8 @@ module Google
1069
1091
  collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1::CycleStep, decorator: Google::Apis::VmmigrationV1::CycleStep::Representation
1070
1092
 
1071
1093
  property :total_pause_duration, as: 'totalPauseDuration'
1094
+ collection :warnings, as: 'warnings', class: Google::Apis::VmmigrationV1::MigrationWarning, decorator: Google::Apis::VmmigrationV1::MigrationWarning::Representation
1095
+
1072
1096
  end
1073
1097
  end
1074
1098
 
@@ -166,7 +166,7 @@ module Google
166
166
  # must retry your request, the server will know to ignore the request if it has
167
167
  # already been completed. The server will guarantee that for at least 60 minutes
168
168
  # since the first request. For example, consider a situation where you make an
169
- # initial request and t he request times out. If you make the request again with
169
+ # initial request and the request times out. If you make the request again with
170
170
  # the same request ID, the server can check if original operation with the same
171
171
  # request ID was received, and if so, will ignore the second request. This
172
172
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -211,7 +211,7 @@ module Google
211
211
  # that if you must retry your request, the server will know to ignore the
212
212
  # request if it has already been completed. The server will guarantee that for
213
213
  # at least 60 minutes after the first request. For example, consider a situation
214
- # where you make an initial request and t he request times out. If you make the
214
+ # where you make an initial request and the request times out. If you make the
215
215
  # request again with the same request ID, the server can check if original
216
216
  # operation with the same request ID was received, and if so, will ignore the
217
217
  # second request. This prevents clients from accidentally creating duplicate
@@ -330,7 +330,7 @@ module Google
330
330
  # must retry your request, the server will know to ignore the request if it has
331
331
  # already been completed. The server will guarantee that for at least 60 minutes
332
332
  # since the first request. For example, consider a situation where you make an
333
- # initial request and t he request times out. If you make the request again with
333
+ # initial request and the request times out. If you make the request again with
334
334
  # the same request ID, the server can check if original operation with the same
335
335
  # request ID was received, and if so, will ignore the second request. This
336
336
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -565,7 +565,7 @@ module Google
565
565
  # must retry your request, the server will know to ignore the request if it has
566
566
  # already been completed. The server will guarantee that for at least 60 minutes
567
567
  # since the first request. For example, consider a situation where you make an
568
- # initial request and t he request times out. If you make the request again with
568
+ # initial request and the request times out. If you make the request again with
569
569
  # the same request ID, the server can check if original operation with the same
570
570
  # request ID was received, and if so, will ignore the second request. This
571
571
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -612,7 +612,7 @@ module Google
612
612
  # that if you must retry your request, the server will know to ignore the
613
613
  # request if it has already been completed. The server will guarantee that for
614
614
  # at least 60 minutes after the first request. For example, consider a situation
615
- # where you make an initial request and t he request times out. If you make the
615
+ # where you make an initial request and the request times out. If you make the
616
616
  # request again with the same request ID, the server can check if original
617
617
  # operation with the same request ID was received, and if so, will ignore the
618
618
  # second request. This prevents clients from accidentally creating duplicate
@@ -781,7 +781,7 @@ module Google
781
781
  # must retry your request, the server will know to ignore the request if it has
782
782
  # already been completed. The server will guarantee that for at least 60 minutes
783
783
  # since the first request. For example, consider a situation where you make an
784
- # initial request and t he request times out. If you make the request again with
784
+ # initial request and the request times out. If you make the request again with
785
785
  # the same request ID, the server can check if original operation with the same
786
786
  # request ID was received, and if so, will ignore the second request. This
787
787
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -837,7 +837,7 @@ module Google
837
837
  # must retry your request, the server will know to ignore the request if it has
838
838
  # already been completed. The server will guarantee that for at least 60 minutes
839
839
  # since the first request. For example, consider a situation where you make an
840
- # initial request and t he request times out. If you make the request again with
840
+ # initial request and the request times out. If you make the request again with
841
841
  # the same request ID, the server can check if original operation with the same
842
842
  # request ID was received, and if so, will ignore the second request. This
843
843
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -882,7 +882,7 @@ module Google
882
882
  # must retry your request, the server will know to ignore the request if it has
883
883
  # already been completed. The server will guarantee that for at least 60 minutes
884
884
  # after the first request. For example, consider a situation where you make an
885
- # initial request and t he request times out. If you make the request again with
885
+ # initial request and the request times out. If you make the request again with
886
886
  # the same request ID, the server can check if original operation with the same
887
887
  # request ID was received, and if so, will ignore the second request. This
888
888
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -1038,7 +1038,7 @@ module Google
1038
1038
  # must retry your request, the server will know to ignore the request if it has
1039
1039
  # already been completed. The server will guarantee that for at least 60 minutes
1040
1040
  # since the first request. For example, consider a situation where you make an
1041
- # initial request and t he request times out. If you make the request again with
1041
+ # initial request and the request times out. If you make the request again with
1042
1042
  # the same request ID, the server can check if original operation with the same
1043
1043
  # request ID was received, and if so, will ignore the second request. This
1044
1044
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -1232,7 +1232,7 @@ module Google
1232
1232
  # must retry your request, the server will know to ignore the request if it has
1233
1233
  # already been completed. The server will guarantee that for at least 60 minutes
1234
1234
  # since the first request. For example, consider a situation where you make an
1235
- # initial request and t he request times out. If you make the request again with
1235
+ # initial request and the request times out. If you make the request again with
1236
1236
  # the same request ID, the server can check if original operation with the same
1237
1237
  # request ID was received, and if so, will ignore the second request. This
1238
1238
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -1424,7 +1424,7 @@ module Google
1424
1424
  # must retry your request, the server will know to ignore the request if it has
1425
1425
  # already been completed. The server will guarantee that for at least 60 minutes
1426
1426
  # since the first request. For example, consider a situation where you make an
1427
- # initial request and t he request times out. If you make the request again with
1427
+ # initial request and the request times out. If you make the request again with
1428
1428
  # the same request ID, the server can check if original operation with the same
1429
1429
  # request ID was received, and if so, will ignore the second request. This
1430
1430
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -1582,7 +1582,7 @@ module Google
1582
1582
  # must retry your request, the server will know to ignore the request if it has
1583
1583
  # already been completed. The server will guarantee that for at least 60 minutes
1584
1584
  # since the first request. For example, consider a situation where you make an
1585
- # initial request and t he request times out. If you make the request again with
1585
+ # initial request and the request times out. If you make the request again with
1586
1586
  # the same request ID, the server can check if original operation with the same
1587
1587
  # request ID was received, and if so, will ignore the second request. This
1588
1588
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -1782,7 +1782,7 @@ module Google
1782
1782
  # must retry your request, the server will know to ignore the request if it has
1783
1783
  # already been completed. The server will guarantee that for at least 60 minutes
1784
1784
  # since the first request. For example, consider a situation where you make an
1785
- # initial request and t he request times out. If you make the request again with
1785
+ # initial request and the request times out. If you make the request again with
1786
1786
  # the same request ID, the server can check if original operation with the same
1787
1787
  # request ID was received, and if so, will ignore the second request. This
1788
1788
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -1832,7 +1832,7 @@ module Google
1832
1832
  # that if you must retry your request, the server will know to ignore the
1833
1833
  # request if it has already been completed. The server will guarantee that for
1834
1834
  # at least 60 minutes after the first request. For example, consider a situation
1835
- # where you make an initial request and t he request times out. If you make the
1835
+ # where you make an initial request and the request times out. If you make the
1836
1836
  # request again with the same request ID, the server can check if original
1837
1837
  # operation with the same request ID was received, and if so, will ignore the
1838
1838
  # second request. This prevents clients from accidentally creating duplicate
@@ -1959,7 +1959,7 @@ module Google
1959
1959
  # must retry your request, the server will know to ignore the request if it has
1960
1960
  # already been completed. The server will guarantee that for at least 60 minutes
1961
1961
  # since the first request. For example, consider a situation where you make an
1962
- # initial request and t he request times out. If you make the request again with
1962
+ # initial request and the request times out. If you make the request again with
1963
1963
  # the same request ID, the server can check if original operation with the same
1964
1964
  # request ID was received, and if so, will ignore the second request. This
1965
1965
  # prevents clients from accidentally creating duplicate commitments. The request
@@ -2007,7 +2007,7 @@ module Google
2007
2007
  # that if you must retry your request, the server will know to ignore the
2008
2008
  # request if it has already been completed. The server will guarantee that for
2009
2009
  # at least 60 minutes after the first request. For example, consider a situation
2010
- # where you make an initial request and t he request times out. If you make the
2010
+ # where you make an initial request and the request times out. If you make the
2011
2011
  # request again with the same request ID, the server can check if original
2012
2012
  # operation with the same request ID was received, and if so, will ignore the
2013
2013
  # second request. This prevents clients from accidentally creating duplicate
@@ -2129,7 +2129,7 @@ module Google
2129
2129
  # must retry your request, the server will know to ignore the request if it has
2130
2130
  # already been completed. The server will guarantee that for at least 60 minutes
2131
2131
  # since the first request. For example, consider a situation where you make an
2132
- # initial request and t he request times out. If you make the request again with
2132
+ # initial request and the request times out. If you make the request again with
2133
2133
  # the same request ID, the server can check if original operation with the same
2134
2134
  # request ID was received, and if so, will ignore the second request. This
2135
2135
  # prevents clients from accidentally creating duplicate commitments. The request
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.24.0
4
+ version: 0.26.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: 2023-01-15 00:00:00.000000000 Z
11
+ date: 2023-02-26 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.9.1
19
+ version: 0.11.0
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.9.1
29
+ version: 0.11.0
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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.26.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: []