public sealed class CreateMetadataImportRequest : IMessage<CreateMetadataImportRequest>, IEquatable<CreateMetadataImportRequest>, IDeepCloneable<CreateMetadataImportRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1beta API class CreateMetadataImportRequest.
Request message for
[DataprocMetastore.CreateMetadataImport][google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport].
public MetadataImport MetadataImport { get; set; }
Required. The metadata import to create. The name field is ignored. The
ID of the created metadata import must be provided in the request's
metadata_import_id field.
Required. The ID of the metadata import, which is used as the final
component of the metadata import's name.
This value must be between 1 and 64 characters long, begin with a letter,
end with a letter or number, and consist of alpha-numeric ASCII characters
or hyphens.
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\u003eCreateMetadataImportRequest\u003c/code\u003e class is part of the Dataproc Metastore v1beta API, used to create a metadata import via the \u003ccode\u003eDataprocMetastore.CreateMetadataImport\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class requires a \u003ccode\u003eMetadataImport\u003c/code\u003e object, a \u003ccode\u003eMetadataImportId\u003c/code\u003e, and a \u003ccode\u003eParent\u003c/code\u003e service resource name to create a metadata import.\u003c/p\u003e\n"],["\u003cp\u003eThe class also accepts an optional \u003ccode\u003eRequestId\u003c/code\u003e to ensure the server ignores duplicate requests within a 60-minute window.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateMetadataImportRequest\u003c/code\u003e has methods to set and get data, and includes both a constructor, as well as a constructor with a parameter for the \u003ccode\u003eCreateMetadataImportRequest\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class CreateMetadataImportRequest (2.0.0-beta11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateMetadataImportRequest)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.CreateMetadataImportRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.CreateMetadataImportRequest) \n\n public sealed class CreateMetadataImportRequest : IMessage\u003cCreateMetadataImportRequest\u003e, IEquatable\u003cCreateMetadataImportRequest\u003e, IDeepCloneable\u003cCreateMetadataImportRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1beta API class CreateMetadataImportRequest.\n\nRequest message for\n\\[DataprocMetastore.CreateMetadataImport\\]\\[google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateMetadataImportRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateMetadataImportRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateMetadataImportRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateMetadataImportRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateMetadataImportRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateMetadataImportRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateMetadataImportRequest), [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.V1Beta](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Beta.dll\n\nConstructors\n------------\n\n### CreateMetadataImportRequest()\n\n public CreateMetadataImportRequest()\n\n### CreateMetadataImportRequest(CreateMetadataImportRequest)\n\n public CreateMetadataImportRequest(CreateMetadataImportRequest other)\n\nProperties\n----------\n\n### MetadataImport\n\n public MetadataImport MetadataImport { get; set; }\n\nRequired. The metadata import to create. The `name` field is ignored. The\nID of the created metadata import must be provided in the request's\n`metadata_import_id` field.\n\n### MetadataImportId\n\n public string MetadataImportId { get; set; }\n\nRequired. The ID of the metadata import, which is used as the final\ncomponent of the metadata import's name.\n\nThis value must be between 1 and 64 characters long, begin with a letter,\nend with a letter or number, and consist of alpha-numeric ASCII characters\nor hyphens.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The relative resource name of the service in which to create a\nmetastore import, in the following form:\n\n`projects/{project_number}/locations/{location_id}/services/{service_id}`.\n\n### ParentAsServiceName\n\n public ServiceName ParentAsServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.ServiceName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.CreateMetadataImportRequest#Google_Cloud_Metastore_V1Beta_CreateMetadataImportRequest_Parent) resource name property.\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."]]