[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-04。"],[[["\u003cp\u003eThis page documents the process for canceling an ongoing Managed Migration process within the metastore.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to cancel a migration is a POST request directed to a specific service endpoint: \u003ccode\u003ehttps://metastore.googleapis.com/v1/{service}:cancelMigration\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eservice\u003c/code\u003e path parameter is a mandatory field that specifies the metastore service resource, using a format of \u003ccode\u003eprojects/{projectId}/locations/{locationId}/services/{serviceId}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty to successfully cancel a migration.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful cancellation results in a response body containing an \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.services.cancelMigration\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nCancels the ongoing Managed Migration process.\n\n### HTTP request\n\n`POST https://metastore.googleapis.com/v1/{service}:cancelMigration`\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/dataproc-metastore/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]