Subtugas untuk migrasi yang memberikan detail tentang konfigurasi subtugas. Konten detail tidak menjadi masalah bagi pengguna akhir, tetapi merupakan kontrak antara pembuat subtugas dan pekerja subtugas.
Jenis Subtask. Layanan migrasi tidak memeriksa apakah ini adalah jenis yang diketahui. Pembuatan tugas (yaitu orkestrasi atau pekerja) bergantung pada pembuat tugas untuk memastikannya hanya membuat subtugas yang memiliki polling pekerja yang kompatibel untuk Subtugas.
Hanya output. Memberikan detail tentang error dan masalah yang ditemukan saat memproses subtugas. Adanya detail error tidak berarti subtugas gagal.
resourceErrorCount
integer
Jumlah atau resource yang memiliki error. Catatan: Ini bukan jumlah total error karena setiap resource dapat memiliki lebih dari satu error. Ini digunakan untuk menunjukkan pemotongan dengan menampilkan resourceErrorCount yang lebih tinggi dari ukuran resourceErrorDetails.
Subtugas sedang berjalan, yaitu ditetapkan ke pekerja untuk dieksekusi.
SUCCEEDED
Subtugas berhasil diselesaikan.
FAILED
Subtugas tidak berhasil diselesaikan.
PAUSED
Subtugas dijeda, yaitu tidak akan dijadwalkan. Jika sudah ditetapkan,kontrak mungkin masih selesai tetapi tidak ada perpanjangan sewa baru yang akan diberikan.
PENDING_DEPENDENCY
Subtugas tertunda dependensi. Ini akan dijadwalkan setelah dependensinya selesai.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-04-19 UTC."],[[["\u003cp\u003eMigrationSubtask represents a unit of work within a larger migration, detailing its configuration, which is only meant for the subtask creator and subtask worker.\u003c/p\u003e\n"],["\u003cp\u003eSubtasks have properties like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003etaskId\u003c/code\u003e, \u003ccode\u003etype\u003c/code\u003e, and \u003ccode\u003estate\u003c/code\u003e, with the \u003ccode\u003estate\u003c/code\u003e property being the current status of the subtask (e.g., \u003ccode\u003eACTIVE\u003c/code\u003e, \u003ccode\u003eRUNNING\u003c/code\u003e, \u003ccode\u003eSUCCEEDED\u003c/code\u003e, \u003ccode\u003eFAILED\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eSubtasks maintain information about their execution, including \u003ccode\u003eprocessingError\u003c/code\u003e for failed states, \u003ccode\u003eresourceErrorDetails\u003c/code\u003e for issues encountered, \u003ccode\u003eresourceErrorCount\u003c/code\u003e for the number of resources with errors, \u003ccode\u003ecreateTime\u003c/code\u003e, \u003ccode\u003elastUpdateTime\u003c/code\u003e, and \u003ccode\u003emetrics\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe possible states for migration subtasks include: \u003ccode\u003eSTATE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eACTIVE\u003c/code\u003e, \u003ccode\u003eRUNNING\u003c/code\u003e, \u003ccode\u003eSUCCEEDED\u003c/code\u003e, \u003ccode\u003eFAILED\u003c/code\u003e, \u003ccode\u003ePAUSED\u003c/code\u003e, and \u003ccode\u003ePENDING_DEPENDENCY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe methods available to manage subtasks include \u003ccode\u003eget\u003c/code\u003e to retrieve a subtask, and \u003ccode\u003elist\u003c/code\u003e to retrieve multiple subtasks.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.workflows.subtasks\n\n- [Resource: MigrationSubtask](#MigrationSubtask)\n - [JSON representation](#MigrationSubtask.SCHEMA_REPRESENTATION)\n- [State](#State)\n- [Methods](#METHODS_SUMMARY)\n\nResource: MigrationSubtask\n--------------------------\n\nA subtask for a migration which carries details about the configuration of the subtask. The content of the details should not matter to the end user, but is a contract between the subtask creator and subtask worker.\n\nState\n-----\n\nPossible states of a migration subtask."]]