public sealed class ExportMetadataRequest : IMessage<ExportMetadataRequest>, IEquatable<ExportMetadataRequest>, IDeepCloneable<ExportMetadataRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1alpha API class ExportMetadataRequest.
Request message for
[DataprocMetastore.ExportMetadata][google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata].
A Cloud Storage URI of a folder, in the format
gs://<bucket_name>/<path_inside_bucket>. A sub-folder
<export_folder> containing exported files will be created below it.
Optional. A request ID. Specify a unique request ID to allow the server to
ignore the request if it has completed. The server will ignore subsequent
requests that provide a duplicate request ID for at least 60 minutes after
the first request.
For example, if an initial request times out, followed by another request
with the same request ID, the server ignores the second request to prevent
the creation of duplicate commitments.
The request ID must be a valid
UUID.
A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eExportMetadataRequest\u003c/code\u003e class is used to define a request for exporting metadata in the Dataproc Metastore v1alpha API, with the latest version being 2.0.0-alpha11.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for deep cloning and equality comparisons.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying the type of database dump via the \u003ccode\u003eDatabaseDumpType\u003c/code\u003e property, with \u003ccode\u003eMYSQL\u003c/code\u003e being the default if left unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDestinationGcsFolder\u003c/code\u003e property is used to set the Cloud Storage URI where exported files will be stored, and the \u003ccode\u003eService\u003c/code\u003e property identifies the metastore service for the export operation.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eRequestId\u003c/code\u003e property can be specified to prevent duplicate requests, and it supports a version of \u003ccode\u003eService\u003c/code\u003e property as a typed \u003ccode\u003eServiceName\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1alpha API - Class ExportMetadataRequest (2.0.0-alpha11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ExportMetadataRequest)\n- [2.0.0-alpha10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/2.0.0-alpha10/Google.Cloud.Metastore.V1Alpha.ExportMetadataRequest)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/1.0.0-alpha04/Google.Cloud.Metastore.V1Alpha.ExportMetadataRequest) \n\n public sealed class ExportMetadataRequest : IMessage\u003cExportMetadataRequest\u003e, IEquatable\u003cExportMetadataRequest\u003e, IDeepCloneable\u003cExportMetadataRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1alpha API class ExportMetadataRequest.\n\nRequest message for\n\\[DataprocMetastore.ExportMetadata\\]\\[google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ExportMetadataRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ExportMetadataRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ExportMetadataRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExportMetadataRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ExportMetadataRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ExportMetadataRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ExportMetadataRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Metastore.V1Alpha](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Alpha.dll\n\nConstructors\n------------\n\n### ExportMetadataRequest()\n\n public ExportMetadataRequest()\n\n### ExportMetadataRequest(ExportMetadataRequest)\n\n public ExportMetadataRequest(ExportMetadataRequest other)\n\nProperties\n----------\n\n### DatabaseDumpType\n\n public DatabaseDumpSpec.Types.Type DatabaseDumpType { get; set; }\n\nOptional. The type of the database dump. If unspecified, defaults to\n`MYSQL`.\n\n### DestinationCase\n\n public ExportMetadataRequest.DestinationOneofCase DestinationCase { get; }\n\n### DestinationGcsFolder\n\n public string DestinationGcsFolder { get; set; }\n\nA Cloud Storage URI of a folder, in the format\n`gs://\u003cbucket_name\u003e/\u003cpath_inside_bucket\u003e`. A sub-folder\n`\u003cexport_folder\u003e` containing exported files will be created below it.\n\n### HasDestinationGcsFolder\n\n public bool HasDestinationGcsFolder { get; }\n\nGets whether the \"destination_gcs_folder\" field is set\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. A request ID. Specify a unique request ID to allow the server to\nignore the request if it has completed. The server will ignore subsequent\nrequests that provide a duplicate request ID for at least 60 minutes after\nthe first request.\n\nFor example, if an initial request times out, followed by another request\nwith the same request ID, the server ignores the second request to prevent\nthe creation of duplicate commitments.\n\nThe request ID must be a valid\n[UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).\nA zero UUID (00000000-0000-0000-0000-000000000000) is not supported.\n\n### Service\n\n public string Service { get; set; }\n\nRequired. The relative resource name of the metastore service to run\nexport, in the following form:\n\n`projects/{project_id}/locations/{location_id}/services/{service_id}`.\n\n### ServiceAsServiceName\n\n public ServiceName ServiceAsServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ServiceName)-typed view over the [Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ExportMetadataRequest#Google_Cloud_Metastore_V1Alpha_ExportMetadataRequest_Service) resource name property."]]