{"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 using a POST request to a defined endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a service parameter specifying the metastore service's resource name and the \u003ccode\u003emetastore.services.export\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body can include an optional request ID and database dump type, along with a required destination, which is a GCS folder where metadata will be exported.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an Operation instance in the response body, indicating the status of the metadata export.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for access.\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/v1alpha/{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/)."]]