google-apis-vmmigration_v1 0.6.0 → 0.7.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: 8f077041c15e05d22580436f4fdf632a3ea65fd380bb723f277833f9e6473012
4
- data.tar.gz: 28b30937ff3ccf001478c59fb6c263950902f934b0917838dd0ca29291243e72
3
+ metadata.gz: e912f843874f8f27692e19fe6e12ca33b0f04b7f35cbef7c1392ae0b1d4c83a8
4
+ data.tar.gz: 1bc936874513f656f94661dab914ad65d9f5c484dda5ef559563d34c1a9a2ea0
5
5
  SHA512:
6
- metadata.gz: 618115536fffd30fc1aff64eccbeb84e4174dabf867578d926e72eddf25d3c5bdfe8d64c70320babefe1713f2753fe44764b97a590f9f2e3c127e97f371597bc
7
- data.tar.gz: b23996710da1ded08daefe419c61e804e5b31bac47ea9d33ab0d30049d870cd6f467a9425e4a7c0451d6c518bcc4cb44e127e0541525eaa61b203ba3078c559b
6
+ metadata.gz: 0aa12df49818b1dc0f1db8c268908b3dd7550ee7b4bab5a0494820c614b2bfc67ef0ef8a5d6a910ec20c1b486184d1f8bee225f61bea89156ca207d70fe8197d
7
+ data.tar.gz: 7e6c013a15abc23fcd4b25ec4551cd035217e4e13ff21b44cb27ffe3a23d16081e4deb3a94b6cdec2b00d2aa73b0c60dbbafebb8dde84ac40ac79c18e5e401c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.7.0 (2022-02-10)
4
+
5
+ * Regenerated from discovery document revision 20220203
6
+
3
7
  ### v0.6.0 (2022-02-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20220120
@@ -41,6 +41,44 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
+ # Describes an appliance version.
45
+ class ApplianceVersion
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # Determine whether it's critical to upgrade the appliance to this version.
49
+ # Corresponds to the JSON property `critical`
50
+ # @return [Boolean]
51
+ attr_accessor :critical
52
+ alias_method :critical?, :critical
53
+
54
+ # Link to a page that contains the version release notes.
55
+ # Corresponds to the JSON property `releaseNotesUri`
56
+ # @return [String]
57
+ attr_accessor :release_notes_uri
58
+
59
+ # A link for downloading the version.
60
+ # Corresponds to the JSON property `uri`
61
+ # @return [String]
62
+ attr_accessor :uri
63
+
64
+ # The appliance version.
65
+ # Corresponds to the JSON property `version`
66
+ # @return [String]
67
+ attr_accessor :version
68
+
69
+ def initialize(**args)
70
+ update!(**args)
71
+ end
72
+
73
+ # Update properties of this object
74
+ def update!(**args)
75
+ @critical = args[:critical] if args.key?(:critical)
76
+ @release_notes_uri = args[:release_notes_uri] if args.key?(:release_notes_uri)
77
+ @uri = args[:uri] if args.key?(:uri)
78
+ @version = args[:version] if args.key?(:version)
79
+ end
80
+ end
81
+
44
82
  # AppliedLicense holds the license data returned by adaptation module report.
45
83
  class AppliedLicense
46
84
  include Google::Apis::Core::Hashable
@@ -66,6 +104,31 @@ module Google
66
104
  end
67
105
  end
68
106
 
107
+ # Holds informatiom about the available versions for upgrade.
108
+ class AvailableUpdates
109
+ include Google::Apis::Core::Hashable
110
+
111
+ # Describes an appliance version.
112
+ # Corresponds to the JSON property `inPlaceUpdate`
113
+ # @return [Google::Apis::VmmigrationV1::ApplianceVersion]
114
+ attr_accessor :in_place_update
115
+
116
+ # Describes an appliance version.
117
+ # Corresponds to the JSON property `newDeployableAppliance`
118
+ # @return [Google::Apis::VmmigrationV1::ApplianceVersion]
119
+ attr_accessor :new_deployable_appliance
120
+
121
+ def initialize(**args)
122
+ update!(**args)
123
+ end
124
+
125
+ # Update properties of this object
126
+ def update!(**args)
127
+ @in_place_update = args[:in_place_update] if args.key?(:in_place_update)
128
+ @new_deployable_appliance = args[:new_deployable_appliance] if args.key?(:new_deployable_appliance)
129
+ end
130
+ end
131
+
69
132
  # Request message for 'CancelCloneJob' request.
70
133
  class CancelCloneJobRequest
71
134
  include Google::Apis::Core::Hashable
@@ -139,7 +202,7 @@ module Google
139
202
  # @return [Google::Apis::VmmigrationV1::Status]
140
203
  attr_accessor :error
141
204
 
142
- # The name of the clone.
205
+ # Output only. The name of the clone.
143
206
  # Corresponds to the JSON property `name`
144
207
  # @return [String]
145
208
  attr_accessor :name
@@ -529,6 +592,24 @@ module Google
529
592
  class DatacenterConnector
530
593
  include Google::Apis::Core::Hashable
531
594
 
595
+ # Output only. Appliance OVA version. This is the OVA which is manually
596
+ # installed by the user and contains the infrastructure for the automatically
597
+ # updatable components on the appliance.
598
+ # Corresponds to the JSON property `applianceInfrastructureVersion`
599
+ # @return [String]
600
+ attr_accessor :appliance_infrastructure_version
601
+
602
+ # Output only. Appliance last installed update bundle version. This is the
603
+ # version of the automatically updatable components on the appliance.
604
+ # Corresponds to the JSON property `applianceSoftwareVersion`
605
+ # @return [String]
606
+ attr_accessor :appliance_software_version
607
+
608
+ # Holds informatiom about the available versions for upgrade.
609
+ # Corresponds to the JSON property `availableVersions`
610
+ # @return [Google::Apis::VmmigrationV1::AvailableUpdates]
611
+ attr_accessor :available_versions
612
+
532
613
  # Output only. The communication channel between the datacenter connector and
533
614
  # GCP.
534
615
  # Corresponds to the JSON property `bucket`
@@ -584,6 +665,11 @@ module Google
584
665
  # @return [String]
585
666
  attr_accessor :update_time
586
667
 
668
+ # UpgradeStatus contains information about upgradeAppliance operation.
669
+ # Corresponds to the JSON property `upgradeStatus`
670
+ # @return [Google::Apis::VmmigrationV1::UpgradeStatus]
671
+ attr_accessor :upgrade_status
672
+
587
673
  # The version running in the DatacenterConnector. This is supplied by the OVA
588
674
  # connector during the registration process and can not be modified.
589
675
  # Corresponds to the JSON property `version`
@@ -596,6 +682,9 @@ module Google
596
682
 
597
683
  # Update properties of this object
598
684
  def update!(**args)
685
+ @appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
686
+ @appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
687
+ @available_versions = args[:available_versions] if args.key?(:available_versions)
599
688
  @bucket = args[:bucket] if args.key?(:bucket)
600
689
  @create_time = args[:create_time] if args.key?(:create_time)
601
690
  @error = args[:error] if args.key?(:error)
@@ -605,6 +694,7 @@ module Google
605
694
  @state = args[:state] if args.key?(:state)
606
695
  @state_time = args[:state_time] if args.key?(:state_time)
607
696
  @update_time = args[:update_time] if args.key?(:update_time)
697
+ @upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
608
698
  @version = args[:version] if args.key?(:version)
609
699
  end
610
700
  end
@@ -685,7 +775,7 @@ module Google
685
775
  # @return [String]
686
776
  attr_accessor :display_name
687
777
 
688
- # The Group name.
778
+ # Output only. The Group name.
689
779
  # Corresponds to the JSON property `name`
690
780
  # @return [String]
691
781
  attr_accessor :name
@@ -1724,7 +1814,7 @@ module Google
1724
1814
  # @return [String]
1725
1815
  attr_accessor :description
1726
1816
 
1727
- # The name of the target project.
1817
+ # Output only. The name of the target project.
1728
1818
  # Corresponds to the JSON property `name`
1729
1819
  # @return [String]
1730
1820
  attr_accessor :name
@@ -1753,6 +1843,82 @@ module Google
1753
1843
  end
1754
1844
  end
1755
1845
 
1846
+ # Request message for 'UpgradeAppliance' request.
1847
+ class UpgradeApplianceRequest
1848
+ include Google::Apis::Core::Hashable
1849
+
1850
+ # A request ID to identify requests. Specify a unique request ID so that if you
1851
+ # must retry your request, the server will know to ignore the request if it has
1852
+ # already been completed. The server will guarantee that for at least 60 minutes
1853
+ # after the first request. For example, consider a situation where you make an
1854
+ # initial request and t he request times out. If you make the request again with
1855
+ # the same request ID, the server can check if original operation with the same
1856
+ # request ID was received, and if so, will ignore the second request. This
1857
+ # prevents clients from accidentally creating duplicate commitments. The request
1858
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
1859
+ # 00000000-0000-0000-0000-000000000000).
1860
+ # Corresponds to the JSON property `requestId`
1861
+ # @return [String]
1862
+ attr_accessor :request_id
1863
+
1864
+ def initialize(**args)
1865
+ update!(**args)
1866
+ end
1867
+
1868
+ # Update properties of this object
1869
+ def update!(**args)
1870
+ @request_id = args[:request_id] if args.key?(:request_id)
1871
+ end
1872
+ end
1873
+
1874
+ # UpgradeStatus contains information about upgradeAppliance operation.
1875
+ class UpgradeStatus
1876
+ include Google::Apis::Core::Hashable
1877
+
1878
+ # The `Status` type defines a logical error model that is suitable for different
1879
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1880
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1881
+ # data: error code, error message, and error details. You can find out more
1882
+ # about this error model and how to work with it in the [API Design Guide](https:
1883
+ # //cloud.google.com/apis/design/errors).
1884
+ # Corresponds to the JSON property `error`
1885
+ # @return [Google::Apis::VmmigrationV1::Status]
1886
+ attr_accessor :error
1887
+
1888
+ # The version from which we upgraded.
1889
+ # Corresponds to the JSON property `previousVersion`
1890
+ # @return [String]
1891
+ attr_accessor :previous_version
1892
+
1893
+ # The time the operation was started.
1894
+ # Corresponds to the JSON property `startTime`
1895
+ # @return [String]
1896
+ attr_accessor :start_time
1897
+
1898
+ # The state of the upgradeAppliance operation.
1899
+ # Corresponds to the JSON property `state`
1900
+ # @return [String]
1901
+ attr_accessor :state
1902
+
1903
+ # The version to upgrade to.
1904
+ # Corresponds to the JSON property `version`
1905
+ # @return [String]
1906
+ attr_accessor :version
1907
+
1908
+ def initialize(**args)
1909
+ update!(**args)
1910
+ end
1911
+
1912
+ # Update properties of this object
1913
+ def update!(**args)
1914
+ @error = args[:error] if args.key?(:error)
1915
+ @previous_version = args[:previous_version] if args.key?(:previous_version)
1916
+ @start_time = args[:start_time] if args.key?(:start_time)
1917
+ @state = args[:state] if args.key?(:state)
1918
+ @version = args[:version] if args.key?(:version)
1919
+ end
1920
+ end
1921
+
1756
1922
  # Utilization report details the utilization (CPU, memory, etc.) of selected
1757
1923
  # source VMs.
1758
1924
  class UtilizationReport
@@ -2010,8 +2176,9 @@ module Google
2010
2176
  # @return [String]
2011
2177
  attr_accessor :display_name
2012
2178
 
2013
- # The VM's OS. See for example https://pubs.vmware.com/vi-sdk/visdk250/
2014
- # ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2179
+ # The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
2180
+ # public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
2181
+ # 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2015
2182
  # strings this might hold.
2016
2183
  # Corresponds to the JSON property `guestDescription`
2017
2184
  # @return [String]
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220120"
25
+ REVISION = "20220203"
26
26
  end
27
27
  end
28
28
  end
@@ -28,12 +28,24 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class ApplianceVersion
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AppliedLicense
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
34
40
  include Google::Apis::Core::JsonObjectSupport
35
41
  end
36
42
 
43
+ class AvailableUpdates
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class CancelCloneJobRequest
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -286,6 +298,18 @@ module Google
286
298
  include Google::Apis::Core::JsonObjectSupport
287
299
  end
288
300
 
301
+ class UpgradeApplianceRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class UpgradeStatus
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
289
313
  class UtilizationReport
290
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
315
 
@@ -329,6 +353,16 @@ module Google
329
353
  end
330
354
  end
331
355
 
356
+ class ApplianceVersion
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :critical, as: 'critical'
360
+ property :release_notes_uri, as: 'releaseNotesUri'
361
+ property :uri, as: 'uri'
362
+ property :version, as: 'version'
363
+ end
364
+ end
365
+
332
366
  class AppliedLicense
333
367
  # @private
334
368
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -337,6 +371,16 @@ module Google
337
371
  end
338
372
  end
339
373
 
374
+ class AvailableUpdates
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :in_place_update, as: 'inPlaceUpdate', class: Google::Apis::VmmigrationV1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1::ApplianceVersion::Representation
378
+
379
+ property :new_deployable_appliance, as: 'newDeployableAppliance', class: Google::Apis::VmmigrationV1::ApplianceVersion, decorator: Google::Apis::VmmigrationV1::ApplianceVersion::Representation
380
+
381
+ end
382
+ end
383
+
340
384
  class CancelCloneJobRequest
341
385
  # @private
342
386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -451,6 +495,10 @@ module Google
451
495
  class DatacenterConnector
452
496
  # @private
453
497
  class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
499
+ property :appliance_software_version, as: 'applianceSoftwareVersion'
500
+ property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1::AvailableUpdates::Representation
501
+
454
502
  property :bucket, as: 'bucket'
455
503
  property :create_time, as: 'createTime'
456
504
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
@@ -461,6 +509,8 @@ module Google
461
509
  property :state, as: 'state'
462
510
  property :state_time, as: 'stateTime'
463
511
  property :update_time, as: 'updateTime'
512
+ property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1::UpgradeStatus::Representation
513
+
464
514
  property :version, as: 'version'
465
515
  end
466
516
  end
@@ -791,6 +841,25 @@ module Google
791
841
  end
792
842
  end
793
843
 
844
+ class UpgradeApplianceRequest
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :request_id, as: 'requestId'
848
+ end
849
+ end
850
+
851
+ class UpgradeStatus
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
855
+
856
+ property :previous_version, as: 'previousVersion'
857
+ property :start_time, as: 'startTime'
858
+ property :state, as: 'state'
859
+ property :version, as: 'version'
860
+ end
861
+ end
862
+
794
863
  class UtilizationReport
795
864
  # @private
796
865
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -323,7 +323,7 @@ module Google
323
323
 
324
324
  # Updates the parameters of a single Group.
325
325
  # @param [String] name
326
- # The Group name.
326
+ # Output only. The Group name.
327
327
  # @param [Google::Apis::VmmigrationV1::Group] group_object
328
328
  # @param [String] request_id
329
329
  # A request ID to identify requests. Specify a unique request ID so that if you
@@ -981,6 +981,40 @@ module Google
981
981
  execute_or_queue_command(command, &block)
982
982
  end
983
983
 
984
+ # Upgrades the appliance relate to this DatacenterConnector to the in-place
985
+ # updateable version.
986
+ # @param [String] datacenter_connector
987
+ # Required. The DatacenterConnector name.
988
+ # @param [Google::Apis::VmmigrationV1::UpgradeApplianceRequest] upgrade_appliance_request_object
989
+ # @param [String] fields
990
+ # Selector specifying which fields to include in a partial response.
991
+ # @param [String] quota_user
992
+ # Available to use for quota purposes for server-side applications. Can be any
993
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
994
+ # @param [Google::Apis::RequestOptions] options
995
+ # Request-specific options
996
+ #
997
+ # @yield [result, err] Result & error if block supplied
998
+ # @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
999
+ # @yieldparam err [StandardError] error object if request failed
1000
+ #
1001
+ # @return [Google::Apis::VmmigrationV1::Operation]
1002
+ #
1003
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1004
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1005
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1006
+ def upgrade_datacenter_connector_appliance(datacenter_connector, upgrade_appliance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1007
+ command = make_simple_command(:post, 'v1/{+datacenterConnector}:upgradeAppliance', options)
1008
+ command.request_representation = Google::Apis::VmmigrationV1::UpgradeApplianceRequest::Representation
1009
+ command.request_object = upgrade_appliance_request_object
1010
+ command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
1011
+ command.response_class = Google::Apis::VmmigrationV1::Operation
1012
+ command.params['datacenterConnector'] = datacenter_connector unless datacenter_connector.nil?
1013
+ command.query['fields'] = fields unless fields.nil?
1014
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1015
+ execute_or_queue_command(command, &block)
1016
+ end
1017
+
984
1018
  # Creates a new MigratingVm in a given Source.
985
1019
  # @param [String] parent
986
1020
  # Required. The MigratingVm's parent.
@@ -1999,7 +2033,7 @@ module Google
1999
2033
  # Updates the parameters of a single TargetProject. NOTE: TargetProject is a
2000
2034
  # global resource; hence the only supported value for location is `global`.
2001
2035
  # @param [String] name
2002
- # The name of the target project.
2036
+ # Output only. The name of the target project.
2003
2037
  # @param [Google::Apis::VmmigrationV1::TargetProject] target_project_object
2004
2038
  # @param [String] request_id
2005
2039
  # A request ID to identify requests. Specify a unique request ID so that if you
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.6.0
4
+ version: 0.7.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-02-07 00:00:00.000000000 Z
11
+ date: 2022-02-14 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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.7.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: []