google-apis-vmmigration_v1 0.25.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: 6a4a70efab1ec02ab87d0d45ca753e55e1555190aacc6747527882a000d6f200
4
- data.tar.gz: c8a0b6d78a5bc4d9079d2aa3e06b2e6defad0d186dd2f3407f699524f0863a0f
3
+ metadata.gz: ecc78af700bfa5da062edd4be3b06fffe9bd1f0674de1ce7c24e8c7b912da5e9
4
+ data.tar.gz: 4711d42827e375649790a18197e41323350639d78eefdbb10f82779ce0fbcc91
5
5
  SHA512:
6
- metadata.gz: 428bdbd2d45f5fe86c8246dd3ec7895a3cae55c9cd3ffe7619a4474f674780eefa7215bfde088a4c549053359fa6c100210acac1f275cffb84cdc66ebe8cae17
7
- data.tar.gz: 8653e38b219a975891d92ef878cda5c775a7a8a0dfb355d5394367baf9b69911c5709bd477496314005e6642e522e161262cd58119942aa77013e01cdd37796f
6
+ metadata.gz: 9cdd521563ef8ecb7ec34db1b818e9eb102edf446adfb1129f08e972fc206c8f8a9ff393061da5efca2a464f4fde7aabd3b8b507d2a438faeb0664c7bab6298b
7
+ data.tar.gz: a85b29367133a8c056f49243904a8554220055881fdf0e99979276da0d7addfdbd5e57c78534f5da83460ebd929290f760728d916ca1b7c48d13dbdb48d75973
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.25.0 (2023-02-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20230209
@@ -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
 
@@ -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.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230209"
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
 
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.25.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-02-19 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
@@ -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.25.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: []