승인을 처리하려면 지정된 리소스 service에 대해 다음과 같은 IAM 권한이 필요합니다.
metastore.services.export
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
JSON 표현
{"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가 있는 다른 요청이 뒤따르면 서버는 중복 커밋이 생성되지 않도록 두 번째 요청을 무시합니다.
[[["이해하기 쉬움","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-03-04(UTC)"],[[["\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/)."]]