public sealed class RestoreClusterRequest : IMessage<RestoreClusterRequest>, IEquatable<RestoreClusterRequest>, IDeepCloneable<RestoreClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta API class RestoreClusterRequest.
Message for restoring a Cluster from a backup or another cluster at a given
point in time.
NEXT_ID: 11
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server ignores the
request if it has already been completed. The server guarantees that for at
least 60 minutes since the first request.
For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if the original operation with the same request ID
was received, and if so, ignores the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Optional. If set, performs request validation, for example, permission
checks and any other type of validation, but does not actually execute the
create request.
[[["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\u003eThis document provides reference documentation for the \u003ccode\u003eRestoreClusterRequest\u003c/code\u003e class within the Google Cloud AlloyDB v1beta API, version 1.0.0-beta09.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestoreClusterRequest\u003c/code\u003e class is used to initiate the restoration of an AlloyDB cluster from a backup or another cluster at a specific point in time.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eRestoreClusterRequest\u003c/code\u003e class include \u003ccode\u003eBackupSource\u003c/code\u003e, \u003ccode\u003eCluster\u003c/code\u003e, \u003ccode\u003eClusterId\u003c/code\u003e, \u003ccode\u003eContinuousBackupSource\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, which define the source and target of the restore operation.\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 has inherited members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the \u003ccode\u003eobject\u003c/code\u003e base class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestoreClusterRequest\u003c/code\u003e class supports optional parameters such as \u003ccode\u003eRequestId\u003c/code\u003e for idempotency and \u003ccode\u003eValidateOnly\u003c/code\u003e for request validation without execution.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class RestoreClusterRequest (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.RestoreClusterRequest)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.RestoreClusterRequest) \n\n public sealed class RestoreClusterRequest : IMessage\u003cRestoreClusterRequest\u003e, IEquatable\u003cRestoreClusterRequest\u003e, IDeepCloneable\u003cRestoreClusterRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class RestoreClusterRequest.\n\nMessage for restoring a Cluster from a backup or another cluster at a given\npoint in time.\nNEXT_ID: 11 \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RestoreClusterRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RestoreClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.RestoreClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RestoreClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.RestoreClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RestoreClusterRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.RestoreClusterRequest), [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.AlloyDb.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### RestoreClusterRequest()\n\n public RestoreClusterRequest()\n\n### RestoreClusterRequest(RestoreClusterRequest)\n\n public RestoreClusterRequest(RestoreClusterRequest other)\n\nProperties\n----------\n\n### BackupSource\n\n public BackupSource BackupSource { get; set; }\n\nBackup source.\n\n### Cluster\n\n public Cluster Cluster { get; set; }\n\nRequired. The resource being created\n\n### ClusterId\n\n public string ClusterId { get; set; }\n\nRequired. ID of the requesting object.\n\n### ContinuousBackupSource\n\n public ContinuousBackupSource ContinuousBackupSource { get; set; }\n\nContinuousBackup source. Continuous backup needs to be enabled in the\nsource cluster for this operation to succeed.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The name of the parent resource. For the required format, see the\ncomment on the Cluster.name field.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.RestoreClusterRequest#Google_Cloud_AlloyDb_V1Beta_RestoreClusterRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server ignores the\nrequest if it has already been completed. The server guarantees that for at\nleast 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check if the original operation with the same request ID\nwas received, and if so, ignores the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### SourceCase\n\n public RestoreClusterRequest.SourceOneofCase SourceCase { get; }\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. If set, performs request validation, for example, permission\nchecks and any other type of validation, but does not actually execute the\ncreate request."]]