@googleapis/vmmigration 15.0.0 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/v1.d.ts CHANGED
@@ -87,6 +87,19 @@ export declare namespace vmmigration_v1 {
87
87
  */
88
88
  sessionToken?: string | null;
89
89
  }
90
+ /**
91
+ * AdaptationModifier a modifier to be used for configuration of the OS adaptation process.
92
+ */
93
+ export interface Schema$AdaptationModifier {
94
+ /**
95
+ * Optional. The modifier name.
96
+ */
97
+ modifier?: string | null;
98
+ /**
99
+ * Optional. The value of the modifier. The actual value depends on the modifier and can also be empty.
100
+ */
101
+ value?: string | null;
102
+ }
90
103
  /**
91
104
  * AdaptingOSStep contains specific step details.
92
105
  */
@@ -217,6 +230,29 @@ export declare namespace vmmigration_v1 {
217
230
  */
218
231
  state?: string | null;
219
232
  }
233
+ /**
234
+ * Represents the source AWS Disk details.
235
+ */
236
+ export interface Schema$AwsSourceDiskDetails {
237
+ /**
238
+ * Optional. Output only. Disk type.
239
+ */
240
+ diskType?: string | null;
241
+ /**
242
+ * Output only. Size in GiB.
243
+ */
244
+ sizeGib?: string | null;
245
+ /**
246
+ * Optional. Output only. A map of AWS volume tags.
247
+ */
248
+ tags?: {
249
+ [key: string]: string;
250
+ } | null;
251
+ /**
252
+ * Required. AWS volume ID.
253
+ */
254
+ volumeId?: string | null;
255
+ }
220
256
  /**
221
257
  * Represent the source AWS VM details.
222
258
  */
@@ -518,6 +554,11 @@ export declare namespace vmmigration_v1 {
518
554
  */
519
555
  export interface Schema$CancelCutoverJobRequest {
520
556
  }
557
+ /**
558
+ * Request message for 'CancelDiskMigrationJob' request.
559
+ */
560
+ export interface Schema$CancelDiskMigrationJobRequest {
561
+ }
521
562
  /**
522
563
  * Request message for 'CancelImageImportJob' request.
523
564
  */
@@ -611,6 +652,27 @@ export declare namespace vmmigration_v1 {
611
652
  */
612
653
  startTime?: string | null;
613
654
  }
655
+ /**
656
+ * Compute Engine disk target details.
657
+ */
658
+ export interface Schema$ComputeEngineDisk {
659
+ /**
660
+ * Optional. Target Compute Engine Disk ID. This is the resource ID segment of the Compute Engine Disk to create. In the resource name compute/v1/projects/{project\}/zones/{zone\}/disks/disk1 "disk1" is the resource ID for the disk.
661
+ */
662
+ diskId?: string | null;
663
+ /**
664
+ * Required. The disk type to use.
665
+ */
666
+ diskType?: string | null;
667
+ /**
668
+ * Optional. Replication zones of the regional disk. Should be of the form: projects/{target-project\}/locations/{replica-zone\} Currently only one replica zone is supported.
669
+ */
670
+ replicaZones?: string[] | null;
671
+ /**
672
+ * Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project\}/locations/{zone\}
673
+ */
674
+ zone?: string | null;
675
+ }
614
676
  /**
615
677
  * ComputeEngineDisksTargetDefaults is a collection of details for creating Persistent Disks in a target Compute Engine project.
616
678
  */
@@ -657,6 +719,10 @@ export declare namespace vmmigration_v1 {
657
719
  * ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
658
720
  */
659
721
  export interface Schema$ComputeEngineTargetDefaults {
722
+ /**
723
+ * Optional. AdaptationModifiers are the set of modifiers used during OS adaptation.
724
+ */
725
+ adaptationModifiers?: Schema$AdaptationModifier[];
660
726
  /**
661
727
  * Additional licenses to assign to the VM.
662
728
  */
@@ -758,6 +824,10 @@ export declare namespace vmmigration_v1 {
758
824
  * ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.
759
825
  */
760
826
  export interface Schema$ComputeEngineTargetDetails {
827
+ /**
828
+ * Optional. Modifiers to be used as configuration of the OS adaptation process.
829
+ */
830
+ adaptationModifiers?: Schema$AdaptationModifier[];
761
831
  /**
762
832
  * Additional licenses to assign to the VM.
763
833
  */
@@ -876,11 +946,21 @@ export declare namespace vmmigration_v1 {
876
946
  */
877
947
  restartType?: string | null;
878
948
  }
949
+ /**
950
+ * CopyingSourceDiskSnapshotStep contains specific step details.
951
+ */
952
+ export interface Schema$CopyingSourceDiskSnapshotStep {
953
+ }
879
954
  /**
880
955
  * CreatingImageStep contains specific step details.
881
956
  */
882
957
  export interface Schema$CreatingImageStep {
883
958
  }
959
+ /**
960
+ * CreatingSourceDiskSnapshotStep contains specific step details.
961
+ */
962
+ export interface Schema$CreatingSourceDiskSnapshotStep {
963
+ }
884
964
  /**
885
965
  * CutoverForecast holds information about future CutoverJobs of a MigratingVm.
886
966
  */
@@ -1136,6 +1216,91 @@ export declare namespace vmmigration_v1 {
1136
1216
  */
1137
1217
  targetProject?: string | null;
1138
1218
  }
1219
+ /**
1220
+ * Describes the disk which will be migrated from the source environment. The source disk has to be unattached.
1221
+ */
1222
+ export interface Schema$DiskMigrationJob {
1223
+ /**
1224
+ * Details of the unattached AWS source disk.
1225
+ */
1226
+ awsSourceDiskDetails?: Schema$AwsSourceDiskDetails;
1227
+ /**
1228
+ * Output only. The time the DiskMigrationJob resource was created.
1229
+ */
1230
+ createTime?: string | null;
1231
+ /**
1232
+ * Output only. Provides details on the errors that led to the disk migration job's state in case of an error.
1233
+ */
1234
+ errors?: Schema$Status[];
1235
+ /**
1236
+ * Output only. Identifier. The identifier of the DiskMigrationJob.
1237
+ */
1238
+ name?: string | null;
1239
+ /**
1240
+ * Output only. State of the DiskMigrationJob.
1241
+ */
1242
+ state?: string | null;
1243
+ /**
1244
+ * Output only. The disk migration steps list representing its progress.
1245
+ */
1246
+ steps?: Schema$DiskMigrationStep[];
1247
+ /**
1248
+ * Required. Details of the target Disk in Compute Engine.
1249
+ */
1250
+ targetDetails?: Schema$DiskMigrationJobTargetDetails;
1251
+ /**
1252
+ * Output only. The last time the DiskMigrationJob resource was updated.
1253
+ */
1254
+ updateTime?: string | null;
1255
+ }
1256
+ /**
1257
+ * Details of the target disk in Compute Engine.
1258
+ */
1259
+ export interface Schema$DiskMigrationJobTargetDetails {
1260
+ /**
1261
+ * Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
1262
+ */
1263
+ encryption?: Schema$Encryption;
1264
+ /**
1265
+ * Optional. A map of labels to associate with the disk.
1266
+ */
1267
+ labels?: {
1268
+ [key: string]: string;
1269
+ } | null;
1270
+ /**
1271
+ * Required. The target disk.
1272
+ */
1273
+ targetDisk?: Schema$ComputeEngineDisk;
1274
+ /**
1275
+ * Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project\}/locations/global/targetProjects/{target-project\}
1276
+ */
1277
+ targetProject?: string | null;
1278
+ }
1279
+ /**
1280
+ * DiskMigrationStep holds information about the disk migration step progress.
1281
+ */
1282
+ export interface Schema$DiskMigrationStep {
1283
+ /**
1284
+ * Copying source disk snapshot step.
1285
+ */
1286
+ copyingSourceDiskSnapshot?: Schema$CopyingSourceDiskSnapshotStep;
1287
+ /**
1288
+ * Creating source disk snapshot step.
1289
+ */
1290
+ creatingSourceDiskSnapshot?: Schema$CreatingSourceDiskSnapshotStep;
1291
+ /**
1292
+ * Output only. The time the step has ended.
1293
+ */
1294
+ endTime?: string | null;
1295
+ /**
1296
+ * Creating target disk step.
1297
+ */
1298
+ provisioningTargetDisk?: Schema$ProvisioningTargetDiskStep;
1299
+ /**
1300
+ * Output only. The time the step has started.
1301
+ */
1302
+ startTime?: string | null;
1303
+ }
1139
1304
  /**
1140
1305
  * Details for a disk only migration.
1141
1306
  */
@@ -1289,6 +1454,23 @@ export declare namespace vmmigration_v1 {
1289
1454
  */
1290
1455
  vmwareVms?: Schema$VmwareVmsDetails;
1291
1456
  }
1457
+ /**
1458
+ * Response message for fetchStorageInventory.
1459
+ */
1460
+ export interface Schema$FetchStorageInventoryResponse {
1461
+ /**
1462
+ * Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1463
+ */
1464
+ nextPageToken?: string | null;
1465
+ /**
1466
+ * The list of storage resources in the source.
1467
+ */
1468
+ resources?: Schema$SourceStorageResource[];
1469
+ /**
1470
+ * Output only. The timestamp when the source was last queried (if the result is from the cache).
1471
+ */
1472
+ updateTime?: string | null;
1473
+ }
1292
1474
  /**
1293
1475
  * Request message for 'FinalizeMigration' request.
1294
1476
  */
@@ -1409,6 +1591,10 @@ export declare namespace vmmigration_v1 {
1409
1591
  * Parameters affecting the OS adaptation process.
1410
1592
  */
1411
1593
  export interface Schema$ImageImportOsAdaptationParameters {
1594
+ /**
1595
+ * Optional. Modifiers to be used as configuration of the OS adaptation process.
1596
+ */
1597
+ adaptationModifiers?: Schema$AdaptationModifier[];
1412
1598
  /**
1413
1599
  * Optional. By default the image will keep its existing boot option. Setting this property will trigger an internal process which will convert the image from using the existing boot option to another. The size of the boot disk might be increased to allow the conversion
1414
1600
  */
@@ -1530,6 +1716,23 @@ export declare namespace vmmigration_v1 {
1530
1716
  */
1531
1717
  unreachable?: string[] | null;
1532
1718
  }
1719
+ /**
1720
+ * Response message for 'ListDiskMigrationJobs' request.
1721
+ */
1722
+ export interface Schema$ListDiskMigrationJobsResponse {
1723
+ /**
1724
+ * Output only. The list of the disk migration jobs.
1725
+ */
1726
+ diskMigrationJobs?: Schema$DiskMigrationJob[];
1727
+ /**
1728
+ * Optional. Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1729
+ */
1730
+ nextPageToken?: string | null;
1731
+ /**
1732
+ * Output only. Locations that could not be reached.
1733
+ */
1734
+ unreachable?: string[] | null;
1735
+ }
1533
1736
  /**
1534
1737
  * Response message for 'ListGroups' request.
1535
1738
  */
@@ -2148,6 +2351,11 @@ export declare namespace vmmigration_v1 {
2148
2351
  */
2149
2352
  export interface Schema$PreparingVMDisksStep {
2150
2353
  }
2354
+ /**
2355
+ * ProvisioningTargetDiskStep contains specific step details.
2356
+ */
2357
+ export interface Schema$ProvisioningTargetDiskStep {
2358
+ }
2151
2359
  /**
2152
2360
  * Request message for 'RemoveMigration' request.
2153
2361
  */
@@ -2237,6 +2445,11 @@ export declare namespace vmmigration_v1 {
2237
2445
  */
2238
2446
  export interface Schema$ResumeMigrationRequest {
2239
2447
  }
2448
+ /**
2449
+ * Request message for 'RunDiskMigrationJobRequest' request.
2450
+ */
2451
+ export interface Schema$RunDiskMigrationJobRequest {
2452
+ }
2240
2453
  /**
2241
2454
  * A policy for scheduling replications.
2242
2455
  */
@@ -2350,6 +2563,15 @@ export declare namespace vmmigration_v1 {
2350
2563
  */
2351
2564
  vmware?: Schema$VmwareSourceDetails;
2352
2565
  }
2566
+ /**
2567
+ * SourceStorageResource describes a storage resource in the source.
2568
+ */
2569
+ export interface Schema$SourceStorageResource {
2570
+ /**
2571
+ * Source AWS volume details.
2572
+ */
2573
+ awsDiskDetails?: Schema$AwsSourceDiskDetails;
2574
+ }
2353
2575
  /**
2354
2576
  * Request message for 'StartMigrationRequest' request.
2355
2577
  */
@@ -2808,7 +3030,7 @@ export declare namespace vmmigration_v1 {
2808
3030
  *
2809
3031
  * // Do the magic
2810
3032
  * const res = await vmmigration.projects.locations.list({
2811
- * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3033
+ * // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2812
3034
  * extraLocationTypes: 'placeholder-value',
2813
3035
  * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2814
3036
  * filter: 'placeholder-value',
@@ -2855,7 +3077,7 @@ export declare namespace vmmigration_v1 {
2855
3077
  }
2856
3078
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2857
3079
  /**
2858
- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3080
+ * Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2859
3081
  */
2860
3082
  extraLocationTypes?: string[];
2861
3083
  /**
@@ -3829,7 +4051,7 @@ export declare namespace vmmigration_v1 {
3829
4051
  context: APIRequestContext;
3830
4052
  constructor(context: APIRequestContext);
3831
4053
  /**
3832
- * Initiates the cancellation of a running clone job.
4054
+ * Initiates the cancellation of a running ImageImportJob.
3833
4055
  * @example
3834
4056
  * ```js
3835
4057
  * // Before running the sample:
@@ -4381,6 +4603,7 @@ export declare namespace vmmigration_v1 {
4381
4603
  export class Resource$Projects$Locations$Sources {
4382
4604
  context: APIRequestContext;
4383
4605
  datacenterConnectors: Resource$Projects$Locations$Sources$Datacenterconnectors;
4606
+ diskMigrationJobs: Resource$Projects$Locations$Sources$Diskmigrationjobs;
4384
4607
  migratingVms: Resource$Projects$Locations$Sources$Migratingvms;
4385
4608
  utilizationReports: Resource$Projects$Locations$Sources$Utilizationreports;
4386
4609
  constructor(context: APIRequestContext);
@@ -4604,6 +4827,77 @@ export declare namespace vmmigration_v1 {
4604
4827
  fetchInventory(params: Params$Resource$Projects$Locations$Sources$Fetchinventory, options: MethodOptions | BodyResponseCallback<Schema$FetchInventoryResponse>, callback: BodyResponseCallback<Schema$FetchInventoryResponse>): void;
4605
4828
  fetchInventory(params: Params$Resource$Projects$Locations$Sources$Fetchinventory, callback: BodyResponseCallback<Schema$FetchInventoryResponse>): void;
4606
4829
  fetchInventory(callback: BodyResponseCallback<Schema$FetchInventoryResponse>): void;
4830
+ /**
4831
+ * List remote source's inventory of storage resources. The remote source is another cloud vendor (e.g. AWS, Azure). The inventory describes the list of existing storage resources in that source. Note that this operation lists the resources on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.
4832
+ * @example
4833
+ * ```js
4834
+ * // Before running the sample:
4835
+ * // - Enable the API at:
4836
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
4837
+ * // - Login into gcloud by running:
4838
+ * // ```sh
4839
+ * // $ gcloud auth application-default login
4840
+ * // ```
4841
+ * // - Install the npm module by running:
4842
+ * // ```sh
4843
+ * // $ npm install googleapis
4844
+ * // ```
4845
+ *
4846
+ * const {google} = require('googleapis');
4847
+ * const vmmigration = google.vmmigration('v1');
4848
+ *
4849
+ * async function main() {
4850
+ * const auth = new google.auth.GoogleAuth({
4851
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4852
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
4853
+ * });
4854
+ *
4855
+ * // Acquire an auth client, and bind it to all future calls
4856
+ * const authClient = await auth.getClient();
4857
+ * google.options({auth: authClient});
4858
+ *
4859
+ * // Do the magic
4860
+ * const res =
4861
+ * await vmmigration.projects.locations.sources.fetchStorageInventory({
4862
+ * // Optional. If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.
4863
+ * forceRefresh: 'placeholder-value',
4864
+ * // Optional. The maximum number of VMs to return. The service may return fewer than this value.
4865
+ * pageSize: 'placeholder-value',
4866
+ * // Optional. A page token, received from a previous `FetchStorageInventory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchStorageInventory` must match the call that provided the page token.
4867
+ * pageToken: 'placeholder-value',
4868
+ * // Required. The name of the Source.
4869
+ * source: 'projects/my-project/locations/my-location/sources/my-source',
4870
+ * // Required. The type of the storage inventory to fetch.
4871
+ * type: 'placeholder-value',
4872
+ * });
4873
+ * console.log(res.data);
4874
+ *
4875
+ * // Example response
4876
+ * // {
4877
+ * // "nextPageToken": "my_nextPageToken",
4878
+ * // "resources": [],
4879
+ * // "updateTime": "my_updateTime"
4880
+ * // }
4881
+ * }
4882
+ *
4883
+ * main().catch(e => {
4884
+ * console.error(e);
4885
+ * throw e;
4886
+ * });
4887
+ *
4888
+ * ```
4889
+ *
4890
+ * @param params - Parameters for request
4891
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4892
+ * @param callback - Optional callback that handles the response.
4893
+ * @returns A promise if used with async/await, or void if used with a callback.
4894
+ */
4895
+ fetchStorageInventory(params: Params$Resource$Projects$Locations$Sources$Fetchstorageinventory, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4896
+ fetchStorageInventory(params?: Params$Resource$Projects$Locations$Sources$Fetchstorageinventory, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$FetchStorageInventoryResponse>>;
4897
+ fetchStorageInventory(params: Params$Resource$Projects$Locations$Sources$Fetchstorageinventory, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4898
+ fetchStorageInventory(params: Params$Resource$Projects$Locations$Sources$Fetchstorageinventory, options: MethodOptions | BodyResponseCallback<Schema$FetchStorageInventoryResponse>, callback: BodyResponseCallback<Schema$FetchStorageInventoryResponse>): void;
4899
+ fetchStorageInventory(params: Params$Resource$Projects$Locations$Sources$Fetchstorageinventory, callback: BodyResponseCallback<Schema$FetchStorageInventoryResponse>): void;
4900
+ fetchStorageInventory(callback: BodyResponseCallback<Schema$FetchStorageInventoryResponse>): void;
4607
4901
  /**
4608
4902
  * Gets details of a single Source.
4609
4903
  * @example
@@ -4873,6 +5167,28 @@ export declare namespace vmmigration_v1 {
4873
5167
  */
4874
5168
  source?: string;
4875
5169
  }
5170
+ export interface Params$Resource$Projects$Locations$Sources$Fetchstorageinventory extends StandardParameters {
5171
+ /**
5172
+ * Optional. If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.
5173
+ */
5174
+ forceRefresh?: boolean;
5175
+ /**
5176
+ * Optional. The maximum number of VMs to return. The service may return fewer than this value.
5177
+ */
5178
+ pageSize?: number;
5179
+ /**
5180
+ * Optional. A page token, received from a previous `FetchStorageInventory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchStorageInventory` must match the call that provided the page token.
5181
+ */
5182
+ pageToken?: string;
5183
+ /**
5184
+ * Required. The name of the Source.
5185
+ */
5186
+ source?: string;
5187
+ /**
5188
+ * Required. The type of the storage inventory to fetch.
5189
+ */
5190
+ type?: string;
5191
+ }
4876
5192
  export interface Params$Resource$Projects$Locations$Sources$Get extends StandardParameters {
4877
5193
  /**
4878
5194
  * Required. The Source name.
@@ -5367,6 +5683,614 @@ export declare namespace vmmigration_v1 {
5367
5683
  */
5368
5684
  requestBody?: Schema$UpgradeApplianceRequest;
5369
5685
  }
5686
+ export class Resource$Projects$Locations$Sources$Diskmigrationjobs {
5687
+ context: APIRequestContext;
5688
+ constructor(context: APIRequestContext);
5689
+ /**
5690
+ * Cancels the disk migration job.
5691
+ * @example
5692
+ * ```js
5693
+ * // Before running the sample:
5694
+ * // - Enable the API at:
5695
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
5696
+ * // - Login into gcloud by running:
5697
+ * // ```sh
5698
+ * // $ gcloud auth application-default login
5699
+ * // ```
5700
+ * // - Install the npm module by running:
5701
+ * // ```sh
5702
+ * // $ npm install googleapis
5703
+ * // ```
5704
+ *
5705
+ * const {google} = require('googleapis');
5706
+ * const vmmigration = google.vmmigration('v1');
5707
+ *
5708
+ * async function main() {
5709
+ * const auth = new google.auth.GoogleAuth({
5710
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5711
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5712
+ * });
5713
+ *
5714
+ * // Acquire an auth client, and bind it to all future calls
5715
+ * const authClient = await auth.getClient();
5716
+ * google.options({auth: authClient});
5717
+ *
5718
+ * // Do the magic
5719
+ * const res =
5720
+ * await vmmigration.projects.locations.sources.diskMigrationJobs.cancel({
5721
+ * // Required. The name of the DiskMigrationJob.
5722
+ * name: 'projects/my-project/locations/my-location/sources/my-source/diskMigrationJobs/my-diskMigrationJob',
5723
+ *
5724
+ * // Request body metadata
5725
+ * requestBody: {
5726
+ * // request body parameters
5727
+ * // {}
5728
+ * },
5729
+ * });
5730
+ * console.log(res.data);
5731
+ *
5732
+ * // Example response
5733
+ * // {
5734
+ * // "done": false,
5735
+ * // "error": {},
5736
+ * // "metadata": {},
5737
+ * // "name": "my_name",
5738
+ * // "response": {}
5739
+ * // }
5740
+ * }
5741
+ *
5742
+ * main().catch(e => {
5743
+ * console.error(e);
5744
+ * throw e;
5745
+ * });
5746
+ *
5747
+ * ```
5748
+ *
5749
+ * @param params - Parameters for request
5750
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5751
+ * @param callback - Optional callback that handles the response.
5752
+ * @returns A promise if used with async/await, or void if used with a callback.
5753
+ */
5754
+ cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5755
+ cancel(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5756
+ cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5757
+ cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5758
+ cancel(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, callback: BodyResponseCallback<Schema$Operation>): void;
5759
+ cancel(callback: BodyResponseCallback<Schema$Operation>): void;
5760
+ /**
5761
+ * Creates a new disk migration job in a given Source.
5762
+ * @example
5763
+ * ```js
5764
+ * // Before running the sample:
5765
+ * // - Enable the API at:
5766
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
5767
+ * // - Login into gcloud by running:
5768
+ * // ```sh
5769
+ * // $ gcloud auth application-default login
5770
+ * // ```
5771
+ * // - Install the npm module by running:
5772
+ * // ```sh
5773
+ * // $ npm install googleapis
5774
+ * // ```
5775
+ *
5776
+ * const {google} = require('googleapis');
5777
+ * const vmmigration = google.vmmigration('v1');
5778
+ *
5779
+ * async function main() {
5780
+ * const auth = new google.auth.GoogleAuth({
5781
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5782
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5783
+ * });
5784
+ *
5785
+ * // Acquire an auth client, and bind it to all future calls
5786
+ * const authClient = await auth.getClient();
5787
+ * google.options({auth: authClient});
5788
+ *
5789
+ * // Do the magic
5790
+ * const res =
5791
+ * await vmmigration.projects.locations.sources.diskMigrationJobs.create({
5792
+ * // Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen.
5793
+ * diskMigrationJobId: 'placeholder-value',
5794
+ * // Required. The DiskMigrationJob's parent.
5795
+ * parent: 'projects/my-project/locations/my-location/sources/my-source',
5796
+ * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5797
+ * requestId: 'placeholder-value',
5798
+ *
5799
+ * // Request body metadata
5800
+ * requestBody: {
5801
+ * // request body parameters
5802
+ * // {
5803
+ * // "awsSourceDiskDetails": {},
5804
+ * // "createTime": "my_createTime",
5805
+ * // "errors": [],
5806
+ * // "name": "my_name",
5807
+ * // "state": "my_state",
5808
+ * // "steps": [],
5809
+ * // "targetDetails": {},
5810
+ * // "updateTime": "my_updateTime"
5811
+ * // }
5812
+ * },
5813
+ * });
5814
+ * console.log(res.data);
5815
+ *
5816
+ * // Example response
5817
+ * // {
5818
+ * // "done": false,
5819
+ * // "error": {},
5820
+ * // "metadata": {},
5821
+ * // "name": "my_name",
5822
+ * // "response": {}
5823
+ * // }
5824
+ * }
5825
+ *
5826
+ * main().catch(e => {
5827
+ * console.error(e);
5828
+ * throw e;
5829
+ * });
5830
+ *
5831
+ * ```
5832
+ *
5833
+ * @param params - Parameters for request
5834
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5835
+ * @param callback - Optional callback that handles the response.
5836
+ * @returns A promise if used with async/await, or void if used with a callback.
5837
+ */
5838
+ create(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5839
+ create(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5840
+ create(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5841
+ create(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5842
+ create(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Create, callback: BodyResponseCallback<Schema$Operation>): void;
5843
+ create(callback: BodyResponseCallback<Schema$Operation>): void;
5844
+ /**
5845
+ * Deletes a single DiskMigrationJob.
5846
+ * @example
5847
+ * ```js
5848
+ * // Before running the sample:
5849
+ * // - Enable the API at:
5850
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
5851
+ * // - Login into gcloud by running:
5852
+ * // ```sh
5853
+ * // $ gcloud auth application-default login
5854
+ * // ```
5855
+ * // - Install the npm module by running:
5856
+ * // ```sh
5857
+ * // $ npm install googleapis
5858
+ * // ```
5859
+ *
5860
+ * const {google} = require('googleapis');
5861
+ * const vmmigration = google.vmmigration('v1');
5862
+ *
5863
+ * async function main() {
5864
+ * const auth = new google.auth.GoogleAuth({
5865
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5866
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5867
+ * });
5868
+ *
5869
+ * // Acquire an auth client, and bind it to all future calls
5870
+ * const authClient = await auth.getClient();
5871
+ * google.options({auth: authClient});
5872
+ *
5873
+ * // Do the magic
5874
+ * const res =
5875
+ * await vmmigration.projects.locations.sources.diskMigrationJobs.delete({
5876
+ * // Required. The name of the DiskMigrationJob.
5877
+ * name: 'projects/my-project/locations/my-location/sources/my-source/diskMigrationJobs/my-diskMigrationJob',
5878
+ * });
5879
+ * console.log(res.data);
5880
+ *
5881
+ * // Example response
5882
+ * // {
5883
+ * // "done": false,
5884
+ * // "error": {},
5885
+ * // "metadata": {},
5886
+ * // "name": "my_name",
5887
+ * // "response": {}
5888
+ * // }
5889
+ * }
5890
+ *
5891
+ * main().catch(e => {
5892
+ * console.error(e);
5893
+ * throw e;
5894
+ * });
5895
+ *
5896
+ * ```
5897
+ *
5898
+ * @param params - Parameters for request
5899
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5900
+ * @param callback - Optional callback that handles the response.
5901
+ * @returns A promise if used with async/await, or void if used with a callback.
5902
+ */
5903
+ delete(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5904
+ delete(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5905
+ delete(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5906
+ delete(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5907
+ delete(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
5908
+ delete(callback: BodyResponseCallback<Schema$Operation>): void;
5909
+ /**
5910
+ * Gets details of a single DiskMigrationJob.
5911
+ * @example
5912
+ * ```js
5913
+ * // Before running the sample:
5914
+ * // - Enable the API at:
5915
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
5916
+ * // - Login into gcloud by running:
5917
+ * // ```sh
5918
+ * // $ gcloud auth application-default login
5919
+ * // ```
5920
+ * // - Install the npm module by running:
5921
+ * // ```sh
5922
+ * // $ npm install googleapis
5923
+ * // ```
5924
+ *
5925
+ * const {google} = require('googleapis');
5926
+ * const vmmigration = google.vmmigration('v1');
5927
+ *
5928
+ * async function main() {
5929
+ * const auth = new google.auth.GoogleAuth({
5930
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5931
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
5932
+ * });
5933
+ *
5934
+ * // Acquire an auth client, and bind it to all future calls
5935
+ * const authClient = await auth.getClient();
5936
+ * google.options({auth: authClient});
5937
+ *
5938
+ * // Do the magic
5939
+ * const res =
5940
+ * await vmmigration.projects.locations.sources.diskMigrationJobs.get({
5941
+ * // Required. The name of the DiskMigrationJob.
5942
+ * name: 'projects/my-project/locations/my-location/sources/my-source/diskMigrationJobs/my-diskMigrationJob',
5943
+ * });
5944
+ * console.log(res.data);
5945
+ *
5946
+ * // Example response
5947
+ * // {
5948
+ * // "awsSourceDiskDetails": {},
5949
+ * // "createTime": "my_createTime",
5950
+ * // "errors": [],
5951
+ * // "name": "my_name",
5952
+ * // "state": "my_state",
5953
+ * // "steps": [],
5954
+ * // "targetDetails": {},
5955
+ * // "updateTime": "my_updateTime"
5956
+ * // }
5957
+ * }
5958
+ *
5959
+ * main().catch(e => {
5960
+ * console.error(e);
5961
+ * throw e;
5962
+ * });
5963
+ *
5964
+ * ```
5965
+ *
5966
+ * @param params - Parameters for request
5967
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5968
+ * @param callback - Optional callback that handles the response.
5969
+ * @returns A promise if used with async/await, or void if used with a callback.
5970
+ */
5971
+ get(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5972
+ get(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DiskMigrationJob>>;
5973
+ get(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5974
+ get(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Get, options: MethodOptions | BodyResponseCallback<Schema$DiskMigrationJob>, callback: BodyResponseCallback<Schema$DiskMigrationJob>): void;
5975
+ get(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Get, callback: BodyResponseCallback<Schema$DiskMigrationJob>): void;
5976
+ get(callback: BodyResponseCallback<Schema$DiskMigrationJob>): void;
5977
+ /**
5978
+ * Lists DiskMigrationJobs in a given Source.
5979
+ * @example
5980
+ * ```js
5981
+ * // Before running the sample:
5982
+ * // - Enable the API at:
5983
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
5984
+ * // - Login into gcloud by running:
5985
+ * // ```sh
5986
+ * // $ gcloud auth application-default login
5987
+ * // ```
5988
+ * // - Install the npm module by running:
5989
+ * // ```sh
5990
+ * // $ npm install googleapis
5991
+ * // ```
5992
+ *
5993
+ * const {google} = require('googleapis');
5994
+ * const vmmigration = google.vmmigration('v1');
5995
+ *
5996
+ * async function main() {
5997
+ * const auth = new google.auth.GoogleAuth({
5998
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5999
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6000
+ * });
6001
+ *
6002
+ * // Acquire an auth client, and bind it to all future calls
6003
+ * const authClient = await auth.getClient();
6004
+ * google.options({auth: authClient});
6005
+ *
6006
+ * // Do the magic
6007
+ * const res =
6008
+ * await vmmigration.projects.locations.sources.diskMigrationJobs.list({
6009
+ * // Optional. The filter request (according to AIP-160).
6010
+ * filter: 'placeholder-value',
6011
+ * // Optional. Ordering of the result list.
6012
+ * orderBy: 'placeholder-value',
6013
+ * // Optional. The maximum number of disk migration jobs to return. The service may return fewer than this value. If unspecified, at most 500 disk migration jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
6014
+ * pageSize: 'placeholder-value',
6015
+ * // Optional. A page token, received from a previous `ListDiskMigrationJobs` call. Provide this to retrieve the subsequent page. When paginating, all parameters provided to `ListDiskMigrationJobs` except `page_size` must match the call that provided the page token.
6016
+ * pageToken: 'placeholder-value',
6017
+ * // Required. The parent, which owns this collection of DiskMigrationJobs.
6018
+ * parent: 'projects/my-project/locations/my-location/sources/my-source',
6019
+ * });
6020
+ * console.log(res.data);
6021
+ *
6022
+ * // Example response
6023
+ * // {
6024
+ * // "diskMigrationJobs": [],
6025
+ * // "nextPageToken": "my_nextPageToken",
6026
+ * // "unreachable": []
6027
+ * // }
6028
+ * }
6029
+ *
6030
+ * main().catch(e => {
6031
+ * console.error(e);
6032
+ * throw e;
6033
+ * });
6034
+ *
6035
+ * ```
6036
+ *
6037
+ * @param params - Parameters for request
6038
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6039
+ * @param callback - Optional callback that handles the response.
6040
+ * @returns A promise if used with async/await, or void if used with a callback.
6041
+ */
6042
+ list(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6043
+ list(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDiskMigrationJobsResponse>>;
6044
+ list(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6045
+ list(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$List, options: MethodOptions | BodyResponseCallback<Schema$ListDiskMigrationJobsResponse>, callback: BodyResponseCallback<Schema$ListDiskMigrationJobsResponse>): void;
6046
+ list(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$List, callback: BodyResponseCallback<Schema$ListDiskMigrationJobsResponse>): void;
6047
+ list(callback: BodyResponseCallback<Schema$ListDiskMigrationJobsResponse>): void;
6048
+ /**
6049
+ * Updates the parameters of a single DiskMigrationJob.
6050
+ * @example
6051
+ * ```js
6052
+ * // Before running the sample:
6053
+ * // - Enable the API at:
6054
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
6055
+ * // - Login into gcloud by running:
6056
+ * // ```sh
6057
+ * // $ gcloud auth application-default login
6058
+ * // ```
6059
+ * // - Install the npm module by running:
6060
+ * // ```sh
6061
+ * // $ npm install googleapis
6062
+ * // ```
6063
+ *
6064
+ * const {google} = require('googleapis');
6065
+ * const vmmigration = google.vmmigration('v1');
6066
+ *
6067
+ * async function main() {
6068
+ * const auth = new google.auth.GoogleAuth({
6069
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6070
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6071
+ * });
6072
+ *
6073
+ * // Acquire an auth client, and bind it to all future calls
6074
+ * const authClient = await auth.getClient();
6075
+ * google.options({auth: authClient});
6076
+ *
6077
+ * // Do the magic
6078
+ * const res =
6079
+ * await vmmigration.projects.locations.sources.diskMigrationJobs.patch({
6080
+ * // Output only. Identifier. The identifier of the DiskMigrationJob.
6081
+ * name: 'projects/my-project/locations/my-location/sources/my-source/diskMigrationJobs/my-diskMigrationJob',
6082
+ * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6083
+ * requestId: 'placeholder-value',
6084
+ * // Optional. Field mask is used to specify the fields to be overwritten in the DiskMigrationJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, then a mask equivalent to all fields that are populated (have a non-empty value), will be implied.
6085
+ * updateMask: 'placeholder-value',
6086
+ *
6087
+ * // Request body metadata
6088
+ * requestBody: {
6089
+ * // request body parameters
6090
+ * // {
6091
+ * // "awsSourceDiskDetails": {},
6092
+ * // "createTime": "my_createTime",
6093
+ * // "errors": [],
6094
+ * // "name": "my_name",
6095
+ * // "state": "my_state",
6096
+ * // "steps": [],
6097
+ * // "targetDetails": {},
6098
+ * // "updateTime": "my_updateTime"
6099
+ * // }
6100
+ * },
6101
+ * });
6102
+ * console.log(res.data);
6103
+ *
6104
+ * // Example response
6105
+ * // {
6106
+ * // "done": false,
6107
+ * // "error": {},
6108
+ * // "metadata": {},
6109
+ * // "name": "my_name",
6110
+ * // "response": {}
6111
+ * // }
6112
+ * }
6113
+ *
6114
+ * main().catch(e => {
6115
+ * console.error(e);
6116
+ * throw e;
6117
+ * });
6118
+ *
6119
+ * ```
6120
+ *
6121
+ * @param params - Parameters for request
6122
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6123
+ * @param callback - Optional callback that handles the response.
6124
+ * @returns A promise if used with async/await, or void if used with a callback.
6125
+ */
6126
+ patch(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6127
+ patch(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6128
+ patch(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6129
+ patch(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6130
+ patch(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
6131
+ patch(callback: BodyResponseCallback<Schema$Operation>): void;
6132
+ /**
6133
+ * Runs the disk migration job.
6134
+ * @example
6135
+ * ```js
6136
+ * // Before running the sample:
6137
+ * // - Enable the API at:
6138
+ * // https://console.developers.google.com/apis/api/vmmigration.googleapis.com
6139
+ * // - Login into gcloud by running:
6140
+ * // ```sh
6141
+ * // $ gcloud auth application-default login
6142
+ * // ```
6143
+ * // - Install the npm module by running:
6144
+ * // ```sh
6145
+ * // $ npm install googleapis
6146
+ * // ```
6147
+ *
6148
+ * const {google} = require('googleapis');
6149
+ * const vmmigration = google.vmmigration('v1');
6150
+ *
6151
+ * async function main() {
6152
+ * const auth = new google.auth.GoogleAuth({
6153
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6154
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
6155
+ * });
6156
+ *
6157
+ * // Acquire an auth client, and bind it to all future calls
6158
+ * const authClient = await auth.getClient();
6159
+ * google.options({auth: authClient});
6160
+ *
6161
+ * // Do the magic
6162
+ * const res =
6163
+ * await vmmigration.projects.locations.sources.diskMigrationJobs.run({
6164
+ * // Required. The name of the DiskMigrationJob.
6165
+ * name: 'projects/my-project/locations/my-location/sources/my-source/diskMigrationJobs/my-diskMigrationJob',
6166
+ *
6167
+ * // Request body metadata
6168
+ * requestBody: {
6169
+ * // request body parameters
6170
+ * // {}
6171
+ * },
6172
+ * });
6173
+ * console.log(res.data);
6174
+ *
6175
+ * // Example response
6176
+ * // {
6177
+ * // "done": false,
6178
+ * // "error": {},
6179
+ * // "metadata": {},
6180
+ * // "name": "my_name",
6181
+ * // "response": {}
6182
+ * // }
6183
+ * }
6184
+ *
6185
+ * main().catch(e => {
6186
+ * console.error(e);
6187
+ * throw e;
6188
+ * });
6189
+ *
6190
+ * ```
6191
+ *
6192
+ * @param params - Parameters for request
6193
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6194
+ * @param callback - Optional callback that handles the response.
6195
+ * @returns A promise if used with async/await, or void if used with a callback.
6196
+ */
6197
+ run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6198
+ run(params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
6199
+ run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6200
+ run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
6201
+ run(params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, callback: BodyResponseCallback<Schema$Operation>): void;
6202
+ run(callback: BodyResponseCallback<Schema$Operation>): void;
6203
+ }
6204
+ export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel extends StandardParameters {
6205
+ /**
6206
+ * Required. The name of the DiskMigrationJob.
6207
+ */
6208
+ name?: string;
6209
+ /**
6210
+ * Request body metadata
6211
+ */
6212
+ requestBody?: Schema$CancelDiskMigrationJobRequest;
6213
+ }
6214
+ export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Create extends StandardParameters {
6215
+ /**
6216
+ * Required. The DiskMigrationJob identifier. The maximum length of this value is 63 characters. Valid characters are lower case Latin letters, digits and hyphen. It must start with a Latin letter and must not end with a hyphen.
6217
+ */
6218
+ diskMigrationJobId?: string;
6219
+ /**
6220
+ * Required. The DiskMigrationJob's parent.
6221
+ */
6222
+ parent?: string;
6223
+ /**
6224
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6225
+ */
6226
+ requestId?: string;
6227
+ /**
6228
+ * Request body metadata
6229
+ */
6230
+ requestBody?: Schema$DiskMigrationJob;
6231
+ }
6232
+ export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Delete extends StandardParameters {
6233
+ /**
6234
+ * Required. The name of the DiskMigrationJob.
6235
+ */
6236
+ name?: string;
6237
+ }
6238
+ export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Get extends StandardParameters {
6239
+ /**
6240
+ * Required. The name of the DiskMigrationJob.
6241
+ */
6242
+ name?: string;
6243
+ }
6244
+ export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$List extends StandardParameters {
6245
+ /**
6246
+ * Optional. The filter request (according to AIP-160).
6247
+ */
6248
+ filter?: string;
6249
+ /**
6250
+ * Optional. Ordering of the result list.
6251
+ */
6252
+ orderBy?: string;
6253
+ /**
6254
+ * Optional. The maximum number of disk migration jobs to return. The service may return fewer than this value. If unspecified, at most 500 disk migration jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
6255
+ */
6256
+ pageSize?: number;
6257
+ /**
6258
+ * Optional. A page token, received from a previous `ListDiskMigrationJobs` call. Provide this to retrieve the subsequent page. When paginating, all parameters provided to `ListDiskMigrationJobs` except `page_size` must match the call that provided the page token.
6259
+ */
6260
+ pageToken?: string;
6261
+ /**
6262
+ * Required. The parent, which owns this collection of DiskMigrationJobs.
6263
+ */
6264
+ parent?: string;
6265
+ }
6266
+ export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Patch extends StandardParameters {
6267
+ /**
6268
+ * Output only. Identifier. The identifier of the DiskMigrationJob.
6269
+ */
6270
+ name?: string;
6271
+ /**
6272
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request timed out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
6273
+ */
6274
+ requestId?: string;
6275
+ /**
6276
+ * Optional. Field mask is used to specify the fields to be overwritten in the DiskMigrationJob resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, then a mask equivalent to all fields that are populated (have a non-empty value), will be implied.
6277
+ */
6278
+ updateMask?: string;
6279
+ /**
6280
+ * Request body metadata
6281
+ */
6282
+ requestBody?: Schema$DiskMigrationJob;
6283
+ }
6284
+ export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run extends StandardParameters {
6285
+ /**
6286
+ * Required. The name of the DiskMigrationJob.
6287
+ */
6288
+ name?: string;
6289
+ /**
6290
+ * Request body metadata
6291
+ */
6292
+ requestBody?: Schema$RunDiskMigrationJobRequest;
6293
+ }
5370
6294
  export class Resource$Projects$Locations$Sources$Migratingvms {
5371
6295
  context: APIRequestContext;
5372
6296
  cloneJobs: Resource$Projects$Locations$Sources$Migratingvms$Clonejobs;