google-apis-vmmigration_v1alpha1 0.26.0 → 0.28.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: facb95977ba6f5554eb58118068813eb45e96dfcd7fc0674465a732b66ef3779
4
- data.tar.gz: b4586e61b9d889e7836e87827a93a3ab65894d208a2b8b44fca78f7b96d22027
3
+ metadata.gz: 827c7d7a07c85eeb98d36e24d68f53c002b468172084b3cbbe3bcf9770e9ae10
4
+ data.tar.gz: 0f87b3cae4908530a69cecc98390c38e23d37e1a4ce1e3ecce04c0d867f9ab52
5
5
  SHA512:
6
- metadata.gz: a1ed7737b6e2091e3716d472edd88e2bd2af4acc279fd2c3a23c904c9a0898f175c613ead11b1cdc3f55d9f09ae9e536196af67b9b67fbf8b3fea9fb6095f713
7
- data.tar.gz: 22a146d486267c0d5b2b9244b967690137a0142b1bfe8b2cfda8f8db5d8089b84ae6371e84b9bc51cc67f9f3566eafd224f6f687b4ca16d7ce0975f7f06fa981
6
+ metadata.gz: 9de213400e7fa1a309fbf59f83cd7a7094179f58fec27eaf9739f6803874bdf23784c9b4d343eb5fe616a1cb36348bede1c486bb6521b1564f5570389260d37a
7
+ data.tar.gz: '00858d1f206e871c3610fe7968760a76a70f537c66c9170e75e310f779a6876bf459e5494ec3036df7ab39428ec73461d6a7df6d990dfb8a28db456a5db8f824'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmmigration_v1alpha1
2
2
 
3
+ ### v0.28.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230305
6
+
7
+ ### v0.27.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230216
10
+
3
11
  ### v0.26.0 (2023-02-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230209
@@ -1858,6 +1858,12 @@ module Google
1858
1858
  # @return [Hash<String,String>]
1859
1859
  attr_accessor :labels
1860
1860
 
1861
+ # ReplicationCycle contains information about the current replication cycle
1862
+ # status.
1863
+ # Corresponds to the JSON property `lastReplicationCycle`
1864
+ # @return [Google::Apis::VmmigrationV1alpha1::ReplicationCycle]
1865
+ attr_accessor :last_replication_cycle
1866
+
1861
1867
  # ReplicationSync contain information about the last replica sync to the cloud.
1862
1868
  # Corresponds to the JSON property `lastSync`
1863
1869
  # @return [Google::Apis::VmmigrationV1alpha1::ReplicationSync]
@@ -1933,6 +1939,7 @@ module Google
1933
1939
  @error = args[:error] if args.key?(:error)
1934
1940
  @group = args[:group] if args.key?(:group)
1935
1941
  @labels = args[:labels] if args.key?(:labels)
1942
+ @last_replication_cycle = args[:last_replication_cycle] if args.key?(:last_replication_cycle)
1936
1943
  @last_sync = args[:last_sync] if args.key?(:last_sync)
1937
1944
  @name = args[:name] if args.key?(:name)
1938
1945
  @policy = args[:policy] if args.key?(:policy)
@@ -1994,6 +2001,53 @@ module Google
1994
2001
  end
1995
2002
  end
1996
2003
 
2004
+ # Represents migration resource warning information that can be used with google.
2005
+ # rpc.Status message. MigrationWarning is used to present the user with warning
2006
+ # information in migration operations.
2007
+ class MigrationWarning
2008
+ include Google::Apis::Core::Hashable
2009
+
2010
+ # Provides a localized error message that is safe to return to the user which
2011
+ # can be attached to an RPC error.
2012
+ # Corresponds to the JSON property `actionItem`
2013
+ # @return [Google::Apis::VmmigrationV1alpha1::LocalizedMessage]
2014
+ attr_accessor :action_item
2015
+
2016
+ # The warning code.
2017
+ # Corresponds to the JSON property `code`
2018
+ # @return [String]
2019
+ attr_accessor :code
2020
+
2021
+ # URL(s) pointing to additional information on handling the current warning.
2022
+ # Corresponds to the JSON property `helpLinks`
2023
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::Link>]
2024
+ attr_accessor :help_links
2025
+
2026
+ # Provides a localized error message that is safe to return to the user which
2027
+ # can be attached to an RPC error.
2028
+ # Corresponds to the JSON property `warningMessage`
2029
+ # @return [Google::Apis::VmmigrationV1alpha1::LocalizedMessage]
2030
+ attr_accessor :warning_message
2031
+
2032
+ # The time the warning occurred.
2033
+ # Corresponds to the JSON property `warningTime`
2034
+ # @return [String]
2035
+ attr_accessor :warning_time
2036
+
2037
+ def initialize(**args)
2038
+ update!(**args)
2039
+ end
2040
+
2041
+ # Update properties of this object
2042
+ def update!(**args)
2043
+ @action_item = args[:action_item] if args.key?(:action_item)
2044
+ @code = args[:code] if args.key?(:code)
2045
+ @help_links = args[:help_links] if args.key?(:help_links)
2046
+ @warning_message = args[:warning_message] if args.key?(:warning_message)
2047
+ @warning_time = args[:warning_time] if args.key?(:warning_time)
2048
+ end
2049
+ end
2050
+
1997
2051
  # NetworkInterface represents a NIC of a VM.
1998
2052
  class NetworkInterface
1999
2053
  include Google::Apis::Core::Hashable
@@ -2309,6 +2363,11 @@ module Google
2309
2363
  # @return [String]
2310
2364
  attr_accessor :total_pause_duration
2311
2365
 
2366
+ # Output only. Warnings that occurred during the cycle.
2367
+ # Corresponds to the JSON property `warnings`
2368
+ # @return [Array<Google::Apis::VmmigrationV1alpha1::MigrationWarning>]
2369
+ attr_accessor :warnings
2370
+
2312
2371
  def initialize(**args)
2313
2372
  update!(**args)
2314
2373
  end
@@ -2325,6 +2384,7 @@ module Google
2325
2384
  @state = args[:state] if args.key?(:state)
2326
2385
  @steps = args[:steps] if args.key?(:steps)
2327
2386
  @total_pause_duration = args[:total_pause_duration] if args.key?(:total_pause_duration)
2387
+ @warnings = args[:warnings] if args.key?(:warnings)
2328
2388
  end
2329
2389
  end
2330
2390
 
@@ -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.26.0"
19
+ GEM_VERSION = "0.28.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 = "20230305"
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
 
@@ -973,6 +979,8 @@ module Google
973
979
 
974
980
  property :group, as: 'group'
975
981
  hash :labels, as: 'labels'
982
+ property :last_replication_cycle, as: 'lastReplicationCycle', class: Google::Apis::VmmigrationV1alpha1::ReplicationCycle, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationCycle::Representation
983
+
976
984
  property :last_sync, as: 'lastSync', class: Google::Apis::VmmigrationV1alpha1::ReplicationSync, decorator: Google::Apis::VmmigrationV1alpha1::ReplicationSync::Representation
977
985
 
978
986
  property :name, as: 'name'
@@ -1005,6 +1013,20 @@ module Google
1005
1013
  end
1006
1014
  end
1007
1015
 
1016
+ class MigrationWarning
1017
+ # @private
1018
+ class Representation < Google::Apis::Core::JsonRepresentation
1019
+ property :action_item, as: 'actionItem', class: Google::Apis::VmmigrationV1alpha1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1alpha1::LocalizedMessage::Representation
1020
+
1021
+ property :code, as: 'code'
1022
+ collection :help_links, as: 'helpLinks', class: Google::Apis::VmmigrationV1alpha1::Link, decorator: Google::Apis::VmmigrationV1alpha1::Link::Representation
1023
+
1024
+ property :warning_message, as: 'warningMessage', class: Google::Apis::VmmigrationV1alpha1::LocalizedMessage, decorator: Google::Apis::VmmigrationV1alpha1::LocalizedMessage::Representation
1025
+
1026
+ property :warning_time, as: 'warningTime'
1027
+ end
1028
+ end
1029
+
1008
1030
  class NetworkInterface
1009
1031
  # @private
1010
1032
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1090,6 +1112,8 @@ module Google
1090
1112
  collection :steps, as: 'steps', class: Google::Apis::VmmigrationV1alpha1::CycleStep, decorator: Google::Apis::VmmigrationV1alpha1::CycleStep::Representation
1091
1113
 
1092
1114
  property :total_pause_duration, as: 'totalPauseDuration'
1115
+ collection :warnings, as: 'warnings', class: Google::Apis::VmmigrationV1alpha1::MigrationWarning, decorator: Google::Apis::VmmigrationV1alpha1::MigrationWarning::Representation
1116
+
1093
1117
  end
1094
1118
  end
1095
1119
 
@@ -511,13 +511,7 @@ module Google
511
511
  end
512
512
 
513
513
  # Lists operations that match the specified filter in the request. If the server
514
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
515
- # binding allows API services to override the binding to use different resource
516
- # name schemes, such as `users/*/operations`. To override the binding, API
517
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
518
- # service configuration. For backwards compatibility, the default name includes
519
- # the operations collection id, however overriding users must ensure the name
520
- # binding is the parent resource, without the operations collection id.
514
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
521
515
  # @param [String] name
522
516
  # The name of the operation's parent resource.
523
517
  # @param [String] filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmmigration_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.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-03-19 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []