{"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 facilitates the export of metadata from a specified metastore service using a POST HTTP request to a designated URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eservice\u003c/code\u003e path parameter is required, representing the relative resource name of the metastore service and necessitating the \u003ccode\u003emetastore.services.export\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires the specification of a destination, which is a Cloud Storage URI, to indicate where the metadata should be exported.\u003c/p\u003e\n"],["\u003cp\u003eThe request body allows for optional parameters such as \u003ccode\u003erequestId\u003c/code\u003e, which is a unique identifier to prevent duplicate requests, and \u003ccode\u003edatabaseDumpType\u003c/code\u003e to specify the type of database dump.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the service returns an \u003ccode\u003eOperation\u003c/code\u003e instance within the response body, with authorization requiring the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\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/v1beta/{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/)."]]