@googleapis/vmmigration 6.0.0 → 7.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/CHANGELOG.md +18 -0
- package/build/v1.d.ts +425 -1
- package/build/v1.js +235 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha1.d.ts +425 -1
- package/build/v1alpha1.js +235 -0
- package/build/v1alpha1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +956 -1
- package/v1alpha1.ts +959 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/vmmigration-v6.0.1...vmmigration-v7.0.0) (2024-03-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* This release has breaking changes.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* run the generator ([#3447](https://github.com/googleapis/google-api-nodejs-client/issues/3447)) ([873b559](https://github.com/googleapis/google-api-nodejs-client/commit/873b55950bcf04db37f08e8a62caa6e4a9b9c487))
|
|
13
|
+
|
|
14
|
+
## [6.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/vmmigration-v6.0.0...vmmigration-v6.0.1) (2024-02-02)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **vmmigration:** update the API ([5ae80ff](https://github.com/googleapis/google-api-nodejs-client/commit/5ae80ff8788154f48906c4a3ef1f61fb0984414a))
|
|
20
|
+
|
|
3
21
|
## [6.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/vmmigration-v5.0.1...vmmigration-v6.0.0) (2024-01-05)
|
|
4
22
|
|
|
5
23
|
|
package/build/v1.d.ts
CHANGED
|
@@ -401,7 +401,7 @@ export declare namespace vmmigration_v1 {
|
|
|
401
401
|
vmCapabilitiesInfo?: Schema$VmCapabilities;
|
|
402
402
|
}
|
|
403
403
|
/**
|
|
404
|
-
*
|
|
404
|
+
* AzureVmDetails describes a VM in Azure.
|
|
405
405
|
*/
|
|
406
406
|
export interface Schema$AzureVmDetails {
|
|
407
407
|
/**
|
|
@@ -503,6 +503,11 @@ export declare namespace vmmigration_v1 {
|
|
|
503
503
|
*/
|
|
504
504
|
export interface Schema$CancelCutoverJobRequest {
|
|
505
505
|
}
|
|
506
|
+
/**
|
|
507
|
+
* Request message for 'CancelImageImportJob' request.
|
|
508
|
+
*/
|
|
509
|
+
export interface Schema$CancelImageImportJobRequest {
|
|
510
|
+
}
|
|
506
511
|
/**
|
|
507
512
|
* The request message for Operations.CancelOperation.
|
|
508
513
|
*/
|
|
@@ -824,6 +829,11 @@ export declare namespace vmmigration_v1 {
|
|
|
824
829
|
*/
|
|
825
830
|
restartType?: string | null;
|
|
826
831
|
}
|
|
832
|
+
/**
|
|
833
|
+
* CreatingImageStep contains specific step details.
|
|
834
|
+
*/
|
|
835
|
+
export interface Schema$CreatingImageStep {
|
|
836
|
+
}
|
|
827
837
|
/**
|
|
828
838
|
* CutoverForecast holds information about future CutoverJobs of a MigratingVm.
|
|
829
839
|
*/
|
|
@@ -1001,6 +1011,11 @@ export declare namespace vmmigration_v1 {
|
|
|
1001
1011
|
*/
|
|
1002
1012
|
version?: string | null;
|
|
1003
1013
|
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Mentions that the image import is not using OS adaptation process.
|
|
1016
|
+
*/
|
|
1017
|
+
export interface Schema$DataDiskImageImport {
|
|
1018
|
+
}
|
|
1004
1019
|
/**
|
|
1005
1020
|
* A message describing a data disk.
|
|
1006
1021
|
*/
|
|
@@ -1027,6 +1042,53 @@ export declare namespace vmmigration_v1 {
|
|
|
1027
1042
|
*/
|
|
1028
1043
|
sourceImage?: string | null;
|
|
1029
1044
|
}
|
|
1045
|
+
/**
|
|
1046
|
+
* The target details of the image resource that will be created by the import job.
|
|
1047
|
+
*/
|
|
1048
|
+
export interface Schema$DiskImageTargetDetails {
|
|
1049
|
+
/**
|
|
1050
|
+
* Optional. Additional licenses to assign to the image.
|
|
1051
|
+
*/
|
|
1052
|
+
additionalLicenses?: string[] | null;
|
|
1053
|
+
/**
|
|
1054
|
+
* Optional. Use to skip OS adaptation process.
|
|
1055
|
+
*/
|
|
1056
|
+
dataDiskImageImport?: Schema$DataDiskImageImport;
|
|
1057
|
+
/**
|
|
1058
|
+
* Optional. An optional description of the image.
|
|
1059
|
+
*/
|
|
1060
|
+
description?: string | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* Optional. Immutable. The encryption to apply to the image.
|
|
1063
|
+
*/
|
|
1064
|
+
encryption?: Schema$Encryption;
|
|
1065
|
+
/**
|
|
1066
|
+
* Optional. The name of the image family to which the new image belongs.
|
|
1067
|
+
*/
|
|
1068
|
+
familyName?: string | null;
|
|
1069
|
+
/**
|
|
1070
|
+
* Required. The name of the image to be created.
|
|
1071
|
+
*/
|
|
1072
|
+
imageName?: string | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Optional. A map of labels to associate with the image.
|
|
1075
|
+
*/
|
|
1076
|
+
labels?: {
|
|
1077
|
+
[key: string]: string;
|
|
1078
|
+
} | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* Optional. Use to set the parameters relevant for the OS adaptation process.
|
|
1081
|
+
*/
|
|
1082
|
+
osAdaptationParameters?: Schema$ImageImportOsAdaptationParameters;
|
|
1083
|
+
/**
|
|
1084
|
+
* Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
|
|
1085
|
+
*/
|
|
1086
|
+
singleRegionStorage?: boolean | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
|
|
1089
|
+
*/
|
|
1090
|
+
targetProject?: string | null;
|
|
1091
|
+
}
|
|
1030
1092
|
/**
|
|
1031
1093
|
* Details for a disk only migration.
|
|
1032
1094
|
*/
|
|
@@ -1184,6 +1246,127 @@ export declare namespace vmmigration_v1 {
|
|
|
1184
1246
|
*/
|
|
1185
1247
|
updateTime?: string | null;
|
|
1186
1248
|
}
|
|
1249
|
+
/**
|
|
1250
|
+
* ImageImport describes the configuration of the image import to run.
|
|
1251
|
+
*/
|
|
1252
|
+
export interface Schema$ImageImport {
|
|
1253
|
+
/**
|
|
1254
|
+
* Immutable. The path to the Cloud Storage file from which the image should be imported.
|
|
1255
|
+
*/
|
|
1256
|
+
cloudStorageUri?: string | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Output only. The time the image import was created.
|
|
1259
|
+
*/
|
|
1260
|
+
createTime?: string | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Immutable. Target details for importing a disk image, will be used by ImageImportJob.
|
|
1263
|
+
*/
|
|
1264
|
+
diskImageTargetDefaults?: Schema$DiskImageTargetDetails;
|
|
1265
|
+
/**
|
|
1266
|
+
* Immutable. The encryption details used by the image import process during the image adaptation for Compute Engine.
|
|
1267
|
+
*/
|
|
1268
|
+
encryption?: Schema$Encryption;
|
|
1269
|
+
/**
|
|
1270
|
+
* Output only. The resource path of the ImageImport.
|
|
1271
|
+
*/
|
|
1272
|
+
name?: string | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Output only. The result of the most recent runs for this ImageImport. All jobs for this ImageImport can be listed via ListImageImportJobs.
|
|
1275
|
+
*/
|
|
1276
|
+
recentImageImportJobs?: Schema$ImageImportJob[];
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* ImageImportJob describes the progress and result of an image import.
|
|
1280
|
+
*/
|
|
1281
|
+
export interface Schema$ImageImportJob {
|
|
1282
|
+
/**
|
|
1283
|
+
* Output only. The path to the Cloud Storage file from which the image should be imported.
|
|
1284
|
+
*/
|
|
1285
|
+
cloudStorageUri?: string | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Output only. The resource paths of the resources created by the image import job.
|
|
1288
|
+
*/
|
|
1289
|
+
createdResources?: string[] | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* Output only. The time the image import was created (as an API call, not when it was actually created in the target).
|
|
1292
|
+
*/
|
|
1293
|
+
createTime?: string | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* Output only. Target details used to import a disk image.
|
|
1296
|
+
*/
|
|
1297
|
+
diskImageTargetDetails?: Schema$DiskImageTargetDetails;
|
|
1298
|
+
/**
|
|
1299
|
+
* Output only. The time the image import was ended.
|
|
1300
|
+
*/
|
|
1301
|
+
endTime?: string | null;
|
|
1302
|
+
/**
|
|
1303
|
+
* Output only. Provides details on the error that led to the image import state in case of an error.
|
|
1304
|
+
*/
|
|
1305
|
+
errors?: Schema$Status[];
|
|
1306
|
+
/**
|
|
1307
|
+
* Output only. The resource path of the ImageImportJob.
|
|
1308
|
+
*/
|
|
1309
|
+
name?: string | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Output only. The state of the image import.
|
|
1312
|
+
*/
|
|
1313
|
+
state?: string | null;
|
|
1314
|
+
/**
|
|
1315
|
+
* Output only. The image import steps list representing its progress.
|
|
1316
|
+
*/
|
|
1317
|
+
steps?: Schema$ImageImportStep[];
|
|
1318
|
+
/**
|
|
1319
|
+
* Output only. Warnings that occurred during the image import.
|
|
1320
|
+
*/
|
|
1321
|
+
warnings?: Schema$MigrationWarning[];
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* Parameters affecting the OS adaptation process.
|
|
1325
|
+
*/
|
|
1326
|
+
export interface Schema$ImageImportOsAdaptationParameters {
|
|
1327
|
+
/**
|
|
1328
|
+
* Optional. Set to true in order to generalize the imported image. The generalization process enables co-existence of multiple VMs created from the same image. For Windows, generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID).
|
|
1329
|
+
*/
|
|
1330
|
+
generalize?: boolean | null;
|
|
1331
|
+
/**
|
|
1332
|
+
* Optional. Choose which type of license to apply to the imported image.
|
|
1333
|
+
*/
|
|
1334
|
+
licenseType?: string | null;
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* ImageImportStep holds information about the image import step progress.
|
|
1338
|
+
*/
|
|
1339
|
+
export interface Schema$ImageImportStep {
|
|
1340
|
+
/**
|
|
1341
|
+
* Adapting OS step.
|
|
1342
|
+
*/
|
|
1343
|
+
adaptingOs?: Schema$AdaptingOSStep;
|
|
1344
|
+
/**
|
|
1345
|
+
* Creating image step.
|
|
1346
|
+
*/
|
|
1347
|
+
creatingImage?: Schema$CreatingImageStep;
|
|
1348
|
+
/**
|
|
1349
|
+
* Output only. The time the step has ended.
|
|
1350
|
+
*/
|
|
1351
|
+
endTime?: string | null;
|
|
1352
|
+
/**
|
|
1353
|
+
* Initializing step.
|
|
1354
|
+
*/
|
|
1355
|
+
initializing?: Schema$InitializingImageImportStep;
|
|
1356
|
+
/**
|
|
1357
|
+
* Loading source files step.
|
|
1358
|
+
*/
|
|
1359
|
+
loadingSourceFiles?: Schema$LoadingImageSourceFilesStep;
|
|
1360
|
+
/**
|
|
1361
|
+
* Output only. The time the step has started.
|
|
1362
|
+
*/
|
|
1363
|
+
startTime?: string | null;
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* InitializingImageImportStep contains specific step details.
|
|
1367
|
+
*/
|
|
1368
|
+
export interface Schema$InitializingImageImportStep {
|
|
1369
|
+
}
|
|
1187
1370
|
/**
|
|
1188
1371
|
* InitializingReplicationStep contains specific step details.
|
|
1189
1372
|
*/
|
|
@@ -1275,6 +1458,40 @@ export declare namespace vmmigration_v1 {
|
|
|
1275
1458
|
*/
|
|
1276
1459
|
unreachable?: string[] | null;
|
|
1277
1460
|
}
|
|
1461
|
+
/**
|
|
1462
|
+
* Response message for 'ListImageImportJobs' call.
|
|
1463
|
+
*/
|
|
1464
|
+
export interface Schema$ListImageImportJobsResponse {
|
|
1465
|
+
/**
|
|
1466
|
+
* Output only. The list of target response.
|
|
1467
|
+
*/
|
|
1468
|
+
imageImportJobs?: Schema$ImageImportJob[];
|
|
1469
|
+
/**
|
|
1470
|
+
* 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.
|
|
1471
|
+
*/
|
|
1472
|
+
nextPageToken?: string | null;
|
|
1473
|
+
/**
|
|
1474
|
+
* Output only. Locations that could not be reached.
|
|
1475
|
+
*/
|
|
1476
|
+
unreachable?: string[] | null;
|
|
1477
|
+
}
|
|
1478
|
+
/**
|
|
1479
|
+
* Response message for 'ListImageImports' call.
|
|
1480
|
+
*/
|
|
1481
|
+
export interface Schema$ListImageImportsResponse {
|
|
1482
|
+
/**
|
|
1483
|
+
* Output only. The list of target response.
|
|
1484
|
+
*/
|
|
1485
|
+
imageImports?: Schema$ImageImport[];
|
|
1486
|
+
/**
|
|
1487
|
+
* 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.
|
|
1488
|
+
*/
|
|
1489
|
+
nextPageToken?: string | null;
|
|
1490
|
+
/**
|
|
1491
|
+
* Output only. Locations that could not be reached.
|
|
1492
|
+
*/
|
|
1493
|
+
unreachable?: string[] | null;
|
|
1494
|
+
}
|
|
1278
1495
|
/**
|
|
1279
1496
|
* The response message for Locations.ListLocations.
|
|
1280
1497
|
*/
|
|
@@ -1386,6 +1603,11 @@ export declare namespace vmmigration_v1 {
|
|
|
1386
1603
|
*/
|
|
1387
1604
|
utilizationReports?: Schema$UtilizationReport[];
|
|
1388
1605
|
}
|
|
1606
|
+
/**
|
|
1607
|
+
* LoadingImageSourceFilesStep contains specific step details.
|
|
1608
|
+
*/
|
|
1609
|
+
export interface Schema$LoadingImageSourceFilesStep {
|
|
1610
|
+
}
|
|
1389
1611
|
/**
|
|
1390
1612
|
* Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
|
|
1391
1613
|
*/
|
|
@@ -2274,6 +2496,7 @@ export declare namespace vmmigration_v1 {
|
|
|
2274
2496
|
export class Resource$Projects$Locations {
|
|
2275
2497
|
context: APIRequestContext;
|
|
2276
2498
|
groups: Resource$Projects$Locations$Groups;
|
|
2499
|
+
imageImports: Resource$Projects$Locations$Imageimports;
|
|
2277
2500
|
operations: Resource$Projects$Locations$Operations;
|
|
2278
2501
|
sources: Resource$Projects$Locations$Sources;
|
|
2279
2502
|
targetProjects: Resource$Projects$Locations$Targetprojects;
|
|
@@ -2527,6 +2750,207 @@ export declare namespace vmmigration_v1 {
|
|
|
2527
2750
|
*/
|
|
2528
2751
|
requestBody?: Schema$RemoveGroupMigrationRequest;
|
|
2529
2752
|
}
|
|
2753
|
+
export class Resource$Projects$Locations$Imageimports {
|
|
2754
|
+
context: APIRequestContext;
|
|
2755
|
+
imageImportJobs: Resource$Projects$Locations$Imageimports$Imageimportjobs;
|
|
2756
|
+
constructor(context: APIRequestContext);
|
|
2757
|
+
/**
|
|
2758
|
+
* Creates a new ImageImport in a given project.
|
|
2759
|
+
*
|
|
2760
|
+
* @param params - Parameters for request
|
|
2761
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2762
|
+
* @param callback - Optional callback that handles the response.
|
|
2763
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2764
|
+
*/
|
|
2765
|
+
create(params: Params$Resource$Projects$Locations$Imageimports$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2766
|
+
create(params?: Params$Resource$Projects$Locations$Imageimports$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2767
|
+
create(params: Params$Resource$Projects$Locations$Imageimports$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2768
|
+
create(params: Params$Resource$Projects$Locations$Imageimports$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2769
|
+
create(params: Params$Resource$Projects$Locations$Imageimports$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2770
|
+
create(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2771
|
+
/**
|
|
2772
|
+
* Deletes a single ImageImport.
|
|
2773
|
+
*
|
|
2774
|
+
* @param params - Parameters for request
|
|
2775
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2776
|
+
* @param callback - Optional callback that handles the response.
|
|
2777
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2778
|
+
*/
|
|
2779
|
+
delete(params: Params$Resource$Projects$Locations$Imageimports$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2780
|
+
delete(params?: Params$Resource$Projects$Locations$Imageimports$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2781
|
+
delete(params: Params$Resource$Projects$Locations$Imageimports$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2782
|
+
delete(params: Params$Resource$Projects$Locations$Imageimports$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2783
|
+
delete(params: Params$Resource$Projects$Locations$Imageimports$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2784
|
+
delete(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2785
|
+
/**
|
|
2786
|
+
* Gets details of a single ImageImport.
|
|
2787
|
+
*
|
|
2788
|
+
* @param params - Parameters for request
|
|
2789
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2790
|
+
* @param callback - Optional callback that handles the response.
|
|
2791
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2792
|
+
*/
|
|
2793
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2794
|
+
get(params?: Params$Resource$Projects$Locations$Imageimports$Get, options?: MethodOptions): GaxiosPromise<Schema$ImageImport>;
|
|
2795
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2796
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Get, options: MethodOptions | BodyResponseCallback<Schema$ImageImport>, callback: BodyResponseCallback<Schema$ImageImport>): void;
|
|
2797
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Get, callback: BodyResponseCallback<Schema$ImageImport>): void;
|
|
2798
|
+
get(callback: BodyResponseCallback<Schema$ImageImport>): void;
|
|
2799
|
+
/**
|
|
2800
|
+
* Lists ImageImports in a given project.
|
|
2801
|
+
*
|
|
2802
|
+
* @param params - Parameters for request
|
|
2803
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2804
|
+
* @param callback - Optional callback that handles the response.
|
|
2805
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2806
|
+
*/
|
|
2807
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2808
|
+
list(params?: Params$Resource$Projects$Locations$Imageimports$List, options?: MethodOptions): GaxiosPromise<Schema$ListImageImportsResponse>;
|
|
2809
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2810
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$List, options: MethodOptions | BodyResponseCallback<Schema$ListImageImportsResponse>, callback: BodyResponseCallback<Schema$ListImageImportsResponse>): void;
|
|
2811
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$List, callback: BodyResponseCallback<Schema$ListImageImportsResponse>): void;
|
|
2812
|
+
list(callback: BodyResponseCallback<Schema$ListImageImportsResponse>): void;
|
|
2813
|
+
}
|
|
2814
|
+
export interface Params$Resource$Projects$Locations$Imageimports$Create extends StandardParameters {
|
|
2815
|
+
/**
|
|
2816
|
+
* Required. The image import identifier. This value maximum length is 63 characters, and valid characters are /a-z-/. It must start with an english letter and must not end with a hyphen.
|
|
2817
|
+
*/
|
|
2818
|
+
imageImportId?: string;
|
|
2819
|
+
/**
|
|
2820
|
+
* Required. The ImageImport's parent.
|
|
2821
|
+
*/
|
|
2822
|
+
parent?: string;
|
|
2823
|
+
/**
|
|
2824
|
+
* 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 times 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).
|
|
2825
|
+
*/
|
|
2826
|
+
requestId?: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* Request body metadata
|
|
2829
|
+
*/
|
|
2830
|
+
requestBody?: Schema$ImageImport;
|
|
2831
|
+
}
|
|
2832
|
+
export interface Params$Resource$Projects$Locations$Imageimports$Delete extends StandardParameters {
|
|
2833
|
+
/**
|
|
2834
|
+
* Required. The ImageImport name.
|
|
2835
|
+
*/
|
|
2836
|
+
name?: string;
|
|
2837
|
+
/**
|
|
2838
|
+
* 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 after the first request. For example, consider a situation where you make an initial request and t he request times 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).
|
|
2839
|
+
*/
|
|
2840
|
+
requestId?: string;
|
|
2841
|
+
}
|
|
2842
|
+
export interface Params$Resource$Projects$Locations$Imageimports$Get extends StandardParameters {
|
|
2843
|
+
/**
|
|
2844
|
+
* Required. The ImageImport name.
|
|
2845
|
+
*/
|
|
2846
|
+
name?: string;
|
|
2847
|
+
}
|
|
2848
|
+
export interface Params$Resource$Projects$Locations$Imageimports$List extends StandardParameters {
|
|
2849
|
+
/**
|
|
2850
|
+
* Optional. The filter request (according to https://google.aip.dev/160).
|
|
2851
|
+
*/
|
|
2852
|
+
filter?: string;
|
|
2853
|
+
/**
|
|
2854
|
+
* Optional. The order by fields for the result (according to https://google.aip.dev/132#ordering). Currently ordering is only possible by "name" field.
|
|
2855
|
+
*/
|
|
2856
|
+
orderBy?: string;
|
|
2857
|
+
/**
|
|
2858
|
+
* Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
2859
|
+
*/
|
|
2860
|
+
pageSize?: number;
|
|
2861
|
+
/**
|
|
2862
|
+
* Optional. A page token, received from a previous `ListImageImports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImageImports` must match the call that provided the page token.
|
|
2863
|
+
*/
|
|
2864
|
+
pageToken?: string;
|
|
2865
|
+
/**
|
|
2866
|
+
* Required. The parent, which owns this collection of targets.
|
|
2867
|
+
*/
|
|
2868
|
+
parent?: string;
|
|
2869
|
+
}
|
|
2870
|
+
export class Resource$Projects$Locations$Imageimports$Imageimportjobs {
|
|
2871
|
+
context: APIRequestContext;
|
|
2872
|
+
constructor(context: APIRequestContext);
|
|
2873
|
+
/**
|
|
2874
|
+
* Initiates the cancellation of a running clone job.
|
|
2875
|
+
*
|
|
2876
|
+
* @param params - Parameters for request
|
|
2877
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2878
|
+
* @param callback - Optional callback that handles the response.
|
|
2879
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2880
|
+
*/
|
|
2881
|
+
cancel(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2882
|
+
cancel(params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
|
|
2883
|
+
cancel(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2884
|
+
cancel(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2885
|
+
cancel(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2886
|
+
cancel(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
2887
|
+
/**
|
|
2888
|
+
* Gets details of a single ImageImportJob.
|
|
2889
|
+
*
|
|
2890
|
+
* @param params - Parameters for request
|
|
2891
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2892
|
+
* @param callback - Optional callback that handles the response.
|
|
2893
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2894
|
+
*/
|
|
2895
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2896
|
+
get(params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options?: MethodOptions): GaxiosPromise<Schema$ImageImportJob>;
|
|
2897
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2898
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, options: MethodOptions | BodyResponseCallback<Schema$ImageImportJob>, callback: BodyResponseCallback<Schema$ImageImportJob>): void;
|
|
2899
|
+
get(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get, callback: BodyResponseCallback<Schema$ImageImportJob>): void;
|
|
2900
|
+
get(callback: BodyResponseCallback<Schema$ImageImportJob>): void;
|
|
2901
|
+
/**
|
|
2902
|
+
* Lists ImageImportJobs in a given project.
|
|
2903
|
+
*
|
|
2904
|
+
* @param params - Parameters for request
|
|
2905
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2906
|
+
* @param callback - Optional callback that handles the response.
|
|
2907
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2908
|
+
*/
|
|
2909
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
|
2910
|
+
list(params?: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options?: MethodOptions): GaxiosPromise<Schema$ListImageImportJobsResponse>;
|
|
2911
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
2912
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, options: MethodOptions | BodyResponseCallback<Schema$ListImageImportJobsResponse>, callback: BodyResponseCallback<Schema$ListImageImportJobsResponse>): void;
|
|
2913
|
+
list(params: Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List, callback: BodyResponseCallback<Schema$ListImageImportJobsResponse>): void;
|
|
2914
|
+
list(callback: BodyResponseCallback<Schema$ListImageImportJobsResponse>): void;
|
|
2915
|
+
}
|
|
2916
|
+
export interface Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Cancel extends StandardParameters {
|
|
2917
|
+
/**
|
|
2918
|
+
* Required. The image import job id.
|
|
2919
|
+
*/
|
|
2920
|
+
name?: string;
|
|
2921
|
+
/**
|
|
2922
|
+
* Request body metadata
|
|
2923
|
+
*/
|
|
2924
|
+
requestBody?: Schema$CancelImageImportJobRequest;
|
|
2925
|
+
}
|
|
2926
|
+
export interface Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$Get extends StandardParameters {
|
|
2927
|
+
/**
|
|
2928
|
+
* Required. The ImageImportJob name.
|
|
2929
|
+
*/
|
|
2930
|
+
name?: string;
|
|
2931
|
+
}
|
|
2932
|
+
export interface Params$Resource$Projects$Locations$Imageimports$Imageimportjobs$List extends StandardParameters {
|
|
2933
|
+
/**
|
|
2934
|
+
* Optional. The filter request (according to https://google.aip.dev/160).
|
|
2935
|
+
*/
|
|
2936
|
+
filter?: string;
|
|
2937
|
+
/**
|
|
2938
|
+
* Optional. The order by fields for the result (according to https://google.aip.dev/132#ordering). Currently ordering is only possible by "name" field.
|
|
2939
|
+
*/
|
|
2940
|
+
orderBy?: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
2943
|
+
*/
|
|
2944
|
+
pageSize?: number;
|
|
2945
|
+
/**
|
|
2946
|
+
* Optional. A page token, received from a previous `ListImageImportJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImageImportJobs` must match the call that provided the page token.
|
|
2947
|
+
*/
|
|
2948
|
+
pageToken?: string;
|
|
2949
|
+
/**
|
|
2950
|
+
* Required. The parent, which owns this collection of targets.
|
|
2951
|
+
*/
|
|
2952
|
+
parent?: string;
|
|
2953
|
+
}
|
|
2530
2954
|
export class Resource$Projects$Locations$Operations {
|
|
2531
2955
|
context: APIRequestContext;
|
|
2532
2956
|
constructor(context: APIRequestContext);
|