google-apis-vmmigration_v1 0.50.0 → 0.52.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: ce978759a6f2b8c8f78cbc8613521b261a8295a750f8d022004ec6b0394e558a
4
- data.tar.gz: 9fb2764a09915861159b5be307015f35949aee55427f89760d9ecf98e6909186
3
+ metadata.gz: c74ac1c7a0fce5da0d082840da7503b81502c542504e050af43d80af5348676d
4
+ data.tar.gz: 0fa42b3a9424f27828018a70e853261f51c3ac50ca20a4327819fac320d26a9a
5
5
  SHA512:
6
- metadata.gz: 50fd6d51d8379a90b17e76f2e8e2d5d24c07047656150a3a6025834cc34d34f034c79ebcd3812db62319a1a1bed19a2ca4d0bcbf014077d4aee74840997eccb6
7
- data.tar.gz: 047204d47b54387c9a30f91efeb796ed84d01b39bc70f934e1070aa060da3337d777e2a21abcc20fe2ec832e7334234916a57bf38a409653469a825ac40e0c9e
6
+ metadata.gz: ab9518d93b241a9fa880a591aa6fee64eec12e35594fa064e6f8c99a41b4433b1351b83266846c63ebe65808594bf5719104457fb6838bc93324a6fe0a02afe3
7
+ data.tar.gz: 82ca2a2b85fb2dedf7caa77c56ad1bef01e27bbaaddc46c5170c2073853d200f17398cc10e76360ef5f99953711c12f163ef1ce2ed5c7f56267ae38d44821165
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.52.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240822
6
+
7
+ ### v0.51.0 (2024-08-18)
8
+
9
+ * Regenerated from discovery document revision 20240808
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.50.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240712
@@ -272,11 +272,6 @@ module Google
272
272
  # @return [Hash<String,String>]
273
273
  attr_accessor :migration_resources_user_tags
274
274
 
275
- # Information about the network coniguration of the source.
276
- # Corresponds to the JSON property `networkInsights`
277
- # @return [Google::Apis::VmmigrationV1::NetworkInsights]
278
- attr_accessor :network_insights
279
-
280
275
  # Output only. The source's public IP. All communication initiated by this
281
276
  # source will originate from this IP.
282
277
  # Corresponds to the JSON property `publicIp`
@@ -300,7 +295,6 @@ module Google
300
295
  @inventory_security_group_names = args[:inventory_security_group_names] if args.key?(:inventory_security_group_names)
301
296
  @inventory_tag_list = args[:inventory_tag_list] if args.key?(:inventory_tag_list)
302
297
  @migration_resources_user_tags = args[:migration_resources_user_tags] if args.key?(:migration_resources_user_tags)
303
- @network_insights = args[:network_insights] if args.key?(:network_insights)
304
298
  @public_ip = args[:public_ip] if args.key?(:public_ip)
305
299
  @state = args[:state] if args.key?(:state)
306
300
  end
@@ -804,19 +798,6 @@ module Google
804
798
  end
805
799
  end
806
800
 
807
- # Request message for 'CancelDiskMigrationJob' request.
808
- class CancelDiskMigrationJobRequest
809
- include Google::Apis::Core::Hashable
810
-
811
- def initialize(**args)
812
- update!(**args)
813
- end
814
-
815
- # Update properties of this object
816
- def update!(**args)
817
- end
818
- end
819
-
820
801
  # Request message for 'CancelImageImportJob' request.
821
802
  class CancelImageImportJobRequest
822
803
  include Google::Apis::Core::Hashable
@@ -1092,13 +1073,21 @@ module Google
1092
1073
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
1093
1074
  attr_accessor :applied_license
1094
1075
 
1076
+ # Optional. By default the virtual machine will keep its existing boot option.
1077
+ # Setting this property will trigger an internal process which will convert the
1078
+ # virtual machine from using the existing boot option to another.
1079
+ # Corresponds to the JSON property `bootConversion`
1080
+ # @return [String]
1081
+ attr_accessor :boot_conversion
1082
+
1095
1083
  # Output only. The VM Boot Option, as set in the source VM.
1096
1084
  # Corresponds to the JSON property `bootOption`
1097
1085
  # @return [String]
1098
1086
  attr_accessor :boot_option
1099
1087
 
1100
1088
  # Scheduling information for VM on maintenance/restart behaviour and node
1101
- # allocation in sole tenant nodes.
1089
+ # allocation in sole tenant nodes. Options for instance behavior when the host
1090
+ # machine undergoes maintenance that may temporarily impact instance performance.
1102
1091
  # Corresponds to the JSON property `computeScheduling`
1103
1092
  # @return [Google::Apis::VmmigrationV1::ComputeScheduling]
1104
1093
  attr_accessor :compute_scheduling
@@ -1108,6 +1097,20 @@ module Google
1108
1097
  # @return [String]
1109
1098
  attr_accessor :disk_type
1110
1099
 
1100
+ # Optional. Defines whether the instance has integrity monitoring enabled. This
1101
+ # can be set to true only if the VM boot option is EFI, and vTPM is enabled.
1102
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
1103
+ # @return [Boolean]
1104
+ attr_accessor :enable_integrity_monitoring
1105
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
1106
+
1107
+ # Optional. Defines whether the instance has vTPM enabled. This can be set to
1108
+ # true only if the VM boot option is EFI.
1109
+ # Corresponds to the JSON property `enableVtpm`
1110
+ # @return [Boolean]
1111
+ attr_accessor :enable_vtpm
1112
+ alias_method :enable_vtpm?, :enable_vtpm
1113
+
1111
1114
  # Encryption message describes the details of the applied encryption.
1112
1115
  # Corresponds to the JSON property `encryption`
1113
1116
  # @return [Google::Apis::VmmigrationV1::Encryption]
@@ -1189,9 +1192,12 @@ module Google
1189
1192
  def update!(**args)
1190
1193
  @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1191
1194
  @applied_license = args[:applied_license] if args.key?(:applied_license)
1195
+ @boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
1192
1196
  @boot_option = args[:boot_option] if args.key?(:boot_option)
1193
1197
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
1194
1198
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1199
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
1200
+ @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
1195
1201
  @encryption = args[:encryption] if args.key?(:encryption)
1196
1202
  @hostname = args[:hostname] if args.key?(:hostname)
1197
1203
  @labels = args[:labels] if args.key?(:labels)
@@ -1224,13 +1230,21 @@ module Google
1224
1230
  # @return [Google::Apis::VmmigrationV1::AppliedLicense]
1225
1231
  attr_accessor :applied_license
1226
1232
 
1233
+ # Optional. By default the virtual machine will keep its existing boot option.
1234
+ # Setting this property will trigger an internal process which will convert the
1235
+ # virtual machine from using the existing boot option to another.
1236
+ # Corresponds to the JSON property `bootConversion`
1237
+ # @return [String]
1238
+ attr_accessor :boot_conversion
1239
+
1227
1240
  # The VM Boot Option, as set in the source VM.
1228
1241
  # Corresponds to the JSON property `bootOption`
1229
1242
  # @return [String]
1230
1243
  attr_accessor :boot_option
1231
1244
 
1232
1245
  # Scheduling information for VM on maintenance/restart behaviour and node
1233
- # allocation in sole tenant nodes.
1246
+ # allocation in sole tenant nodes. Options for instance behavior when the host
1247
+ # machine undergoes maintenance that may temporarily impact instance performance.
1234
1248
  # Corresponds to the JSON property `computeScheduling`
1235
1249
  # @return [Google::Apis::VmmigrationV1::ComputeScheduling]
1236
1250
  attr_accessor :compute_scheduling
@@ -1240,6 +1254,18 @@ module Google
1240
1254
  # @return [String]
1241
1255
  attr_accessor :disk_type
1242
1256
 
1257
+ # Optional. Defines whether the instance has integrity monitoring enabled.
1258
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
1259
+ # @return [Boolean]
1260
+ attr_accessor :enable_integrity_monitoring
1261
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
1262
+
1263
+ # Optional. Defines whether the instance has vTPM enabled.
1264
+ # Corresponds to the JSON property `enableVtpm`
1265
+ # @return [Boolean]
1266
+ attr_accessor :enable_vtpm
1267
+ alias_method :enable_vtpm?, :enable_vtpm
1268
+
1243
1269
  # Encryption message describes the details of the applied encryption.
1244
1270
  # Corresponds to the JSON property `encryption`
1245
1271
  # @return [Google::Apis::VmmigrationV1::Encryption]
@@ -1320,9 +1346,12 @@ module Google
1320
1346
  def update!(**args)
1321
1347
  @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1322
1348
  @applied_license = args[:applied_license] if args.key?(:applied_license)
1349
+ @boot_conversion = args[:boot_conversion] if args.key?(:boot_conversion)
1323
1350
  @boot_option = args[:boot_option] if args.key?(:boot_option)
1324
1351
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
1325
1352
  @disk_type = args[:disk_type] if args.key?(:disk_type)
1353
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
1354
+ @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
1326
1355
  @encryption = args[:encryption] if args.key?(:encryption)
1327
1356
  @hostname = args[:hostname] if args.key?(:hostname)
1328
1357
  @labels = args[:labels] if args.key?(:labels)
@@ -1341,7 +1370,8 @@ module Google
1341
1370
  end
1342
1371
 
1343
1372
  # Scheduling information for VM on maintenance/restart behaviour and node
1344
- # allocation in sole tenant nodes.
1373
+ # allocation in sole tenant nodes. Options for instance behavior when the host
1374
+ # machine undergoes maintenance that may temporarily impact instance performance.
1345
1375
  class ComputeScheduling
1346
1376
  include Google::Apis::Core::Hashable
1347
1377
 
@@ -1904,11 +1934,24 @@ module Google
1904
1934
  attr_accessor :boot_disk_defaults
1905
1935
 
1906
1936
  # Scheduling information for VM on maintenance/restart behaviour and node
1907
- # allocation in sole tenant nodes.
1937
+ # allocation in sole tenant nodes. Options for instance behavior when the host
1938
+ # machine undergoes maintenance that may temporarily impact instance performance.
1908
1939
  # Corresponds to the JSON property `computeScheduling`
1909
1940
  # @return [Google::Apis::VmmigrationV1::ComputeScheduling]
1910
1941
  attr_accessor :compute_scheduling
1911
1942
 
1943
+ # Optional. Defines whether the instance has integrity monitoring enabled.
1944
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
1945
+ # @return [Boolean]
1946
+ attr_accessor :enable_integrity_monitoring
1947
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
1948
+
1949
+ # Optional. Defines whether the instance has vTPM enabled.
1950
+ # Corresponds to the JSON property `enableVtpm`
1951
+ # @return [Boolean]
1952
+ attr_accessor :enable_vtpm
1953
+ alias_method :enable_vtpm?, :enable_vtpm
1954
+
1912
1955
  # Encryption message describes the details of the applied encryption.
1913
1956
  # Corresponds to the JSON property `encryption`
1914
1957
  # @return [Google::Apis::VmmigrationV1::Encryption]
@@ -1975,6 +2018,8 @@ module Google
1975
2018
  @additional_licenses = args[:additional_licenses] if args.key?(:additional_licenses)
1976
2019
  @boot_disk_defaults = args[:boot_disk_defaults] if args.key?(:boot_disk_defaults)
1977
2020
  @compute_scheduling = args[:compute_scheduling] if args.key?(:compute_scheduling)
2021
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
2022
+ @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
1978
2023
  @encryption = args[:encryption] if args.key?(:encryption)
1979
2024
  @hostname = args[:hostname] if args.key?(:hostname)
1980
2025
  @labels = args[:labels] if args.key?(:labels)
@@ -3324,33 +3369,6 @@ module Google
3324
3369
  end
3325
3370
  end
3326
3371
 
3327
- # Information about the network coniguration of the source.
3328
- class NetworkInsights
3329
- include Google::Apis::Core::Hashable
3330
-
3331
- # Output only. The gathered network configuration of the source. Presented in
3332
- # json format.
3333
- # Corresponds to the JSON property `sourceNetworkConfig`
3334
- # @return [String]
3335
- attr_accessor :source_network_config
3336
-
3337
- # Output only. The gathered network configuration of the source. Presented in
3338
- # terraform format.
3339
- # Corresponds to the JSON property `sourceNetworkTerraform`
3340
- # @return [String]
3341
- attr_accessor :source_network_terraform
3342
-
3343
- def initialize(**args)
3344
- update!(**args)
3345
- end
3346
-
3347
- # Update properties of this object
3348
- def update!(**args)
3349
- @source_network_config = args[:source_network_config] if args.key?(:source_network_config)
3350
- @source_network_terraform = args[:source_network_terraform] if args.key?(:source_network_terraform)
3351
- end
3352
- end
3353
-
3354
3372
  # NetworkInterface represents a NIC of a VM.
3355
3373
  class NetworkInterface
3356
3374
  include Google::Apis::Core::Hashable
@@ -3371,8 +3389,9 @@ module Google
3371
3389
  # @return [String]
3372
3390
  attr_accessor :network
3373
3391
 
3374
- # Optional. The networking tier used for configuring network access
3375
- # configuration. If left empty, will default to PREMIUM.
3392
+ # Optional. The networking tier used for optimizing connectivity between
3393
+ # instances and systems on the internet. Applies only for external ephemeral IP
3394
+ # addresses. If left empty, will default to PREMIUM.
3376
3395
  # Corresponds to the JSON property `networkTier`
3377
3396
  # @return [String]
3378
3397
  attr_accessor :network_tier
@@ -3867,19 +3886,6 @@ module Google
3867
3886
  end
3868
3887
  end
3869
3888
 
3870
- # Request message for 'RunDiskMigrationJobRequest' request.
3871
- class RunDiskMigrationJobRequest
3872
- include Google::Apis::Core::Hashable
3873
-
3874
- def initialize(**args)
3875
- update!(**args)
3876
- end
3877
-
3878
- # Update properties of this object
3879
- def update!(**args)
3880
- end
3881
- end
3882
-
3883
3889
  # A policy for scheduling replications.
3884
3890
  class SchedulePolicy
3885
3891
  include Google::Apis::Core::Hashable
@@ -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.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240712"
25
+ REVISION = "20240822"
26
26
  end
27
27
  end
28
28
  end
@@ -142,12 +142,6 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class CancelDiskMigrationJobRequest
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
145
  class CancelImageImportJobRequest
152
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
147
 
@@ -496,12 +490,6 @@ module Google
496
490
  include Google::Apis::Core::JsonObjectSupport
497
491
  end
498
492
 
499
- class NetworkInsights
500
- class Representation < Google::Apis::Core::JsonRepresentation; end
501
-
502
- include Google::Apis::Core::JsonObjectSupport
503
- end
504
-
505
493
  class NetworkInterface
506
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
495
 
@@ -592,12 +580,6 @@ module Google
592
580
  include Google::Apis::Core::JsonObjectSupport
593
581
  end
594
582
 
595
- class RunDiskMigrationJobRequest
596
- class Representation < Google::Apis::Core::JsonRepresentation; end
597
-
598
- include Google::Apis::Core::JsonObjectSupport
599
- end
600
-
601
583
  class SchedulePolicy
602
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
585
 
@@ -815,8 +797,6 @@ module Google
815
797
  collection :inventory_tag_list, as: 'inventoryTagList', class: Google::Apis::VmmigrationV1::Tag, decorator: Google::Apis::VmmigrationV1::Tag::Representation
816
798
 
817
799
  hash :migration_resources_user_tags, as: 'migrationResourcesUserTags'
818
- property :network_insights, as: 'networkInsights', class: Google::Apis::VmmigrationV1::NetworkInsights, decorator: Google::Apis::VmmigrationV1::NetworkInsights::Representation
819
-
820
800
  property :public_ip, as: 'publicIp'
821
801
  property :state, as: 'state'
822
802
  end
@@ -958,12 +938,6 @@ module Google
958
938
  end
959
939
  end
960
940
 
961
- class CancelDiskMigrationJobRequest
962
- # @private
963
- class Representation < Google::Apis::Core::JsonRepresentation
964
- end
965
- end
966
-
967
941
  class CancelImageImportJobRequest
968
942
  # @private
969
943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1050,10 +1024,13 @@ module Google
1050
1024
  collection :additional_licenses, as: 'additionalLicenses'
1051
1025
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
1052
1026
 
1027
+ property :boot_conversion, as: 'bootConversion'
1053
1028
  property :boot_option, as: 'bootOption'
1054
1029
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
1055
1030
 
1056
1031
  property :disk_type, as: 'diskType'
1032
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1033
+ property :enable_vtpm, as: 'enableVtpm'
1057
1034
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1058
1035
 
1059
1036
  property :hostname, as: 'hostname'
@@ -1079,10 +1056,13 @@ module Google
1079
1056
  collection :additional_licenses, as: 'additionalLicenses'
1080
1057
  property :applied_license, as: 'appliedLicense', class: Google::Apis::VmmigrationV1::AppliedLicense, decorator: Google::Apis::VmmigrationV1::AppliedLicense::Representation
1081
1058
 
1059
+ property :boot_conversion, as: 'bootConversion'
1082
1060
  property :boot_option, as: 'bootOption'
1083
1061
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
1084
1062
 
1085
1063
  property :disk_type, as: 'diskType'
1064
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1065
+ property :enable_vtpm, as: 'enableVtpm'
1086
1066
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1087
1067
 
1088
1068
  property :hostname, as: 'hostname'
@@ -1263,6 +1243,8 @@ module Google
1263
1243
 
1264
1244
  property :compute_scheduling, as: 'computeScheduling', class: Google::Apis::VmmigrationV1::ComputeScheduling, decorator: Google::Apis::VmmigrationV1::ComputeScheduling::Representation
1265
1245
 
1246
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1247
+ property :enable_vtpm, as: 'enableVtpm'
1266
1248
  property :encryption, as: 'encryption', class: Google::Apis::VmmigrationV1::Encryption, decorator: Google::Apis::VmmigrationV1::Encryption::Representation
1267
1249
 
1268
1250
  property :hostname, as: 'hostname'
@@ -1677,14 +1659,6 @@ module Google
1677
1659
  end
1678
1660
  end
1679
1661
 
1680
- class NetworkInsights
1681
- # @private
1682
- class Representation < Google::Apis::Core::JsonRepresentation
1683
- property :source_network_config, as: 'sourceNetworkConfig'
1684
- property :source_network_terraform, as: 'sourceNetworkTerraform'
1685
- end
1686
- end
1687
-
1688
1662
  class NetworkInterface
1689
1663
  # @private
1690
1664
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1829,12 +1803,6 @@ module Google
1829
1803
  end
1830
1804
  end
1831
1805
 
1832
- class RunDiskMigrationJobRequest
1833
- # @private
1834
- class Representation < Google::Apis::Core::JsonRepresentation
1835
- end
1836
- end
1837
-
1838
1806
  class SchedulePolicy
1839
1807
  # @private
1840
1808
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1304,72 +1304,6 @@ module Google
1304
1304
  execute_or_queue_command(command, &block)
1305
1305
  end
1306
1306
 
1307
- # Cancels the disk migration job.
1308
- # @param [String] name
1309
- # Required. The name of the DiskMigrationJob.
1310
- # @param [Google::Apis::VmmigrationV1::CancelDiskMigrationJobRequest] cancel_disk_migration_job_request_object
1311
- # @param [String] fields
1312
- # Selector specifying which fields to include in a partial response.
1313
- # @param [String] quota_user
1314
- # Available to use for quota purposes for server-side applications. Can be any
1315
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1316
- # @param [Google::Apis::RequestOptions] options
1317
- # Request-specific options
1318
- #
1319
- # @yield [result, err] Result & error if block supplied
1320
- # @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
1321
- # @yieldparam err [StandardError] error object if request failed
1322
- #
1323
- # @return [Google::Apis::VmmigrationV1::Operation]
1324
- #
1325
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1326
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1327
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1328
- def cancel_disk_migration_job(name, cancel_disk_migration_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1329
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
1330
- command.request_representation = Google::Apis::VmmigrationV1::CancelDiskMigrationJobRequest::Representation
1331
- command.request_object = cancel_disk_migration_job_request_object
1332
- command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
1333
- command.response_class = Google::Apis::VmmigrationV1::Operation
1334
- command.params['name'] = name unless name.nil?
1335
- command.query['fields'] = fields unless fields.nil?
1336
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1337
- execute_or_queue_command(command, &block)
1338
- end
1339
-
1340
- # Runs the disk migration job.
1341
- # @param [String] name
1342
- # Required. The name of the DiskMigrationJob.
1343
- # @param [Google::Apis::VmmigrationV1::RunDiskMigrationJobRequest] run_disk_migration_job_request_object
1344
- # @param [String] fields
1345
- # Selector specifying which fields to include in a partial response.
1346
- # @param [String] quota_user
1347
- # Available to use for quota purposes for server-side applications. Can be any
1348
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1349
- # @param [Google::Apis::RequestOptions] options
1350
- # Request-specific options
1351
- #
1352
- # @yield [result, err] Result & error if block supplied
1353
- # @yieldparam result [Google::Apis::VmmigrationV1::Operation] parsed result object
1354
- # @yieldparam err [StandardError] error object if request failed
1355
- #
1356
- # @return [Google::Apis::VmmigrationV1::Operation]
1357
- #
1358
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1359
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1360
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1361
- def run_disk_migration_job(name, run_disk_migration_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1362
- command = make_simple_command(:post, 'v1/{+name}:run', options)
1363
- command.request_representation = Google::Apis::VmmigrationV1::RunDiskMigrationJobRequest::Representation
1364
- command.request_object = run_disk_migration_job_request_object
1365
- command.response_representation = Google::Apis::VmmigrationV1::Operation::Representation
1366
- command.response_class = Google::Apis::VmmigrationV1::Operation
1367
- command.params['name'] = name unless name.nil?
1368
- command.query['fields'] = fields unless fields.nil?
1369
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1370
- execute_or_queue_command(command, &block)
1371
- end
1372
-
1373
1307
  # Creates a new MigratingVm in a given Source.
1374
1308
  # @param [String] parent
1375
1309
  # Required. The MigratingVm's parent.
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.50.0
4
+ version: 0.52.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-09-01 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.52.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: []