Skip to content

Commit 058349a

Browse files
yoshi-automationsofisl
authored andcommitted
feat(migrationcenter)!: update the API
BREAKING CHANGE: This release has breaking changes. #### migrationcenter:v1alpha1 The following keys were deleted: - schemas.Asset.properties.performanceData.readOnly The following keys were added: - schemas.AssetsExportJob.properties.inventory.$ref - schemas.AssetsExportJob.properties.inventory.description - schemas.AssetsExportJob.properties.performanceData.$ref - schemas.AssetsExportJob.properties.performanceData.description - schemas.AssetsExportJob.properties.showHidden.description - schemas.AssetsExportJob.properties.showHidden.type - schemas.AssetsExportJobExecution.properties.requestedAssetCount.description - schemas.AssetsExportJobExecution.properties.requestedAssetCount.format - schemas.AssetsExportJobExecution.properties.requestedAssetCount.readOnly - schemas.AssetsExportJobExecution.properties.requestedAssetCount.type - schemas.AssetsExportJobExecutionResult.properties.outputFiles.$ref - schemas.AssetsExportJobExecutionResult.properties.outputFiles.description - schemas.AssetsExportJobExecutionResult.properties.outputFiles.readOnly - schemas.AssetsExportJobInventory.description - schemas.AssetsExportJobInventory.id - schemas.AssetsExportJobInventory.type - schemas.AssetsExportJobPerformanceData.description - schemas.AssetsExportJobPerformanceData.id - schemas.AssetsExportJobPerformanceData.properties.maxDays.description - schemas.AssetsExportJobPerformanceData.properties.maxDays.format - schemas.AssetsExportJobPerformanceData.properties.maxDays.type - schemas.AssetsExportJobPerformanceData.type - schemas.ComputeStorageDescriptor.properties.type.readOnly - schemas.CsvOutputFile.description - schemas.CsvOutputFile.id - schemas.CsvOutputFile.properties.columnsCount.description - schemas.CsvOutputFile.properties.columnsCount.format - schemas.CsvOutputFile.properties.columnsCount.readOnly - schemas.CsvOutputFile.properties.columnsCount.type - schemas.CsvOutputFile.properties.rowCount.description - schemas.CsvOutputFile.properties.rowCount.format - schemas.CsvOutputFile.properties.rowCount.readOnly - schemas.CsvOutputFile.properties.rowCount.type - schemas.CsvOutputFile.properties.signedUri.$ref - schemas.CsvOutputFile.properties.signedUri.description - schemas.CsvOutputFile.properties.signedUri.readOnly - schemas.CsvOutputFile.type - schemas.FitDescriptor.properties.fitLevel.readOnly - schemas.GuestConfigDetails.properties.hosts.readOnly - schemas.HostsEntryList.properties.entries.readOnly - schemas.OutputFile.description - schemas.OutputFile.id - schemas.OutputFile.properties.csvOutputFile.$ref - schemas.OutputFile.properties.csvOutputFile.description - schemas.OutputFile.properties.csvOutputFile.readOnly - schemas.OutputFile.properties.fileSizeBytes.description - schemas.OutputFile.properties.fileSizeBytes.format - schemas.OutputFile.properties.fileSizeBytes.readOnly - schemas.OutputFile.properties.fileSizeBytes.type - schemas.OutputFile.type - schemas.OutputFileList.description - schemas.OutputFileList.id - schemas.OutputFileList.properties.entries.description - schemas.OutputFileList.properties.entries.items.$ref - schemas.OutputFileList.properties.entries.type - schemas.OutputFileList.type - schemas.VirtualMachineArchitectureDetails.properties.cpuThreadCount.deprecated The following keys were changed: - schemas.Asset.properties.performanceData.description - schemas.CloudDatabaseMigrationTarget.properties.cloudSqlForPostgresqlShape.description - schemas.CloudSqlForPostgreSqlShape.description - schemas.ComputeStorageDescriptor.properties.type.description - schemas.DatabasePreferencesCloudSqlCommon.properties.edition.description - schemas.DatabasePreferencesCloudSqlCommonBackup.properties.backupMode.description - schemas.FitDescriptor.properties.fitLevel.description - schemas.GuestConfigDetails.properties.hosts.description - schemas.HostsEntryList.properties.entries.description - schemas.ReportSummaryAssetAggregateStats.properties.coreCountHistogram.description - schemas.ReportSummaryGroupFinding.properties.databaseType.enumDescriptions - schemas.ReportSummaryGroupPreferenceSetFinding.properties.monthlyCostOsLicense.description - schemas.VirtualMachineArchitectureDetails.properties.cpuThreadCount.description #### migrationcenter:v1 The following keys were added: - schemas.ComputeEngineShapeDescriptor.properties.logicalCoreCount.readOnly - schemas.ComputeEngineShapeDescriptor.properties.machineType.readOnly - schemas.ComputeEngineShapeDescriptor.properties.series.readOnly - schemas.ComputeEngineShapeDescriptor.properties.storage.readOnly - schemas.ComputeStorageDescriptor.properties.sizeGb.readOnly - schemas.ComputeStorageDescriptor.properties.type.readOnly - schemas.FitDescriptor.properties.fitLevel.readOnly - schemas.MachineArchitectureDetails.properties.cpuThreadCount.deprecated The following keys were changed: - schemas.ComputeEngineShapeDescriptor.properties.logicalCoreCount.description - schemas.ComputeEngineShapeDescriptor.properties.machineType.description - schemas.ComputeEngineShapeDescriptor.properties.series.description - schemas.ComputeEngineShapeDescriptor.properties.storage.description - schemas.ComputeStorageDescriptor.properties.sizeGb.description - schemas.ComputeStorageDescriptor.properties.type.description - schemas.FitDescriptor.properties.fitLevel.description - schemas.MachineArchitectureDetails.properties.cpuThreadCount.description - schemas.ReportSummaryAssetAggregateStats.properties.coreCountHistogram.description
1 parent 2628015 commit 058349a

File tree

4 files changed

+227
-46
lines changed

4 files changed

+227
-46
lines changed

discovery/migrationcenter-v1.json

+18-10
Original file line numberDiff line numberDiff line change
@@ -2309,7 +2309,7 @@
23092309
}
23102310
}
23112311
},
2312-
"revision": "20240822",
2312+
"revision": "20240926",
23132313
"rootUrl": "https://migrationcenter.googleapis.com/",
23142314
"schemas": {
23152315
"AddAssetsToGroupRequest": {
@@ -2850,12 +2850,14 @@
28502850
"id": "ComputeEngineShapeDescriptor",
28512851
"properties": {
28522852
"logicalCoreCount": {
2853-
"description": "Number of logical cores.",
2853+
"description": "Output only. Number of logical cores.",
28542854
"format": "int32",
2855+
"readOnly": true,
28552856
"type": "integer"
28562857
},
28572858
"machineType": {
2858-
"description": "Compute Engine machine type.",
2859+
"description": "Output only. Compute Engine machine type.",
2860+
"readOnly": true,
28592861
"type": "string"
28602862
},
28612863
"memoryMb": {
@@ -2869,14 +2871,16 @@
28692871
"type": "integer"
28702872
},
28712873
"series": {
2872-
"description": "Compute Engine machine series.",
2874+
"description": "Output only. Compute Engine machine series.",
2875+
"readOnly": true,
28732876
"type": "string"
28742877
},
28752878
"storage": {
2876-
"description": "Compute Engine storage. Never empty.",
2879+
"description": "Output only. Compute Engine storage. Never empty.",
28772880
"items": {
28782881
"$ref": "ComputeStorageDescriptor"
28792882
},
2883+
"readOnly": true,
28802884
"type": "array"
28812885
}
28822886
},
@@ -2887,12 +2891,13 @@
28872891
"id": "ComputeStorageDescriptor",
28882892
"properties": {
28892893
"sizeGb": {
2890-
"description": "Disk size in GiB.",
2894+
"description": "Output only. Disk size in GiB.",
28912895
"format": "int32",
2896+
"readOnly": true,
28922897
"type": "integer"
28932898
},
28942899
"type": {
2895-
"description": "Disk type backing the storage.",
2900+
"description": "Output only. Disk type backing the storage.",
28962901
"enum": [
28972902
"PERSISTENT_DISK_TYPE_UNSPECIFIED",
28982903
"PERSISTENT_DISK_TYPE_STANDARD",
@@ -2905,6 +2910,7 @@
29052910
"Balanced Persistent Disk.",
29062911
"SSD Persistent Disk."
29072912
],
2913+
"readOnly": true,
29082914
"type": "string"
29092915
}
29102916
},
@@ -3377,7 +3383,7 @@
33773383
"id": "FitDescriptor",
33783384
"properties": {
33793385
"fitLevel": {
3380-
"description": "Fit level.",
3386+
"description": "Output only. Fit level.",
33813387
"enum": [
33823388
"FIT_LEVEL_UNSPECIFIED",
33833389
"FIT",
@@ -3390,6 +3396,7 @@
33903396
"No Fit.",
33913397
"Fit with effort."
33923398
],
3399+
"readOnly": true,
33933400
"type": "string"
33943401
}
33953402
},
@@ -4358,7 +4365,8 @@
43584365
"type": "integer"
43594366
},
43604367
"cpuThreadCount": {
4361-
"description": "Number of CPU threads allocated to the machine.",
4368+
"deprecated": true,
4369+
"description": "Deprecated: use MachineDetails.core_count instead. Number of CPU threads allocated to the machine.",
43624370
"format": "int32",
43634371
"type": "integer"
43644372
},
@@ -5192,7 +5200,7 @@
51925200
"properties": {
51935201
"coreCountHistogram": {
51945202
"$ref": "ReportSummaryHistogramChartData",
5195-
"description": "Histogram showing a distribution of CPU core counts."
5203+
"description": "Histogram showing a distribution of logical CPU core counts."
51965204
},
51975205
"memoryBytesHistogram": {
51985206
"$ref": "ReportSummaryHistogramChartData",

0 commit comments

Comments
 (0)