google-apis-vmmigration_v1 0.6.0 → 0.9.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: e94ebfdfed9686ab5de9785cd89f726576269d8d3d8a0e2ebd283be1ec6df264
4
+ data.tar.gz: 4ed12a1a4d923dc4f68196f4a4c5902fc5bf1200c0c2b892c43f7233162f3bd1
5
5
  SHA512:
6
- metadata.gz: 618115536fffd30fc1aff64eccbeb84e4174dabf867578d926e72eddf25d3c5bdfe8d64c70320babefe1713f2753fe44764b97a590f9f2e3c127e97f371597bc
7
- data.tar.gz: b23996710da1ded08daefe419c61e804e5b31bac47ea9d33ab0d30049d870cd6f467a9425e4a7c0451d6c518bcc4cb44e127e0541525eaa61b203ba3078c559b
6
+ metadata.gz: 3f9ffcafe34cb94cb0fd127d1f95da64cd4945c5a7443c4a5ccdbfc71e30131dc74e86937cfc4b6f61b918985185769a113eb5dd4a8b8fe6b5887228b9112f4e
7
+ data.tar.gz: 30dc99bf5b93fda591a09d555d08d5b492bc3c7627b40f2be65a20da6d916e2d475e253765e8284424f46dfd18b1803df7c5a13615dbc47dd2bd671b29c0fb8b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.9.0 (2022-04-08)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
7
+ ### v0.8.0 (2022-04-02)
8
+
9
+ * Regenerated from discovery document revision 20220327
10
+
11
+ ### v0.7.0 (2022-02-10)
12
+
13
+ * Regenerated from discovery document revision 20220203
14
+
3
15
  ### v0.6.0 (2022-02-01)
4
16
 
5
17
  * 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
@@ -129,6 +192,11 @@ module Google
129
192
  # @return [String]
130
193
  attr_accessor :create_time
131
194
 
195
+ # Output only. The time the clone job was ended.
196
+ # Corresponds to the JSON property `endTime`
197
+ # @return [String]
198
+ attr_accessor :end_time
199
+
132
200
  # The `Status` type defines a logical error model that is suitable for different
133
201
  # programming environments, including REST APIs and RPC APIs. It is used by [
134
202
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -139,7 +207,7 @@ module Google
139
207
  # @return [Google::Apis::VmmigrationV1::Status]
140
208
  attr_accessor :error
141
209
 
142
- # The name of the clone.
210
+ # Output only. The name of the clone.
143
211
  # Corresponds to the JSON property `name`
144
212
  # @return [String]
145
213
  attr_accessor :name
@@ -162,6 +230,7 @@ module Google
162
230
  def update!(**args)
163
231
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
164
232
  @create_time = args[:create_time] if args.key?(:create_time)
233
+ @end_time = args[:end_time] if args.key?(:end_time)
165
234
  @error = args[:error] if args.key?(:error)
166
235
  @name = args[:name] if args.key?(:name)
167
236
  @state = args[:state] if args.key?(:state)
@@ -470,6 +539,11 @@ module Google
470
539
  # @return [String]
471
540
  attr_accessor :create_time
472
541
 
542
+ # Output only. The time the cutover job had finished.
543
+ # Corresponds to the JSON property `endTime`
544
+ # @return [String]
545
+ attr_accessor :end_time
546
+
473
547
  # The `Status` type defines a logical error model that is suitable for different
474
548
  # programming environments, including REST APIs and RPC APIs. It is used by [
475
549
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -514,6 +588,7 @@ module Google
514
588
  def update!(**args)
515
589
  @compute_engine_target_details = args[:compute_engine_target_details] if args.key?(:compute_engine_target_details)
516
590
  @create_time = args[:create_time] if args.key?(:create_time)
591
+ @end_time = args[:end_time] if args.key?(:end_time)
517
592
  @error = args[:error] if args.key?(:error)
518
593
  @name = args[:name] if args.key?(:name)
519
594
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
@@ -529,6 +604,24 @@ module Google
529
604
  class DatacenterConnector
530
605
  include Google::Apis::Core::Hashable
531
606
 
607
+ # Output only. Appliance OVA version. This is the OVA which is manually
608
+ # installed by the user and contains the infrastructure for the automatically
609
+ # updatable components on the appliance.
610
+ # Corresponds to the JSON property `applianceInfrastructureVersion`
611
+ # @return [String]
612
+ attr_accessor :appliance_infrastructure_version
613
+
614
+ # Output only. Appliance last installed update bundle version. This is the
615
+ # version of the automatically updatable components on the appliance.
616
+ # Corresponds to the JSON property `applianceSoftwareVersion`
617
+ # @return [String]
618
+ attr_accessor :appliance_software_version
619
+
620
+ # Holds informatiom about the available versions for upgrade.
621
+ # Corresponds to the JSON property `availableVersions`
622
+ # @return [Google::Apis::VmmigrationV1::AvailableUpdates]
623
+ attr_accessor :available_versions
624
+
532
625
  # Output only. The communication channel between the datacenter connector and
533
626
  # GCP.
534
627
  # Corresponds to the JSON property `bucket`
@@ -584,6 +677,11 @@ module Google
584
677
  # @return [String]
585
678
  attr_accessor :update_time
586
679
 
680
+ # UpgradeStatus contains information about upgradeAppliance operation.
681
+ # Corresponds to the JSON property `upgradeStatus`
682
+ # @return [Google::Apis::VmmigrationV1::UpgradeStatus]
683
+ attr_accessor :upgrade_status
684
+
587
685
  # The version running in the DatacenterConnector. This is supplied by the OVA
588
686
  # connector during the registration process and can not be modified.
589
687
  # Corresponds to the JSON property `version`
@@ -596,6 +694,9 @@ module Google
596
694
 
597
695
  # Update properties of this object
598
696
  def update!(**args)
697
+ @appliance_infrastructure_version = args[:appliance_infrastructure_version] if args.key?(:appliance_infrastructure_version)
698
+ @appliance_software_version = args[:appliance_software_version] if args.key?(:appliance_software_version)
699
+ @available_versions = args[:available_versions] if args.key?(:available_versions)
599
700
  @bucket = args[:bucket] if args.key?(:bucket)
600
701
  @create_time = args[:create_time] if args.key?(:create_time)
601
702
  @error = args[:error] if args.key?(:error)
@@ -605,6 +706,7 @@ module Google
605
706
  @state = args[:state] if args.key?(:state)
606
707
  @state_time = args[:state_time] if args.key?(:state_time)
607
708
  @update_time = args[:update_time] if args.key?(:update_time)
709
+ @upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
608
710
  @version = args[:version] if args.key?(:version)
609
711
  end
610
712
  end
@@ -612,8 +714,7 @@ module Google
612
714
  # A generic empty message that you can re-use to avoid defining duplicated empty
613
715
  # messages in your APIs. A typical example is to use it as the request or the
614
716
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
615
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
616
- # `Empty` is empty JSON object ````.
717
+ # protobuf.Empty) returns (google.protobuf.Empty); `
617
718
  class Empty
618
719
  include Google::Apis::Core::Hashable
619
720
 
@@ -685,7 +786,7 @@ module Google
685
786
  # @return [String]
686
787
  attr_accessor :display_name
687
788
 
688
- # The Group name.
789
+ # Output only. The Group name.
689
790
  # Corresponds to the JSON property `name`
690
791
  # @return [String]
691
792
  attr_accessor :name
@@ -1724,7 +1825,7 @@ module Google
1724
1825
  # @return [String]
1725
1826
  attr_accessor :description
1726
1827
 
1727
- # The name of the target project.
1828
+ # Output only. The name of the target project.
1728
1829
  # Corresponds to the JSON property `name`
1729
1830
  # @return [String]
1730
1831
  attr_accessor :name
@@ -1753,6 +1854,82 @@ module Google
1753
1854
  end
1754
1855
  end
1755
1856
 
1857
+ # Request message for 'UpgradeAppliance' request.
1858
+ class UpgradeApplianceRequest
1859
+ include Google::Apis::Core::Hashable
1860
+
1861
+ # A request ID to identify requests. Specify a unique request ID so that if you
1862
+ # must retry your request, the server will know to ignore the request if it has
1863
+ # already been completed. The server will guarantee that for at least 60 minutes
1864
+ # after the first request. For example, consider a situation where you make an
1865
+ # initial request and t he request times out. If you make the request again with
1866
+ # the same request ID, the server can check if original operation with the same
1867
+ # request ID was received, and if so, will ignore the second request. This
1868
+ # prevents clients from accidentally creating duplicate commitments. The request
1869
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
1870
+ # 00000000-0000-0000-0000-000000000000).
1871
+ # Corresponds to the JSON property `requestId`
1872
+ # @return [String]
1873
+ attr_accessor :request_id
1874
+
1875
+ def initialize(**args)
1876
+ update!(**args)
1877
+ end
1878
+
1879
+ # Update properties of this object
1880
+ def update!(**args)
1881
+ @request_id = args[:request_id] if args.key?(:request_id)
1882
+ end
1883
+ end
1884
+
1885
+ # UpgradeStatus contains information about upgradeAppliance operation.
1886
+ class UpgradeStatus
1887
+ include Google::Apis::Core::Hashable
1888
+
1889
+ # The `Status` type defines a logical error model that is suitable for different
1890
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1891
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1892
+ # data: error code, error message, and error details. You can find out more
1893
+ # about this error model and how to work with it in the [API Design Guide](https:
1894
+ # //cloud.google.com/apis/design/errors).
1895
+ # Corresponds to the JSON property `error`
1896
+ # @return [Google::Apis::VmmigrationV1::Status]
1897
+ attr_accessor :error
1898
+
1899
+ # The version from which we upgraded.
1900
+ # Corresponds to the JSON property `previousVersion`
1901
+ # @return [String]
1902
+ attr_accessor :previous_version
1903
+
1904
+ # The time the operation was started.
1905
+ # Corresponds to the JSON property `startTime`
1906
+ # @return [String]
1907
+ attr_accessor :start_time
1908
+
1909
+ # The state of the upgradeAppliance operation.
1910
+ # Corresponds to the JSON property `state`
1911
+ # @return [String]
1912
+ attr_accessor :state
1913
+
1914
+ # The version to upgrade to.
1915
+ # Corresponds to the JSON property `version`
1916
+ # @return [String]
1917
+ attr_accessor :version
1918
+
1919
+ def initialize(**args)
1920
+ update!(**args)
1921
+ end
1922
+
1923
+ # Update properties of this object
1924
+ def update!(**args)
1925
+ @error = args[:error] if args.key?(:error)
1926
+ @previous_version = args[:previous_version] if args.key?(:previous_version)
1927
+ @start_time = args[:start_time] if args.key?(:start_time)
1928
+ @state = args[:state] if args.key?(:state)
1929
+ @version = args[:version] if args.key?(:version)
1930
+ end
1931
+ end
1932
+
1756
1933
  # Utilization report details the utilization (CPU, memory, etc.) of selected
1757
1934
  # source VMs.
1758
1935
  class UtilizationReport
@@ -2010,8 +2187,9 @@ module Google
2010
2187
  # @return [String]
2011
2188
  attr_accessor :display_name
2012
2189
 
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
2190
+ # The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-
2191
+ # public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-
2192
+ # 746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of
2015
2193
  # strings this might hold.
2016
2194
  # Corresponds to the JSON property `guestDescription`
2017
2195
  # @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.9.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 = "20220401"
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
@@ -361,6 +405,7 @@ module Google
361
405
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
362
406
 
363
407
  property :create_time, as: 'createTime'
408
+ property :end_time, as: 'endTime'
364
409
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
365
410
 
366
411
  property :name, as: 'name'
@@ -438,6 +483,7 @@ module Google
438
483
  property :compute_engine_target_details, as: 'computeEngineTargetDetails', class: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails, decorator: Google::Apis::VmmigrationV1::ComputeEngineTargetDetails::Representation
439
484
 
440
485
  property :create_time, as: 'createTime'
486
+ property :end_time, as: 'endTime'
441
487
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
442
488
 
443
489
  property :name, as: 'name'
@@ -451,6 +497,10 @@ module Google
451
497
  class DatacenterConnector
452
498
  # @private
453
499
  class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :appliance_infrastructure_version, as: 'applianceInfrastructureVersion'
501
+ property :appliance_software_version, as: 'applianceSoftwareVersion'
502
+ property :available_versions, as: 'availableVersions', class: Google::Apis::VmmigrationV1::AvailableUpdates, decorator: Google::Apis::VmmigrationV1::AvailableUpdates::Representation
503
+
454
504
  property :bucket, as: 'bucket'
455
505
  property :create_time, as: 'createTime'
456
506
  property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
@@ -461,6 +511,8 @@ module Google
461
511
  property :state, as: 'state'
462
512
  property :state_time, as: 'stateTime'
463
513
  property :update_time, as: 'updateTime'
514
+ property :upgrade_status, as: 'upgradeStatus', class: Google::Apis::VmmigrationV1::UpgradeStatus, decorator: Google::Apis::VmmigrationV1::UpgradeStatus::Representation
515
+
464
516
  property :version, as: 'version'
465
517
  end
466
518
  end
@@ -791,6 +843,25 @@ module Google
791
843
  end
792
844
  end
793
845
 
846
+ class UpgradeApplianceRequest
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ property :request_id, as: 'requestId'
850
+ end
851
+ end
852
+
853
+ class UpgradeStatus
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :error, as: 'error', class: Google::Apis::VmmigrationV1::Status, decorator: Google::Apis::VmmigrationV1::Status::Representation
857
+
858
+ property :previous_version, as: 'previousVersion'
859
+ property :start_time, as: 'startTime'
860
+ property :state, as: 'state'
861
+ property :version, as: 'version'
862
+ end
863
+ end
864
+
794
865
  class UtilizationReport
795
866
  # @private
796
867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,8 +84,8 @@ module Google
84
84
  # The resource that owns the locations collection, if applicable.
85
85
  # @param [String] filter
86
86
  # A filter to narrow down results to a preferred subset. The filtering language
87
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
- # AIP-160](https://google.aip.dev/160).
87
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
88
+ # in [AIP-160](https://google.aip.dev/160).
89
89
  # @param [Fixnum] page_size
90
90
  # The maximum number of results to return. If not set, the service selects a
91
91
  # default.
@@ -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.9.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-04-11 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.9.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: []