public sealed class RestoreConfig.Types.VolumeDataRestorePolicyBinding : IMessage<RestoreConfig.Types.VolumeDataRestorePolicyBinding>, IEquatable<RestoreConfig.Types.VolumeDataRestorePolicyBinding>, IDeepCloneable<RestoreConfig.Types.VolumeDataRestorePolicyBinding>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup for GKE v1 API class RestoreConfig.Types.VolumeDataRestorePolicyBinding.
Binds resources in the scope to the given VolumeDataRestorePolicy.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eRestoreConfig.Types.VolumeDataRestorePolicyBinding\u003c/code\u003e class within the Backup for GKE v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVolumeDataRestorePolicyBinding\u003c/code\u003e class is used to bind resources to a specified \u003ccode\u003eVolumeDataRestorePolicy\u003c/code\u003e during the restore process.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers constructors for creating new instances and copying existing ones, along with properties like \u003ccode\u003ePolicy\u003c/code\u003e, \u003ccode\u003eVolumeType\u003c/code\u003e, and \u003ccode\u003eScopeCase\u003c/code\u003e to define the restore behavior and scope, and an accessor to check if \u003ccode\u003eVolumeType\u003c/code\u003e is set.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation is available in various versions, ranging from 1.0.0-beta01 up to the latest version 2.6.0.\u003c/p\u003e\n"]]],[],null,["# Backup for GKE v1 API - Class RestoreConfig.Types.VolumeDataRestorePolicyBinding (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.7.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.6.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.5.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.4.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.3.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.2.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.1.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.0.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/1.0.0-beta01/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding) \n\n public sealed class RestoreConfig.Types.VolumeDataRestorePolicyBinding : IMessage\u003cRestoreConfig.Types.VolumeDataRestorePolicyBinding\u003e, IEquatable\u003cRestoreConfig.Types.VolumeDataRestorePolicyBinding\u003e, IDeepCloneable\u003cRestoreConfig.Types.VolumeDataRestorePolicyBinding\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup for GKE v1 API class RestoreConfig.Types.VolumeDataRestorePolicyBinding.\n\nBinds resources in the scope to the given VolumeDataRestorePolicy. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RestoreConfig.Types.VolumeDataRestorePolicyBinding \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RestoreConfig](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig)[Types](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types)[VolumeDataRestorePolicyBinding](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RestoreConfig](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig)[Types](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types)[VolumeDataRestorePolicyBinding](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RestoreConfig](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig)[Types](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types)[VolumeDataRestorePolicyBinding](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.VolumeDataRestorePolicyBinding), [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.GkeBackup.V1](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeBackup.V1.dll\n\nConstructors\n------------\n\n### VolumeDataRestorePolicyBinding()\n\n public VolumeDataRestorePolicyBinding()\n\n### VolumeDataRestorePolicyBinding(VolumeDataRestorePolicyBinding)\n\n public VolumeDataRestorePolicyBinding(RestoreConfig.Types.VolumeDataRestorePolicyBinding other)\n\nProperties\n----------\n\n### HasVolumeType\n\n public bool HasVolumeType { get; }\n\nGets whether the \"volume_type\" field is set\n\n### Policy\n\n public RestoreConfig.Types.VolumeDataRestorePolicy Policy { get; set; }\n\nRequired. The VolumeDataRestorePolicy to apply when restoring volumes in\nscope.\n\n### ScopeCase\n\n public RestoreConfig.Types.VolumeDataRestorePolicyBinding.ScopeOneofCase ScopeCase { get; }\n\n### VolumeType\n\n public VolumeTypeEnum.Types.VolumeType VolumeType { get; set; }\n\nThe volume type, as determined by the PVC's bound PV,\nto apply the policy to."]]