public sealed class CreateBackupPolicyRequest : IMessage<CreateBackupPolicyRequest>, IEquatable<CreateBackupPolicyRequest>, IDeepCloneable<CreateBackupPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the NetApp v1 API class CreateBackupPolicyRequest.
Required. The ID to use for the backup policy.
The ID must be unique within the specified location.
Must contain only letters, numbers and hyphen, with the first
character a letter, the last a letter or a
number, and a 63 character maximum.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eCreateBackupPolicyRequest\u003c/code\u003e is 1.8.0, as part of the NetApp v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateBackupPolicyRequest\u003c/code\u003e is used to create a backup policy within the specified location.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eCreateBackupPolicyRequest\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA unique backup policy ID is required, with specific formatting constraints like only using letters, numbers, and hyphens and should be a max of 63 characters long.\u003c/p\u003e\n"],["\u003cp\u003eThe location where the backup policies are created is specified in the \u003ccode\u003eParent\u003c/code\u003e property, formatted as \u003ccode\u003eprojects/{project_id}/locations/{location}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# NetApp v1 API - Class CreateBackupPolicyRequest (1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.9.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.8.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.7.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.6.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.5.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.4.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.3.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.2.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.1.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.0.0/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest) \n\n public sealed class CreateBackupPolicyRequest : IMessage\u003cCreateBackupPolicyRequest\u003e, IEquatable\u003cCreateBackupPolicyRequest\u003e, IDeepCloneable\u003cCreateBackupPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the NetApp v1 API class CreateBackupPolicyRequest.\n\nCreateBackupPolicyRequest creates a backupPolicy. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateBackupPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateBackupPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateBackupPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateBackupPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest), [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.NetApp.V1](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetApp.V1.dll\n\nConstructors\n------------\n\n### CreateBackupPolicyRequest()\n\n public CreateBackupPolicyRequest()\n\n### CreateBackupPolicyRequest(CreateBackupPolicyRequest)\n\n public CreateBackupPolicyRequest(CreateBackupPolicyRequest other)\n\nProperties\n----------\n\n### BackupPolicy\n\n public BackupPolicy BackupPolicy { get; set; }\n\nRequired. A backupPolicy resource\n\n### BackupPolicyId\n\n public string BackupPolicyId { get; set; }\n\nRequired. The ID to use for the backup policy.\nThe ID must be unique within the specified location.\nMust contain only letters, numbers and hyphen, with the first\ncharacter a letter, the last a letter or a\nnumber, and a 63 character maximum.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The location to create the backup policies of, in the format\n`projects/{project_id}/locations/{location}`\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.NetApp.V1/latest/Google.Cloud.NetApp.V1.CreateBackupPolicyRequest#Google_Cloud_NetApp_V1_CreateBackupPolicyRequest_Parent) resource name property."]]