{"requestId": string,"databaseDumpType": enum (Type),// Union field destination can be only one of the following:"destinationGcsFolder": string// End of list of possible types for union field destination.}
字段
requestId
string
可选。请求 ID。您可以指定一个唯一的请求 ID,以允许服务器在请求完成后忽略该请求。在第一次请求后的至少 60 分钟内,服务器会忽略提供重复请求 ID 的后续请求。
例如,如果初始请求超时,紧随其后又发出了一个具有相同请求 ID 的请求,服务器会忽略第二个请求,以防止创建重复的提交。
请求 ID 必须是有效的 UUID。不支持全部由零组成的 UUID(即 00000000-0000-0000-0000-000000000000)。
[[["易于理解","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 service exports metadata from a specified metastore service, identified by its resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePOST\u003c/code\u003e request to \u003ccode\u003ehttps://metastore.googleapis.com/v1/{service}:exportMetadata\u003c/code\u003e is used to initiate the metadata export.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003erequestId\u003c/code\u003e and the database \u003ccode\u003edumpType\u003c/code\u003e, as well as a \u003ccode\u003edestinationGcsFolder\u003c/code\u003e, which is a Cloud Storage URI where the metadata will be exported.\u003c/p\u003e\n"],["\u003cp\u003eThe service requires \u003ccode\u003emetastore.services.export\u003c/code\u003e IAM permission and \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for proper authorization.\u003c/p\u003e\n"],["\u003cp\u003eIf the request is successful, the response will include an \u003ccode\u003eOperation\u003c/code\u003e object, as described in the documentation.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.services.exportMetadata\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nExports metadata from a service.\n\n### HTTP request\n\n`POST https://metastore.googleapis.com/v1/{service}:exportMetadata`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\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/)."]]