{"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"]],["上次更新時間:2025-05-13 (世界標準時間)。"],[[["\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/)."]]