public sealed class RestoreServiceRequest : IMessage<RestoreServiceRequest>, IEquatable<RestoreServiceRequest>, IDeepCloneable<RestoreServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1alpha API class RestoreServiceRequest.
Request message for [DataprocMetastore.Restore][].
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\u003e\u003ccode\u003eRestoreServiceRequest\u003c/code\u003e is a class within the Dataproc Metastore v1alpha API, specifically used for handling restore requests.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestoreServiceRequest\u003c/code\u003e class has properties like \u003ccode\u003eBackup\u003c/code\u003e, \u003ccode\u003eBackupAsBackupName\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, \u003ccode\u003eRestoreType\u003c/code\u003e, \u003ccode\u003eService\u003c/code\u003e, and \u003ccode\u003eServiceAsServiceName\u003c/code\u003e to configure a restore operation, and can be instatiated with a constructor.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eRestoreServiceRequest\u003c/code\u003e is 2.0.0-alpha11, and there are older versions documented as well, such as 2.0.0-alpha10 and 1.0.0-alpha04.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the class is \u003ccode\u003eGoogle.Cloud.Metastore.V1Alpha\u003c/code\u003e, and it is contained in the assembly \u003ccode\u003eGoogle.Cloud.Metastore.V1Alpha.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1alpha API - Class RestoreServiceRequest (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.RestoreServiceRequest)\n- [2.0.0-alpha10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/2.0.0-alpha10/Google.Cloud.Metastore.V1Alpha.RestoreServiceRequest)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/1.0.0-alpha04/Google.Cloud.Metastore.V1Alpha.RestoreServiceRequest) \n\n public sealed class RestoreServiceRequest : IMessage\u003cRestoreServiceRequest\u003e, IEquatable\u003cRestoreServiceRequest\u003e, IDeepCloneable\u003cRestoreServiceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1alpha API class RestoreServiceRequest.\n\nRequest message for \\[DataprocMetastore.Restore\\]\\[\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RestoreServiceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RestoreServiceRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.RestoreServiceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RestoreServiceRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.RestoreServiceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RestoreServiceRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.RestoreServiceRequest), [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### RestoreServiceRequest()\n\n public RestoreServiceRequest()\n\n### RestoreServiceRequest(RestoreServiceRequest)\n\n public RestoreServiceRequest(RestoreServiceRequest other)\n\nProperties\n----------\n\n### Backup\n\n public string Backup { get; set; }\n\nRequired. The relative resource name of the metastore service backup to\nrestore from, in the following form:\n\n`projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.\n\n### BackupAsBackupName\n\n public BackupName BackupAsBackupName { get; set; }\n\n[BackupName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.BackupName)-typed view over the [Backup](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.RestoreServiceRequest#Google_Cloud_Metastore_V1Alpha_RestoreServiceRequest_Backup) 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.\n\n### RestoreType\n\n public Restore.Types.RestoreType RestoreType { get; set; }\n\nOptional. The type of restore. If unspecified, defaults to `METADATA_ONLY`.\n\n### Service\n\n public string Service { get; set; }\n\nRequired. The relative resource name of the metastore service to run\nrestore, 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.RestoreServiceRequest#Google_Cloud_Metastore_V1Alpha_RestoreServiceRequest_Service) resource name property."]]